1 #ifndef __TIMEDEPENDENTGENERATOROLD_H__ 2 #define __TIMEDEPENDENTGENERATOROLD_H__ 28 std::unique_ptr<FitAmpSum>
model ;
33 typedef std::map<int, GenList>
GenMap ;
34 typedef std::pair<std::complex<double>, std::complex<double> >
AmpPair ;
41 const double smeareddecaytime = -999.) ;
76 double qoverp,
double phi,
double tmax,
int ntimepoints,
77 const bool saveIntegEvents =
true,
double tmin = 0., TH1F* h_efficiency = NULL,
78 float resWidth = 0.05,
bool addExpEffects =
false) ;
TimeDependentGeneratorOld(const std::string &name, const bool overwrite, TRandom3 *rndm, double precision, const DalitzEventPattern &pattern, double width, double deltam, double deltagamma, double qoverp, double phi, double tmax, int ntimepoints, const bool saveIntegEvents=true, double tmin=0., TH1F *h_efficiency=NULL, float resWidth=0.05, bool addExpEffects=false)
const DalitzEventPattern m_cppattern
void setDecayTime(double)
MINT::counted_ptr< IDalitzEvent > generate_dalitz_event(const int tag, const double decaytime) const
std::unique_ptr< FitAmpSum > model
double getSmearedDecayTime() const
std::map< int, GenList > GenMap
const DalitzEventPattern m_pattern
static std::map< std::string, unsigned > infoNames
std::list< GenTimePoint > GenList
GenTimePoint(const double _decaytime, FitAmpSum *_model, const double _integral, SignalGenerator *_generator)
void setSmearedDecayTime(double)
std::pair< std::complex< double >, std::complex< double > > AmpPair
AmpPair amplitude_coefficients(const int tag, const double decaytime)
std::map< int, SplineGenerator > m_timegenerators
double generate_decay_time(const int tag) const
const double m_deltagamma
GenTimeEvent(const IDalitzEvent &, const int, const double, const double smeareddecaytime=-999.)
const std::map< int, SplineGenerator > time_generators() const
double getDecayTime() const
static DalitzEventPattern anti(DalitzEventPattern pat)
std::unique_ptr< SignalGenerator > generator
static std::map< std::string, unsigned > makeInfoNames()
MINT::counted_ptr< IDalitzEvent > generate_event() const