1 #ifndef DALITZ_BW_BOX_SET_HH 2 #define DALITZ_BW_BOX_SET_HH 76 , TRandom* r=gRandom);
111 void print(std::ostream& os)
const;
114 bool setRnd(TRandom* rnd=gRandom);
void makeVolumeProbIntervals()
std::vector< double > _volumeProbs
bool am_I_generating_what_I_think_I_am_generating(int Nevents=1000000)
double calc_pick_ps_prob() const
double fullPdf(DalitzEvent &evt)
virtual MINT::counted_ptr< DalitzEvent > makeEventForOwner()
void setPhaseSpaceFrac(double ps)
DalitzEventPtrList _eventPtrList
double genValue(const DalitzEvent &evt) const
void set_psbox_height_and_weight()
virtual MINT::counted_ptr< DalitzEvent > makeWeightedEventForOwner()
virtual MINT::counted_ptr< IDalitzEvent > newEvent()
double genValuePs(const DalitzEvent &evt) const
double _phaseSpaceIntegral
double findMaxInList(double &sampleMax)
double _maxWeightInSample
bool compareGenerationMethodsForFullPDF(int Nevents=1000000)
void setUnWeightPs(bool doSo=true)
virtual MINT::counted_ptr< DalitzEvent > phaseSpaceEvent()
bool setRnd(TRandom *rnd=gRandom)
std::ostream & operator<<(std::ostream &os, const DalitzBWBoxSet &box)
virtual MINT::counted_ptr< IDalitzEvent > newUnweightedEvent()
DalitzBWBoxSet(MINT::IReturnRealForEvent< IDalitzEvent > *amps=0, TRandom *r=gRandom)
DalitzPhaseSpaceBox _psbox
MINT::counted_ptr< DalitzEvent > popEventFromList()
bool checkIntegration() const
static double __phaseSpaceFracDefaultValue
double genValueWithLoop(DalitzEvent &evt) const
virtual ~DalitzBWBoxSet()
virtual bool exhausted() const
virtual MINT::counted_ptr< DalitzEvent > tryEventForOwner()
int justThrowAwayData(double maxValue, MINT::IReturnRealForEvent< IDalitzEvent > *amps)
double _maxWeightEstimate
double phaseSpaceFrac() const
virtual MINT::counted_ptr< DalitzEvent > makeWeightedApproxEventForOwner()
void print(std::ostream &os) const
double phaseSpaceIntegral() const
double genValueNoPs(const DalitzEvent &evt) const
MINT::IReturnRealForEvent< IDalitzEvent > * _ampSum
void add(DalitzBWBox &box)