MINT2
Public Types | Public Member Functions | Static Public Attributes | Static Private Member Functions | List of all members
TimeDependentGeneratorOld::GenTimeEvent Class Reference

#include <TimeDependentGeneratorOld.h>

Inheritance diagram for TimeDependentGeneratorOld::GenTimeEvent:
DalitzEvent IDalitzEvent MINT::IWeightedEvent

Public Types

enum  InfoIndex { ITAG = 0, IDECAYTIME, ISMEAREDDECAYTIME }
 

Public Member Functions

 GenTimeEvent (const IDalitzEvent &, const int, const double, const double smeareddecaytime=-999.)
 
 GenTimeEvent (const IDalitzEvent &)
 
int getTag () const
 
void setTag (int)
 
double getDecayTime () const
 
void setDecayTime (double)
 
double getSmearedDecayTime () const
 
void setSmearedDecayTime (double)
 
- Public Member Functions inherited from DalitzEvent
 DalitzEvent ()
 
 DalitzEvent (const DalitzEventPattern &pat, const std::vector< TLorentzVector > &mumAndDgtr_p4)
 
 DalitzEvent (const DalitzEventPattern &pat, double t01_in, double s12_in, double s23_in, double s34_in, double t40_in)
 Constructor for a 4-body decay at a given point in phase space. More...
 
 DalitzEvent (const DalitzEventPattern &pat, const double s13, const double s23)
 Constructor for a 3-body decay at a given point in phase space. More...
 
 DalitzEvent (const DalitzEventPattern &pat, const std::vector< TVector3 > &mumAndDgtr_p3)
 
 DalitzEvent (const DalitzEventPattern &pat)
 
 DalitzEvent (const DalitzEventPattern &pat, TRandom *rnd)
 
 DalitzEvent (TNtupleD *ntp)
 
 DalitzEvent (const IDalitzEvent &ievt)
 
 DalitzEvent (const IDalitzEvent *ievt)
 
 DalitzEvent (const DalitzEvent *other)
 
 DalitzEvent (const DalitzEvent &other)
 
virtual ~DalitzEvent ()
 
IDalitzEventclone () const
 
virtual double getWeight () const
 
virtual void setWeight (double w)
 
virtual void setGeneratorPdfRelativeToPhaseSpace (double gpdf)
 
virtual double getGeneratorPdfRelativeToPhaseSpace () const
 
virtual const std::vector< double > & getVectorOfValues () const
 
virtual std::vector< double > & getVectorOfValues ()
 
virtual const std::vector< double > & getVectorOfWeights () const
 
virtual std::vector< double > & getVectorOfWeights ()
 
virtual void setValueInVector (unsigned int i, double value)
 
virtual void setWeightInVector (unsigned int i, double weight)
 
virtual double getValueFromVector (unsigned int i) const
 
virtual double getWeightFromVector (unsigned int i) const
 
virtual void P_conjugateYourself ()
 
virtual void C_conjugateYourself ()
 
virtual void CP_conjugateYourself ()
 
bool resetST ()
 
const PermutationcurrentPermutation () const
 
void setPermutationIndex (int i)
 
int numPermutations () const
 
int permutationIndex () const
 
bool fromTree (TTree *tree)
 
bool fromNtuple (TNtupleD *ntp)
 
bool fromParasTree (TTree *ntp)
 
bool fromParasTreeOld (TTree *ntp)
 
virtual void setAValue (double a)
 
virtual double getAValue () const
 
virtual const DalitzEventPatterneventPattern () const
 
virtual const TLorentzVector & p (unsigned int i) const
 
virtual TLorentzVector & p (unsigned int i)
 
virtual double s (unsigned int i, unsigned int j) const
 
virtual double t (unsigned int i, unsigned int j) const
 
virtual double sij (const std::vector< int > &indices) const
 
virtual double sij (const MINT::PolymorphVector< int > &indices) const
 
virtual void setMothers3Momentum (const TVector3 &mp3)
 
virtual double phaseSpace () const
 
virtual bool retrieveValue (int i, std::complex< double > &value, long int configNumber=1)
 
virtual void setValue (int i, const std::complex< double > &value, long int configNumber=1)
 
virtual bool retrieveValue (int i, double value, long int configNumber=1)
 
virtual void setValue (int i, double value, long int configNumber=1)
 
double sijMin (const std::vector< int > &indices) const
 
double sijMin (const MINT::PolymorphVector< int > &indices) const
 
double sijMax (const std::vector< int > &indices) const
 
double sijMax (const MINT::PolymorphVector< int > &indices) const
 
int nDgtr () const
 
double m (unsigned int i) const
 
double m2 (unsigned int i) const
 
TLorentzVector p_dgtr_sum () const
 
bool kinematicallyAllowed (double epsilon=1.e-9) const
 
void print (std::ostream &os=std::cout) const
 
void generateThisToPhaseSpace (TRandom *rnd=0)
 
void generateThisToPhaseSpace (double p_of_D, TRandom *rnd=0)
 
void generateThisToPhaseSpace (const TVector3 &pVec_of_D, TRandom *rnd=0)
 
std::string makeNtupleVarnames () const
 
bool fillNtupleVarArray (std::vector< Double_t > &array) const
 
unsigned int ntupleVarArraySize () const
 
Calculate4BodyProps makeCalculate4BodyProps () const
 
- Public Member Functions inherited from IDalitzEvent
virtual ~IDalitzEvent ()
 

Static Public Attributes

static std::map< std::string, unsigned > infoNames
 

Static Private Member Functions

static std::map< std::string, unsigned > makeInfoNames ()
 

Additional Inherited Members

- Static Public Member Functions inherited from DalitzEvent
static long int assignUniqueRememberNumber ()
 
static long int eventCounter ()
 
- Protected Member Functions inherited from DalitzEvent
const TLorentzVector & p_intern (unsigned int i) const
 
TLorentzVector & p_intern (unsigned int i)
 
double s_intern (unsigned int i, unsigned int j) const
 
double t_intern (unsigned int i, unsigned int j) const
 
double evalsij_intern (const std::vector< int > &intern_indices) const
 
double sijMap_intern (const std::vector< int > &intern_indices) const
 
double sijMap (const std::vector< int > &indices) const
 
bool shoutAndKill ()
 
double BDet () const
 
double Delta4 () const
 
double phaseSpace3 (double epsilon=1.e-9) const
 
double phaseSpace4 () const
 
bool setMomenta (const std::vector< TLorentzVector > &mumAndDgtr_p4)
 
bool setMomenta (const std::vector< TVector3 > &mumAndDgtr_p3)
 
void setP (unsigned int i, const TLorentzVector &p4)
 
- Protected Member Functions inherited from IDalitzEvent
 IDalitzEvent ()
 
- Static Protected Member Functions inherited from DalitzEvent
static std::string prtToNtpName (const std::string &s_in)
 
static std::string ntpToPrtName (const std::string &s_in)
 
static int singleParticleNtpArraySize ()
 
static bool parseNtpEntryName (const std::string &entry, std::string &part1, std::string &part2)
 
- Protected Attributes inherited from DalitzEvent
DalitzEventPattern _pat
 
std::vector< TLorentzVector > _p
 
double _rememberPhaseSpace
 
RememberAnythingFast< std::complex< double > > _rememberComplexFast
 
RememberAnythingFast< double > _rememberDoubleFast
 
double _aValue
 
double _weight
 
double _generatorPdfRelativeToPhaseSpace
 
std::vector< double > _vectorOfValues
 
std::vector< double > _vectorOfWeights
 
std::vector< std::vector< double > > _s
 
std::vector< std::vector< double > > _t
 
std::map< std::vector< int >, double > _sijMap
 
int _permutationIndex
 
Permutator _perm
 
- Static Protected Attributes inherited from DalitzEvent
static const char ntpNameChars [] = { '#', '~', '\0' }
 
static const char prtNameChars [] = { '+', '-', '\0' }
 
static long int _eventCounter =0
 
static long int _rememberVectorCounter =0
 

Detailed Description

Definition at line 38 of file TimeDependentGeneratorOld.h.

Member Enumeration Documentation

◆ InfoIndex

Constructor & Destructor Documentation

◆ GenTimeEvent() [1/2]

TimeDependentGeneratorOld::GenTimeEvent::GenTimeEvent ( const IDalitzEvent evt,
const int  tag,
const double  decaytime,
const double  smeareddecaytime = -999. 
)

Definition at line 37 of file TimeDependentGeneratorOld.cpp.

◆ GenTimeEvent() [2/2]

TimeDependentGeneratorOld::GenTimeEvent::GenTimeEvent ( const IDalitzEvent evt)

Definition at line 46 of file TimeDependentGeneratorOld.cpp.

46  :
47  DalitzEvent(evt)
48 {
49  while(getVectorOfValues().size() < 3)
50  getVectorOfValues().push_back(-999.) ;
51 }
virtual const std::vector< double > & getVectorOfValues() const

Member Function Documentation

◆ getDecayTime()

double TimeDependentGeneratorOld::GenTimeEvent::getDecayTime ( ) const

Definition at line 61 of file TimeDependentGeneratorOld.cpp.

61  {
63 }
virtual double getValueFromVector(unsigned int i) const

◆ getSmearedDecayTime()

double TimeDependentGeneratorOld::GenTimeEvent::getSmearedDecayTime ( ) const

Definition at line 69 of file TimeDependentGeneratorOld.cpp.

◆ getTag()

int TimeDependentGeneratorOld::GenTimeEvent::getTag ( ) const

Definition at line 53 of file TimeDependentGeneratorOld.cpp.

53  {
54  return getValueFromVector(ITAG) ;
55 }
virtual double getValueFromVector(unsigned int i) const

◆ makeInfoNames()

map< string, unsigned > TimeDependentGeneratorOld::GenTimeEvent::makeInfoNames ( )
staticprivate

◆ setDecayTime()

void TimeDependentGeneratorOld::GenTimeEvent::setDecayTime ( double  decaytime)

Definition at line 65 of file TimeDependentGeneratorOld.cpp.

65  {
66  setValueInVector(IDECAYTIME, decaytime) ;
67 }
virtual void setValueInVector(unsigned int i, double value)

◆ setSmearedDecayTime()

void TimeDependentGeneratorOld::GenTimeEvent::setSmearedDecayTime ( double  decaytime)

Definition at line 73 of file TimeDependentGeneratorOld.cpp.

73  {
75 }
virtual void setValueInVector(unsigned int i, double value)

◆ setTag()

void TimeDependentGeneratorOld::GenTimeEvent::setTag ( int  tag)

Definition at line 57 of file TimeDependentGeneratorOld.cpp.

57  {
58  setValueInVector(ITAG, tag) ;
59 }
virtual void setValueInVector(unsigned int i, double value)

Member Data Documentation

◆ infoNames

map< string, unsigned > TimeDependentGeneratorOld::GenTimeEvent::infoNames
static

The documentation for this class was generated from the following files: