LauEmbeddedData.cc
Go to the documentation of this file.
30 LauEmbeddedData::LauEmbeddedData(const TString& fileName, const TString& treeName, Bool_t allowReuseOfEvents) :
62 cerr<<"ERROR in LauEmbeddedData::getReweightedEvent : Invalid pointer to the data tree object."<<endl;
79 cerr<<"ERROR in LauEmbeddedData::getReweightedEvent : Have already used all events in the tree."<<endl;
131 cerr<<"WARNING in LauEmbeddedData::getReweightedEvent : Skipping event "<<iEvt<<", which isn't within the DP boundary."<<endl;
143 cerr<<"ERROR in LauEmbeddedData::getEmbeddedEvent : Invalid pointer to the data tree object."<<endl;
152 cerr<<"ERROR in LauEmbeddedData::getEmbeddedEvent : Have already used all events in the tree."<<endl;
169 cerr<<"WARNING in LauEmbeddedData::getEmbeddedEvent : Skipping event that isn't within the DP boundary."<<endl;
179 cerr<<"ERROR in LauEmbeddedData::getValue : Could not find branch \""<<name<<"\" in embedded event."<<endl;
190 for ( std::vector<TString>::const_iterator iter = names.begin(); iter != names.end(); ++iter ) {
194 cerr<<"WARNING in LauEmbeddedData::getValues : Could not find branch \""<<name<<"\" in embedded event."<<endl;
Class for defining the abstract interface for signal Dalitz plot dynamics. Definition: LauAbsDPDynamics.hh:39 LauKinematics * getKinematics() Retrieve the Dalitz plot kinematics. Definition: LauAbsDPDynamics.hh:308 TRandom * randomFun() Access the singleton random number generator with a particular seed. Definition: LauRandom.cc:20 ClassImp(LauAbsCoeffSet) Bool_t reuseEvents() const Boolean determining whether events should be reused. Definition: LauEmbeddedData.hh:111 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:31 Double_t getValue(const TString &name) const Get the value of a specified branch. Definition: LauEmbeddedData.cc:175 File containing declaration of LauKinematics class. File containing declaration of LauEmbeddedData class. void updateKinematics(Double_t m13Sq, Double_t m23Sq) Update all kinematic quantities based on the DP co-ordinates m13Sq and m23Sq. Definition: LauKinematics.cc:82 LauFitData getValues(const std::vector< TString > &names) const Get values of specified branches. Definition: LauEmbeddedData.cc:186 Class to store the data for embedding in toy experiments. Definition: LauEmbeddedData.hh:33 void getEmbeddedEvent(LauKinematics *kinematics) Retrieve an event from the data sample. Definition: LauEmbeddedData.cc:140 Bool_t withinDPLimits(Double_t m13Sq, Double_t m23Sq) const Check whether a given (m13Sq,m23Sq) point is within the kinematic limits of the Dalitz plot... Definition: LauKinematics.cc:348 virtual ToyMCStatus checkToyMC(Bool_t printErrorMessages=kTRUE, Bool_t printInfoMessages=kFALSE)=0 Check the status of the toy MC generation. const LauFitData & getData(UInt_t iEvt) const Retrieve the data for a given event. Definition: LauFitDataTree.cc:312 File containing LauRandom namespace. File containing declaration of LauAbsDPDynamics class. Definition: LauAbsDPDynamics.hh:66 UInt_t nUsedEvents() const Retrieve the number of events that have already been sampled. Definition: LauEmbeddedData.hh:69 Bool_t getReweightedEvent(LauAbsDPDynamics *dynamics) Retrieve an event from the data sample, applying an accept/reject based on the given DP model... Definition: LauEmbeddedData.cc:59 virtual Bool_t gotReweightedEvent()=0 Calculates whether an event with the current kinematics should be accepted in order to produce a dist... Generated by 1.8.5 |