40 cout <<
"EstimateSummary (name = " <<
name <<
" empty = " <<
name.empty() <<
")"<< endl;
41 cout <<
" TObj name = " << this->
GetName() << endl;
42 cout <<
" Channel = " <<
channel << endl;
43 cout <<
" NormName = " <<
normName << endl;
44 cout <<
" Nominal ptr = " <<
nominal << endl;
49 cout <<
" Number of overall systematics = " <<
overallSyst.size() << endl;
64 cout <<
"names don't match : " <<
name <<
" vs " << other.
name << endl;
68 cout <<
"channel names don't match : " <<
channel <<
" vs " << other.
channel << endl;
72 cout <<
"norm names don't match : " <<
normName <<
" vs " << other.
normName << endl;
81 cout <<
"nominal histo don't match" << endl;
98 cout <<
"relStatError histo don't match" << endl;
113 cout <<
"contents of sys histo low " << *itr <<
" did not match" << endl;
116 cout <<
"contents of sys histo high " << *itr <<
" did not match" << endl;
121 cout <<
" this contains: " << *itr_this << endl;
124 cout <<
" other contains: " << *itr_other << endl;
135 for( map<
string, pair<double, double> >::const_iterator itr=
overallSyst.begin(); itr!=
overallSyst.end(); ++itr){
136 map<string, pair<double, double> >::const_iterator found=other.
overallSyst.find(itr->first);
138 cout <<
"mismatch in overallSyst, didn't find " << itr->first << endl;
141 if(! (itr->second.first==found->second.first && itr->second.second==found->second.second)){
142 cout <<
"mismatch in overall Syst value of " << itr->first << endl;
151 if (!one && !two)
return true;
152 if (!one)
return false;
153 if (!two)
return false;
TH1 is the base class of all histogram classes in ROOT.
virtual Int_t GetNbinsX() const
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual const char * GetName() const
Returns name of object.
virtual const char * GetName() const
Returns name of object.
Namespace for the RooStats classes.
void Print(const char *opt=0) const
This method must be overridden when a class wants to print itself.
Double_t RelErrorThreshold
bool operator==(const EstimateSummary &other) const
void AddSyst(const std::string &sname, TH1 *low, TH1 *high)
std::vector< std::string > systSourceForHist
std::map< std::string, std::pair< double, double > > overallSyst
ConstraintType StatConstraintType
std::string shapeFactorName
std::vector< TH1 * > lowHists
virtual ~EstimateSummary()
std::vector< TH1 * > highHists
bool CompareHisto(const TH1 *one, const TH1 *two) const