12 , _weightMC_Squared(0.0)
19 , _weightMC_Squared(0.0)
28 , _weightMC_Squared(0.0)
32 , _nData(other._nData)
34 , _nWeightedMC(other._nWeightedMC)
35 , _weightMC_Squared(other._weightMC_Squared)
40 if(dbThis) cout <<
"box: setting limits to phase space area" << endl;
42 if(dbThis) cout <<
"result: " <<
_area << endl;
50 for(
unsigned int i=0; i < va.
size(); i++){
75 if(0 == evt)
return false;
76 if(dbThis) cout <<
"Chi2Box::addData for pointers called" << endl;
79 cout <<
"found data event inside area. This is the event:" << endl;
94 if(dbThis) cout <<
"Chi2Box::addMC for pointers called" << endl;
95 if(0 == evt)
return false;
97 cout <<
"...area inside for this event:" << endl;
105 if(dbThis) cout <<
"Chi2Box::addMC returning; have nMC = "<<
_nMC << endl;
143 os <<
"box: with area " <<
_area;
std::vector< DalitzArea > split_in_all_dimensions(int n=2) const
double weightedMC() const
void enclosePhaseSpace(double safetyFactor=1.2)
void setAllLimitsToPhaseSpaceArea(double safetyFactor=1.0)
bool isInside(const IDalitzEvent &evt) const
virtual void print(std::ostream &os=std::cout) const =0
bool addData(const IDalitzEvent &evt)
void print(std::ostream &os=std::cout) const
bool addMC(const IDalitzEvent &evt, double weight)
double rmsMC(int Ntotal) const
double weightedMC2() const
unsigned int size() const
MINT::PolymorphVector< Chi2Box > split(int n=2)
std::ostream & operator<<(std::ostream &os, const Chi2Box &box)