45 , _area(pat, pdf, rnd)
59 , _area(pat, limits, rnd)
74 , _height(other._height)
80 if(0 ==
_amps)
return false;
109 cout <<
" DalitzBWBox::volume() " <<
name() <<
": " 118 cout <<
"DalitzBWBox::genValue called " << endl;
123 cout <<
"DalitzBWBox::genValue returning " 126 << returnVal << endl;
144 int maxTries = 10000000;
145 for(
int i=0; i< maxTries; i++){
147 if(dbThis && 0 != evt) cout <<
" DalitzBWBox::makeEventForOwner() got event " << evt << endl;
149 if(dbThis) cout <<
"DalitzBWBox::makeEventForOwner() - made event for value: " 155 cout <<
"WARINING DalitzBWBox::makeEventForOwner() - no success after " << maxTries
156 <<
" tries. Returning 0" 166 if(dbThis && 0 != evt) {
167 cout <<
" DalitzBWBox::tryNewEvent() got event with weight " 179 os <<
"DalitzBWBox: " <<
name()
180 <<
"\n area " <<
area();
bool setRnd(TRandom *rnd=gRandom)
const std::string & name() const
MINT::IReturnRealForEvent< IDalitzEvent > * _amps
bool insideArea(const DalitzEvent &evt) const
void print(std::ostream &os=std::cout) const
bool setAmps(MINT::IReturnRealForEvent< IDalitzEvent > *amps)
ostream & operator<<(ostream &os, const DalitzBWBox &box)
bool isInside(const DalitzEvent &evt) const
virtual double getWeight() const
bool setRnd(TRandom *rnd=gRandom)
const MappedDalitzBWArea & area() const
double genValue(const DalitzEvent &evt) const
MINT::counted_ptr< DalitzEvent > makeEventForOwner()
MINT::counted_ptr< DalitzEvent > tryEventForOwner()
MINT::counted_ptr< DalitzEvent > tryNewEvent()
double genValue(const DalitzEvent &evt) const
DalitzBWBox(TRandom *rnd=gRandom)