6 #include <initializer_list> 22 const std::set<std::string> &file_names,
25 bool is_signal =
false,
26 bool count_zeros =
true,
28 Process(
const std::string &name,
29 std::initializer_list<std::string> file_names,
32 bool is_signal =
false,
33 bool count_zeros =
true,
36 const std::string &
Name()
const;
39 const class Cut &
Cut()
const;
42 const bool &
IsData()
const;
51 const std::set<std::string> &
FileNames()
const;
70 mutable std::shared_ptr<TChain>
chain_;
std::shared_ptr< TChain > chain_
bool HasSystematic(const Systematic &systematic) const
const std::string & Name() const
const SystCollection & Systematics() const
std::set< std::string > file_names_
const std::set< std::string > & FileNames() const
const bool & IsData() const
Process & AddSystematic(const Systematic &systematic)
const bool & CountZeros() const
GammaParams GetYield(const class Cut &cut=::Cut("1")) const
bool operator<(const Process &p) const
Process & RemoveSystematics()
Process & SetSystematicStrength(const std::string &name, double strength)
bool operator==(const Process &p) const
const class Cut & Cut() const
const bool & IsSignal() const
Process & RemoveSystematic(const Systematic &systematic)
std::set< Systematic > SystCollection
std::ostream & operator<<(std::ostream &stream, const Process &proc)
SystCollection systematics_
Process & AddSystematics(const SystCollection &systematic)