|
ra4_stats
0341147a0dc35f80f4e12c6003afb76a38e2ed6e
|
#include <bin.hpp>
Public Member Functions | |
| Bin (const std::string &name, const class Cut &cut, bool is_blind=true, const SystCollection &systematics=SystCollection()) | |
| const std::string & | Name () const |
| Bin & | Name (const std::string &name) |
| const class Cut & | Cut () const |
| class Cut & | Cut () |
| bool | Blind () const |
| bool & | Blind () |
| const SystCollection & | Systematics () const |
| Bin & | Systematics (const SystCollection &systematics) |
| Bin & | AddSystematic (const Systematic &systematic) |
| Bin & | AddSystematics (const SystCollection &systematic) |
| bool | HasSystematic (const Systematic &systematic) const |
| Bin & | RemoveSystematic (const Systematic &systematic) |
| Bin & | RemoveSystematics () |
| Bin & | SetSystematicStrength (const std::string &name, double strength) |
| bool | operator< (const Bin &b) const |
| bool | operator== (const Bin &b) const |
Private Types | |
| typedef std::set< Systematic > | SystCollection |
Private Attributes | |
| class Cut | cut_ |
| std::string | name_ |
| SystCollection | systematics_ |
| bool | is_blind_ |
|
private |
| Bin::Bin | ( | const std::string & | name, |
| const class Cut & | cut, | ||
| bool | is_blind = true, |
||
| const SystCollection & | systematics = SystCollection() |
||
| ) |
Definition at line 10 of file bin.cpp.
References name_, and ReplaceAll().
| Bin & Bin::AddSystematic | ( | const Systematic & | systematic | ) |
Definition at line 53 of file bin.cpp.
References HasSystematic(), and systematics_.
Referenced by AddSystematics().
| Bin & Bin::AddSystematics | ( | const SystCollection & | systematic | ) |
Definition at line 60 of file bin.cpp.
References AddSystematic().
| bool Bin::Blind | ( | ) | const |
Definition at line 36 of file bin.cpp.
References is_blind_.
Referenced by WorkspaceGenerator::AddDileptonSystematic(), operator<<(), and WorkspaceGenerator::PrintComparison().
| const class Cut & Bin::Cut | ( | ) | const |
Definition at line 28 of file bin.cpp.
References cut_.
Referenced by YieldManager::ComputeYield(), WorkspaceGenerator::MakeDileptonBin(), WorkspaceGenerator::NeedsDileptonBin(), and operator<<().
| bool Bin::HasSystematic | ( | const Systematic & | systematic | ) | const |
| const string & Bin::Name | ( | ) | const |
Definition at line 19 of file bin.cpp.
References name_.
Referenced by WorkspaceGenerator::AddMCKappa(), WorkspaceGenerator::AddMCPrediction(), WorkspaceGenerator::AddRawBackgroundPredictions(), YieldManager::ComputeYield(), WorkspaceGenerator::MakeDileptonBin(), operator<<(), and WorkspaceGenerator::PrintComparison().
| Bin & Bin::Name | ( | const std::string & | name | ) |
Definition at line 23 of file bin.cpp.
References scan_aggregate::name, and name_.
| bool Bin::operator< | ( | const Bin & | b | ) | const |
Definition at line 102 of file bin.cpp.
References cut_, is_blind_, and systematics_.
| bool Bin::operator== | ( | const Bin & | b | ) | const |
Definition at line 106 of file bin.cpp.
References cut_, is_blind_, and systematics_.
| Bin & Bin::RemoveSystematic | ( | const Systematic & | systematic | ) |
Definition at line 71 of file bin.cpp.
References anonymous_namespace{test_agnostic.cxx}::e, ERROR, Systematic::Name(), name_, and systematics_.
| Bin & Bin::RemoveSystematics | ( | ) |
Definition at line 80 of file bin.cpp.
References systematics_.
| Bin & Bin::SetSystematicStrength | ( | const std::string & | name, |
| double | strength | ||
| ) |
Definition at line 85 of file bin.cpp.
References ERROR, scan_aggregate::name, name_, Systematic::Strength(), and systematics_.
| const Bin::SystCollection & Bin::Systematics | ( | ) | const |
Definition at line 44 of file bin.cpp.
References systematics_.
| Bin & Bin::Systematics | ( | const SystCollection & | systematics | ) |
Definition at line 48 of file bin.cpp.
References systematics_.
|
private |
Definition at line 41 of file bin.hpp.
Referenced by Cut(), operator<(), and operator==().
|
private |
Definition at line 44 of file bin.hpp.
Referenced by Blind(), operator<(), and operator==().
|
private |
Definition at line 42 of file bin.hpp.
Referenced by Bin(), Name(), RemoveSystematic(), and SetSystematicStrength().
|
private |
Definition at line 43 of file bin.hpp.
Referenced by AddSystematic(), HasSystematic(), operator<(), operator==(), RemoveSystematic(), RemoveSystematics(), SetSystematicStrength(), and Systematics().
1.8.11