ra4_stats  0341147a0dc35f80f4e12c6003afb76a38e2ed6e
yield_key.hpp
Go to the documentation of this file.
1 #ifndef H_YIELD_KEY
2 #define H_YIELD_KEY
3 
4 #include <tuple>
5 #include <ostream>
6 
7 #include "bin.hpp"
8 #include "process.hpp"
9 #include "cut.hpp"
10 
11 using YieldKey = std::tuple<Bin, Process, Cut>;
12 
13 const Bin & GetBin(const YieldKey &yk);
14 const Process & GetProcess(const YieldKey &yk);
15 const Cut & GetCut(const YieldKey &yk);
16 
17 std::ostream & operator<<(std::ostream &stream, const YieldKey &key);
18 
19 #endif
Definition: bin.hpp:12
Definition: cut.hpp:8
const Cut & GetCut(const YieldKey &yk)
Definition: yield_key.cpp:13
std::tuple< Bin, Process, Cut > YieldKey
Definition: yield_key.hpp:11
const Bin & GetBin(const YieldKey &yk)
Definition: yield_key.cpp:5
const Process & GetProcess(const YieldKey &yk)
Definition: yield_key.cpp:9
std::ostream & operator<<(std::ostream &stream, const YieldKey &key)
Definition: yield_key.cpp:17