|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
unigen event More...
#include <UEvent.h>
Public Member Functions | |
| UEvent () | |
| default constructor | |
| UEvent (const UEvent &right) | |
| copy constructor | |
| UEvent | operator= (const UEvent &right) |
| assignement operator | |
| virtual | ~UEvent () |
| void | Print (Option_t *option="") |
| print info about event | |
| Int_t | GetEventNr () const |
| Double_t | GetB () const |
| Double_t | GetPhi () const |
| Int_t | GetNes () const |
| Int_t | GetStepNr () const |
| Double_t | GetStepT () const |
| Int_t | GetNpa () const |
| TClonesArray * | GetParticleList () const |
| void | GetComment (TString &comment) const |
| UParticle * | GetParticle (Int_t index) const |
| void | SetParameters (Int_t eventNr, Double_t b, Double_t phi, Int_t nes, Int_t stepNr, Double_t stepT, const char *comment="") |
| set event parameters | |
| void | SetEventNr (Int_t eventNr) |
| void | SetB (Double_t b) |
| void | SetPhi (Double_t phi) |
| void | SetNes (Int_t nes) |
| void | SetStepNr (Int_t stepNr) |
| void | SetStepT (Double_t stepT) |
| void | SetComment (const char *comment) |
| void | AddParticle (Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay, Int_t child[2], Double_t px, Double_t py, Double_t pz, Double_t e, Double_t x, Double_t y, Double_t z, Double_t t, Double_t weight) |
| add particle | |
| void | AddParticle (Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay, Int_t child[2], TLorentzVector mom, TLorentzVector pos, Double_t weight) |
| void | AddParticle (const UParticle &particle) |
| void | Clear () |
| clear this | |
| void | Clear (Option_t *otp) |
| clear this | |
| void | RemoveAt (Int_t i) |
| remove particle | |
| UEvent () | |
| default constructor | |
| UEvent (const UEvent &right) | |
| copy constructor | |
| UEvent | operator= (const UEvent &right) |
| assignement operator | |
| virtual | ~UEvent () |
| void | Print (Option_t *option="") |
| print info about event | |
| Int_t | GetEventNr () const |
| Double_t | GetB () const |
| Double_t | GetPhi () const |
| Int_t | GetNes () const |
| Int_t | GetStepNr () const |
| Double_t | GetStepT () const |
| Int_t | GetNpa () const |
| TClonesArray * | GetParticleList () const |
| void | GetComment (TString &comment) const |
| UParticle * | GetParticle (Int_t index) const |
| void | SetParameters (Int_t eventNr, Double_t b, Double_t phi, Int_t nes, Int_t stepNr, Double_t stepT, const char *comment="") |
| set event parameters | |
| void | SetEventNr (Int_t eventNr) |
| void | SetB (Double_t b) |
| void | SetPhi (Double_t phi) |
| void | SetNes (Int_t nes) |
| void | SetStepNr (Int_t stepNr) |
| void | SetStepT (Double_t stepT) |
| void | SetComment (const char *comment) |
| void | AddParticle (Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay, Int_t child[2], Double_t px, Double_t py, Double_t pz, Double_t e, Double_t x, Double_t y, Double_t z, Double_t t, Double_t weight) |
| add particle | |
| void | AddParticle (Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay, Int_t child[2], TLorentzVector mom, TLorentzVector pos, Double_t weight) |
| void | AddParticle (const UParticle &particle) |
| void | Clear () |
| clear this | |
| void | Clear (Option_t *otp) |
| clear this | |
| void | RemoveAt (Int_t i) |
| remove particle | |
| Public Member Functions inherited from TNamed | |
| TNamed () | |
| TNamed (const char *name, const char *title) | |
| TNamed (const TNamed &named) | |
| TNamed (const TString &name, const TString &title) | |
| virtual | ~TNamed () |
| TObject * | Clone (const char *newname="") const override |
| Int_t | Compare (const TObject *obj) const override |
| void | Copy (TObject &named) const override |
| virtual void | FillBuffer (char *&buffer) |
| const char * | GetName () const override |
| const char * | GetTitle () const override |
| ULong_t | Hash () const override |
| TClass * | IsA () const override |
| Bool_t | IsSortable () const override |
| void | ls (Option_t *option="") const override |
| TNamed & | operator= (const TNamed &rhs) |
| void | Print (Option_t *option="") const override |
| virtual void | SetName (const char *name) |
| virtual void | SetNameTitle (const char *name, const char *title) |
| virtual void | SetTitle (const char *title="") |
| virtual Int_t | Sizeof () const |
| void | Streamer (TBuffer &) override |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| Public Member Functions inherited from TObject | |
| TObject () | |
| TObject (const TObject &object) | |
| virtual | ~TObject () |
| void | AbstractMethod (const char *method) const |
| virtual void | AppendPad (Option_t *option="") |
| virtual void | Browse (TBrowser *b) |
| ULong_t | CheckedHash () |
| virtual const char * | ClassName () const |
| virtual void | Delete (Option_t *option="") |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| virtual void | Draw (Option_t *option="") |
| virtual void | DrawClass () const |
| virtual TObject * | DrawClone (Option_t *option="") const |
| virtual void | Dump () const |
| virtual void | Error (const char *method, const char *msgfmt,...) const |
| virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| virtual TObject * | FindObject (const char *name) const |
| virtual TObject * | FindObject (const TObject *obj) const |
| virtual Option_t * | GetDrawOption () const |
| virtual const char * | GetIconName () const |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| virtual Option_t * | GetOption () const |
| virtual UInt_t | GetUniqueID () const |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| Bool_t | HasInconsistentHash () const |
| virtual void | Info (const char *method, const char *msgfmt,...) const |
| virtual Bool_t | InheritsFrom (const char *classname) const |
| virtual Bool_t | InheritsFrom (const TClass *cl) const |
| virtual void | Inspect () const |
| void | InvertBit (UInt_t f) |
| Bool_t | IsDestructed () const |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| virtual Bool_t | IsFolder () const |
| R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
| R__ALWAYS_INLINE Bool_t | IsZombie () const |
| void | MayNotUse (const char *method) const |
| virtual Bool_t | Notify () |
| void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *vp) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, void *vp) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *vp) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, void *vp) |
| TObject & | operator= (const TObject &rhs) |
| virtual void | Paint (Option_t *option="") |
| virtual void | Pop () |
| virtual Int_t | Read (const char *name) |
| virtual void | RecursiveRemove (TObject *obj) |
| void | ResetBit (UInt_t f) |
| virtual void | SaveAs (const char *filename="", Option_t *option="") const |
| virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
| void | SetBit (UInt_t f) |
| void | SetBit (UInt_t f, Bool_t set) |
| virtual void | SetDrawOption (Option_t *option="") |
| virtual void | SetUniqueID (UInt_t uid) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| virtual void | SysError (const char *method, const char *msgfmt,...) const |
| R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
| Int_t | TestBits (UInt_t f) const |
| virtual void | UseCurrentStyle () |
| virtual void | Warning (const char *method, const char *msgfmt,...) const |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Private Attributes | |
| Int_t | fEventNr |
| Event number. | |
| Double_t | fB |
| Impact parameter (fm). | |
| Double_t | fPhi |
| Reaction plane angle. | |
| Int_t | fNes |
| Number of event steps. | |
| Int_t | fStepNr |
| Event step number. | |
| Double_t | fStepT |
| Event step time. | |
| Int_t | fNpa |
| Number of particles. | |
| TString | fComment |
| Generator-specific information. | |
| TClonesArray * | fParticles |
| Array of particles. | |
Additional Inherited Members | |
| Public Types inherited from TObject | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
| Static Public Member Functions inherited from TNamed | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| Static Public Member Functions inherited from TObject | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static Longptr_t | GetDtorOnly () |
| static Bool_t | GetObjectStat () |
| static void | SetDtorOnly (void *obj) |
| static void | SetObjectStat (Bool_t stat) |
| Public Attributes inherited from TObject | |
| kIsOnHeap | |
| kNotDeleted | |
| kZombie | |
| kInconsistent | |
| kBitMask | |
| kSingleKey | |
| kOverwrite | |
| kWriteDelete | |
| kObjInCanvas | |
| kCanDelete | |
| kMustCleanup | |
| kIsReferenced | |
| kHasUUID | |
| kCannotPick | |
| kNoContextMenu | |
| kInvalidObject | |
| Protected Member Functions inherited from TNamed | |
| void | SavePrimitiveNameTitle (std::ostream &out, const char *variable_name) |
| Protected Member Functions inherited from TObject | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| void | MakeZombie () |
| Static Protected Member Functions inherited from TObject | |
| static void | SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE) |
| static void | SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr) |
| static TString | SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE) |
| Protected Attributes inherited from TNamed | |
| TString | fName |
| TString | fTitle |
| Protected Attributes inherited from TObject | |
| kOnlyPrepStep | |
| UEvent::UEvent | ( | ) |
Definition at line 18 of file UEvent.cxx.
References fB, fComment, fEventNr, TNamed::fName, fNes, fNpa, fParticles, fPhi, fStepNr, fStepT, and TObject::TClonesArray.
Referenced by UEvent(), operator=(), and RemoveAt().
| UEvent::UEvent | ( | const UEvent & | right | ) |
| right | object to copy |
Definition at line 34 of file UEvent.cxx.
References UEvent(), TObjArray::At(), fB, fComment, fEventNr, TNamed::fName, fNes, fNpa, fParticles, fPhi, fStepNr, fStepT, i, and TObject::TClonesArray.
|
virtual |
Definition at line 56 of file UEvent.cxx.
References Clear(), and fParticles.
| UEvent::UEvent | ( | ) |
| UEvent::UEvent | ( | const UEvent & | right | ) |
|
virtual |
| void UEvent::AddParticle | ( | const UParticle & | particle | ) |
| void UEvent::AddParticle | ( | const UParticle & | particle | ) |
| particle | particle to add |
| void UEvent::AddParticle | ( | Int_t | index, |
| Int_t | pdg, | ||
| Int_t | status, | ||
| Int_t | parent, | ||
| Int_t | parentDecay, | ||
| Int_t | mate, | ||
| Int_t | decay, | ||
| Int_t | child[2], | ||
| Double_t | px, | ||
| Double_t | py, | ||
| Double_t | pz, | ||
| Double_t | e, | ||
| Double_t | x, | ||
| Double_t | y, | ||
| Double_t | z, | ||
| Double_t | t, | ||
| Double_t | weight ) |
| index | particle position |
| pdg | pid of track |
| status | particle status |
| parent | parent index |
| parentDecay | parent decay index |
| mate | index of last collision partner |
| decay | decay index (-1 if not decayed) |
| child | index of first and last child |
| px | px momentum |
| py | py momentum |
| pz | pz momentum |
| e | energy |
| x | freezout -x |
| y | freezout -y |
| z | freezout - z |
| t | freezout - t |
| weight | particle weight |
Definition at line 107 of file UEvent.cxx.
| void UEvent::AddParticle | ( | Int_t | index, |
| Int_t | pdg, | ||
| Int_t | status, | ||
| Int_t | parent, | ||
| Int_t | parentDecay, | ||
| Int_t | mate, | ||
| Int_t | decay, | ||
| Int_t | child[2], | ||
| Double_t | px, | ||
| Double_t | py, | ||
| Double_t | pz, | ||
| Double_t | e, | ||
| Double_t | x, | ||
| Double_t | y, | ||
| Double_t | z, | ||
| Double_t | t, | ||
| Double_t | weight ) |
| index | particle position |
| pdg | pid of track |
| status | particle status |
| parent | parent index |
| parentDecay | parent decay index |
| mate | index of last collision partner |
| decay | decay index (-1 if not decayed) |
| child | index of first and last child |
| px | px momentum |
| py | py momentum |
| pz | pz momentum |
| e | energy |
| x | freezout -x |
| y | freezout -y |
| z | freezout - z |
| t | freezout - t |
| weight | particle weight |
| void UEvent::AddParticle | ( | Int_t | index, |
| Int_t | pdg, | ||
| Int_t | status, | ||
| Int_t | parent, | ||
| Int_t | parentDecay, | ||
| Int_t | mate, | ||
| Int_t | decay, | ||
| Int_t | child[2], | ||
| TLorentzVector | mom, | ||
| TLorentzVector | pos, | ||
| Double_t | weight ) |
| index | particle position |
| pdg | pid of track |
| status | track status |
| parent | parent index |
| parentDecay | parent decay index |
| mate | index of last collision partner |
| decay | decay index (-1 if not decayed) |
| child | index of first and last child |
| mom | momentum |
| pos | freezout coordinates as |
| weight |
Definition at line 133 of file UEvent.cxx.
References fNpa.
| void UEvent::AddParticle | ( | Int_t | index, |
| Int_t | pdg, | ||
| Int_t | status, | ||
| Int_t | parent, | ||
| Int_t | parentDecay, | ||
| Int_t | mate, | ||
| Int_t | decay, | ||
| Int_t | child[2], | ||
| TLorentzVector | mom, | ||
| TLorentzVector | pos, | ||
| Double_t | weight ) |
| index | particle position |
| pdg | pid of track |
| status | track status |
| parent | parent index |
| parentDecay | parent decay index |
| mate | index of last collision partner |
| decay | decay index (-1 if not decayed) |
| child | index of first and last child |
| mom | momentum |
| pos | freezout coordinates as |
| weight |
| void UEvent::Clear | ( | ) |
Definition at line 203 of file UEvent.cxx.
References fNpa, and fParticles.
Referenced by ~UEvent().
| void UEvent::Clear | ( | ) |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| index | particle posistion |
Definition at line 92 of file UEvent.cxx.
References fNpa, and fParticles.
| index | particle posistion |
|
inline |
Definition at line 119 of file UEvent.h.
References fParticles, and TObject::TClonesArray.
|
inline |
Definition at line 119 of file UEvent.h.
References fParticles, and TObject::TClonesArray.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 159 of file UEvent.cxx.
References UEvent(), TObjArray::At(), fB, fComment, fEventNr, TNamed::fName, fNes, fNpa, fParticles, fPhi, fStepNr, fStepT, and i.
| void UEvent::Print | ( | Option_t * | option = "" | ) |
| option | if "all" then particles are also printed |
Definition at line 65 of file UEvent.cxx.
References TString::Contains(), fB, fComment, fEventNr, fNes, fNpa, fParticles, fPhi, fStepNr, fStepT, and UParticle::Print().
| void UEvent::Print | ( | Option_t * | option = "" | ) |
| option | if "all" then particles are also printed |
| void UEvent::RemoveAt | ( | Int_t | i | ) |
| i | particle position |
Definition at line 213 of file UEvent.cxx.
References fParticles, and i.
| void UEvent::RemoveAt | ( | Int_t | i | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void UEvent::SetParameters | ( | Int_t | eventNr, |
| Double_t | b, | ||
| Double_t | phi, | ||
| Int_t | nes, | ||
| Int_t | stepNr, | ||
| Double_t | stepT, | ||
| const char * | comment = "" ) |
| eventNr | event number |
| b | impact parameter |
| phi | reaction plane nagle |
| nes | number of steps |
| stepNr | step number |
| stepT | step time |
| comment | comment |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 30 of file UEvent.h.
Referenced by UEvent(), UEvent(), GetB(), operator=(), Print(), SetB(), and SetParameters().
|
private |
Definition at line 54 of file UEvent.h.
Referenced by UEvent(), UEvent(), GetComment(), operator=(), Print(), SetComment(), and SetParameters().
|
private |
Definition at line 26 of file UEvent.h.
Referenced by UEvent(), UEvent(), GetEventNr(), operator=(), Print(), SetEventNr(), and SetParameters().
|
private |
Definition at line 38 of file UEvent.h.
Referenced by UEvent(), UEvent(), GetNes(), operator=(), Print(), SetNes(), and SetParameters().
|
private |
Definition at line 50 of file UEvent.h.
Referenced by UEvent(), UEvent(), AddParticle(), AddParticle(), AddParticle(), Clear(), GetNpa(), GetParticle(), operator=(), and Print().
|
private |
Definition at line 58 of file UEvent.h.
Referenced by UEvent(), UEvent(), ~UEvent(), Clear(), GetParticle(), GetParticleList(), operator=(), Print(), and RemoveAt().
|
private |
Definition at line 34 of file UEvent.h.
Referenced by UEvent(), UEvent(), GetPhi(), operator=(), Print(), SetParameters(), and SetPhi().
|
private |
Definition at line 42 of file UEvent.h.
Referenced by UEvent(), UEvent(), GetStepNr(), operator=(), Print(), SetParameters(), and SetStepNr().
|
private |
Definition at line 46 of file UEvent.h.
Referenced by UEvent(), UEvent(), GetStepT(), operator=(), Print(), SetParameters(), and SetStepT().