|
BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
|
unigen particle More...
#include <UParticle.h>
Public Member Functions | |
| UParticle () | |
| default constructor | |
| UParticle (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) | |
| constructor | |
| UParticle (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) | |
| constructor | |
| UParticle (const UParticle &right) | |
| copy constructor | |
| UParticle (const TParticle &right) | |
| copy ctor | |
| virtual | ~UParticle () |
| const UParticle & | operator= (const UParticle &right) |
| operator = | |
| const UParticle & | operator= (const TParticle &right) |
| copy TParticle into this particle | |
| const Bool_t | operator== (const UParticle &right) const |
| comare tracks | |
| void | Print (Option_t *option="") |
| print info about this particle | |
| Int_t | GetIndex () const |
| Int_t | GetPdg () const |
| Int_t | GetStatus () const |
| Int_t | GetParent () const |
| Int_t | GetParentDecay () const |
| Int_t | GetMate () const |
| Int_t | GetDecay () const |
| Int_t | GetFirstChild () const |
| Int_t | GetLastChild () const |
| Double_t | Px () const |
| Double_t | Py () const |
| Double_t | Pz () const |
| Double_t | E () const |
| TLorentzVector | GetMomentum () const |
| void | Momentum (TLorentzVector &mom) const |
| Double_t | X () const |
| Double_t | Y () const |
| Double_t | Z () const |
| Double_t | T () const |
| TLorentzVector | GetPosition () const |
| void | Position (TLorentzVector &pos) const |
| Double_t | GetWeight () const |
| void | SetIndex (Int_t index) |
| void | SetPdg (Int_t pdg) |
| void | SetStatus (Int_t status) |
| void | SetParent (Int_t parent) |
| void | SetParentDecay (Int_t parentDecay) |
| void | SetMate (Int_t mate) |
| void | SetDecay (Int_t decay) |
| void | SetChild (Int_t child[2]) |
| void | SetFirstChild (Int_t child) |
| void | SetLastChild (Int_t child) |
| void | SetPx (Double_t px) |
| void | SetPy (Double_t py) |
| void | SetPz (Double_t pz) |
| void | SetE (Double_t e) |
| void | SetMomentum (Double_t px, Double_t py, Double_t pz, Double_t e) |
| set momentum | |
| void | SetMomentum (TLorentzVector mom) |
| set momentum | |
| void | SetX (Double_t x) |
| void | SetY (Double_t y) |
| void | SetZ (Double_t z) |
| void | SetT (Double_t t) |
| void | SetPosition (Double_t x, Double_t y, Double_t z, Double_t t) |
| set freezout position | |
| void | SetPosition (TLorentzVector pos) |
| set postition | |
| void | SetWeight (Double_t weight) |
| 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 | Clear (Option_t *="") |
| virtual TObject * | Clone (const char *newname="") const |
| virtual Int_t | Compare (const TObject *obj) const |
| virtual void | Copy (TObject &object) 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 const char * | GetName () const |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| virtual Option_t * | GetOption () const |
| virtual const char * | GetTitle () const |
| virtual UInt_t | GetUniqueID () const |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| virtual ULong_t | Hash () const |
| 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) |
| virtual TClass * | IsA () const |
| Bool_t | IsDestructed () const |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| virtual Bool_t | IsFolder () const |
| R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
| virtual Bool_t | IsSortable () const |
| R__ALWAYS_INLINE Bool_t | IsZombie () const |
| virtual void | ls (Option_t *option="") 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 void | Print (Option_t *option="") const |
| 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) |
| virtual void | Streamer (TBuffer &) |
| 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 | fIndex |
| Int_t | fPdg |
| Int_t | fStatus |
| Int_t | fParent |
| Int_t | fParentDecay |
| Int_t | fMate |
| Int_t | fDecay |
| Int_t | fChild [2] |
| Double32_t | fPx |
| Double32_t | fPy |
| Double32_t | fPz |
| Double32_t | fE |
| Double32_t | fX |
| Double32_t | fY |
| Double32_t | fZ |
| Double32_t | fT |
| Double32_t | fWeight |
Additional Inherited Members | |
| Public Types inherited from TObject | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
| 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 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 TObject | |
| kOnlyPrepStep | |
Definition at line 13 of file UParticle.h.
| UParticle::UParticle | ( | ) |
Definition at line 16 of file UParticle.cxx.
References fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, and fZ.
Referenced by UParticle(), operator=(), operator=(), and operator==().
| UParticle::UParticle | ( | 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 index |
| 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 28 of file UParticle.cxx.
References fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, x, y, and z.
| UParticle::UParticle | ( | 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 index |
| 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 |
| mom | particle momentum |
| pos | particle freezout postion |
| weight | particle weight |
Definition at line 69 of file UParticle.cxx.
References TLorentzVector::E(), fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, TLorentzVector::Px(), TLorentzVector::Py(), TLorentzVector::Pz(), TLorentzVector::T(), TLorentzVector::X(), TLorentzVector::Y(), and TLorentzVector::Z().
| UParticle::UParticle | ( | const UParticle & | right | ) |
| right | uparticle to copy |
Definition at line 104 of file UParticle.cxx.
References UParticle().
| UParticle::UParticle | ( | const TParticle & | right | ) |
| right | TParticle to copy |
Definition at line 112 of file UParticle.cxx.
|
virtual |
Definition at line 120 of file UParticle.cxx.
|
inline |
|
inline |
Definition at line 170 of file UParticle.h.
References fDecay.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 165 of file UParticle.h.
References fMate.
|
inline |
|
inline |
|
inline |
Definition at line 160 of file UParticle.h.
References fParentDecay.
|
inline |
Definition at line 145 of file UParticle.h.
References fPdg.
Referenced by MpdUnigenGenerator::RegisterIons().
|
inline |
|
inline |
|
inline |
|
inline |
| mom | momentum to fill |
Definition at line 210 of file UParticle.h.
References fE, fPx, fPy, fPz, and TLorentzVector::SetPxPyPzE().
| right | TParticle to copy |
Definition at line 153 of file UParticle.cxx.
References UParticle(), TParticle::Energy(), fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, fZ, TParticle::GetFirstDaughter(), TParticle::GetFirstMother(), TParticle::GetLastDaughter(), TParticle::GetPdgCode(), TParticle::GetStatusCode(), TParticle::GetWeight(), TParticle::Px(), TParticle::Py(), TParticle::Pz(), TParticle::T(), TParticle::Vx(), TParticle::Vy(), and TParticle::Vz().
| right | track to compare |
Definition at line 179 of file UParticle.cxx.
References UParticle(), TMath::Abs(), fChild, fDecay, fE, fIndex, fMate, fParent, fParentDecay, fPdg, fPx, fPy, fPz, fStatus, fT, fWeight, fX, fY, and fZ.
|
inline |
| pos | position to fill by this track position coord. |
Definition at line 240 of file UParticle.h.
References fT, fX, fY, fZ, and TLorentzVector::SetXYZT().
| void UParticle::Print | ( | Option_t * | option = "" | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| child | index of first and last child |
Definition at line 285 of file UParticle.h.
References fChild.
|
inline |
| decay | decay code (-1 if no decayed) |
Definition at line 280 of file UParticle.h.
References fDecay.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| mate | index of last collision partner |
Definition at line 275 of file UParticle.h.
References fMate.
|
inline |
| mom | momentum |
Definition at line 338 of file UParticle.h.
References TLorentzVector::E(), fE, fPx, fPy, fPz, TLorentzVector::Px(), TLorentzVector::Py(), and TLorentzVector::Pz().
|
inline |
|
inline |
| parentDecay | parent decay index |
Definition at line 270 of file UParticle.h.
References fParentDecay.
|
inline |
|
inline |
| pos | new position |
Definition at line 383 of file UParticle.h.
References fT, fX, fY, fZ, TLorentzVector::T(), TLorentzVector::X(), TLorentzVector::Y(), and TLorentzVector::Z().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 24 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetFirstChild(), GetLastChild(), operator=(), operator=(), operator==(), Print(), SetChild(), SetFirstChild(), and SetLastChild().
|
private |
Definition at line 23 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetDecay(), operator=(), operator=(), operator==(), Print(), and SetDecay().
|
private |
Definition at line 28 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), E(), GetMomentum(), Momentum(), operator=(), operator=(), operator==(), Print(), SetE(), SetMomentum(), and SetMomentum().
|
private |
Definition at line 17 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetIndex(), operator=(), operator=(), operator==(), Print(), and SetIndex().
|
private |
Definition at line 22 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetMate(), operator=(), operator=(), operator==(), Print(), and SetMate().
|
private |
Definition at line 20 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetParent(), operator=(), operator=(), operator==(), Print(), and SetParent().
|
private |
Definition at line 21 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetParentDecay(), operator=(), operator=(), operator==(), Print(), and SetParentDecay().
|
private |
Definition at line 18 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetPdg(), operator=(), operator=(), operator==(), Print(), and SetPdg().
|
private |
Definition at line 25 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetMomentum(), Momentum(), operator=(), operator=(), operator==(), Print(), Px(), SetMomentum(), SetMomentum(), and SetPx().
|
private |
Definition at line 26 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetMomentum(), Momentum(), operator=(), operator=(), operator==(), Print(), Py(), SetMomentum(), SetMomentum(), and SetPy().
|
private |
Definition at line 27 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetMomentum(), Momentum(), operator=(), operator=(), operator==(), Print(), Pz(), SetMomentum(), SetMomentum(), and SetPz().
|
private |
Definition at line 19 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetStatus(), operator=(), operator=(), operator==(), Print(), and SetStatus().
|
private |
Definition at line 32 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetPosition(), operator=(), operator=(), operator==(), Position(), Print(), SetPosition(), SetPosition(), SetT(), and T().
|
private |
Definition at line 33 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetWeight(), operator=(), operator=(), operator==(), Print(), and SetWeight().
|
private |
Definition at line 29 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetPosition(), operator=(), operator=(), operator==(), Position(), Print(), SetPosition(), SetPosition(), SetX(), and X().
|
private |
Definition at line 30 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetPosition(), operator=(), operator=(), operator==(), Position(), Print(), SetPosition(), SetPosition(), SetY(), and Y().
|
private |
Definition at line 31 of file UParticle.h.
Referenced by UParticle(), UParticle(), UParticle(), GetPosition(), operator=(), operator=(), operator==(), Position(), Print(), SetPosition(), SetPosition(), SetZ(), and Z().