ra4_stats  0341147a0dc35f80f4e12c6003afb76a38e2ed6e
block_yields.hpp
Go to the documentation of this file.
1 #ifndef H_BLOCK_YIELDS
2 #define H_BLOCK_YIELDS
3 
4 #include <set>
5 #include <vector>
6 #include <map>
7 
8 #include "block.hpp"
9 #include "process.hpp"
10 #include "cut.hpp"
11 #include "gamma_params.hpp"
12 #include "yield_key.hpp"
13 #include "yield_manager.hpp"
14 
16 public:
17  BlockYields(const Block &block,
18  const std::set<Process> &processes,
19  const Cut &cut,
20  const YieldManager &yields);
21 
22  std::vector<GammaParams> RowSums() const;
23  std::vector<GammaParams> ColSums() const;
24 
25  size_t MaxRow() const;
26  size_t MaxCol() const;
27 
28  GammaParams Total() const;
29 
30 private:
31  std::vector<std::vector<GammaParams> > gps_;
32 };
33 
34 #endif
size_t MaxRow() const
Definition: cut.hpp:8
std::vector< GammaParams > RowSums() const
size_t MaxCol() const
GammaParams Total() const
Definition: block.hpp:12
std::vector< std::vector< GammaParams > > gps_
BlockYields(const Block &block, const std::set< Process > &processes, const Cut &cut, const YieldManager &yields)
Definition: block_yields.cpp:9
std::vector< GammaParams > ColSums() const