|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <MpdDecayerPyt8.h>
Public Types | |
| enum | SourceFlag { kPythia , kCustom , kPythia , kCustom } |
| enum | SourceFlag { kPythia , kCustom , kPythia , kCustom } |
| Public Types inherited from TObject | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
Public Member Functions | |
| virtual | ~MpdDecayerPyt8 () |
| virtual void | Init () |
| Initialize the decayer. | |
| virtual void | Decay (Int_t pdg, TLorentzVector *p) |
| Decay a single particle. | |
| virtual Int_t | ImportParticles (TClonesArray *particles) |
| import the decay products into particles array | |
| virtual void | SetForceDecay (Int_t type) |
| Set forced decay mode. | |
| virtual void | ForceDecay () |
| ForceDecay not yet implemented. | |
| virtual Float_t | GetPartialBranchingRatio (Int_t ipart) |
| virtual Float_t | GetLifetime (Int_t kf) |
| return lifetime in seconds of teh particle with PDG number pdg | |
| virtual void | ReadDecayTable () |
| to read a decay table (not yet implemented) | |
| virtual void | SetDebugLevel (Int_t debug) |
| virtual void | SetGlobalPolar (Int_t glob=1) |
| void | Decay (TParticle *part) |
| Decay a TParticle. | |
| void | AddMotherPdg (Int_t pdg) |
| Add PDG of particle to be decayed by this package. | |
| virtual | ~MpdDecayerPyt8 () |
| virtual void | Init () |
| virtual void | Decay (Int_t pdg, TLorentzVector *p) |
| virtual Int_t | ImportParticles (TClonesArray *particles) |
| virtual void | SetForceDecay (Int_t type) |
| virtual void | ForceDecay () |
| virtual Float_t | GetPartialBranchingRatio (Int_t ipart) |
| virtual Float_t | GetLifetime (Int_t kf) |
| virtual void | ReadDecayTable () |
| virtual void | SetDebugLevel (Int_t debug) |
| virtual void | SetGlobalPolar (Int_t glob=1) |
| void | Decay (TParticle *part) |
| void | AddMotherPdg (Int_t pdg) |
| Public Member Functions inherited from TVirtualMCDecayer | |
| TVirtualMCDecayer () | |
| ~TVirtualMCDecayer () override | |
| TClass * | IsA () const override |
| 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 | 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) |
| 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) |
| 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 |
Static Public Member Functions | |
| static MpdDecayerPyt8 * | Instance () |
| Get the singleton object. | |
| static MpdDecayerPyt8 * | Instance () |
| Static Public Member Functions inherited from TVirtualMCDecayer | |
| 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) |
Protected Member Functions | |
| MpdDecayerPyt8 () | |
| constructor | |
| void | AppendParticle (Int_t pdg, TLorentzVector *p) |
| Append a particle to the stack. | |
| void | ClearEvent () |
| Clear the event stack. | |
| MpdDecayerPyt8 () | |
| void | AppendParticle (Int_t pdg, TLorentzVector *p) |
| void | ClearEvent () |
| Protected Member Functions inherited from TObject | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| void | MakeZombie () |
Private Member Functions | |
| void | Gdecay (Int_t idpart, TLorentzVector *p) |
| Simulate two-body decay process of Lambda-hyperon to p+\pi-. | |
| void | Gdeca2 (Double_t xm0, Double_t xm1, Double_t xm2, Double_t pcm[2][4]) |
| Simulate two-body decay process with anisotropic angular distribution in CMS. | |
| void | Anisotropy (Double_t *pvert, Double_t *rndm, TVector3 &polar, Double_t &phi, Double_t &costh) |
| Simulate anisotropic (due to polarization) decay of lambda. | |
| void | ChangeBranchings () |
| void | ChangeParticleBr (TObjArray *tokens, Bool_t exclusive) |
| void | Gdecay (Int_t idpart, TLorentzVector *p) |
| void | Gdeca2 (Double_t xm0, Double_t xm1, Double_t xm2, Double_t pcm[2][4]) |
| void | Anisotropy (Double_t *pvert, Double_t *rndm, TVector3 &polar, Double_t &phi, Double_t &costh) |
| void | ChangeBranchings () |
| void | ChangeParticleBr (TObjArray *tokens, Bool_t exclusive) |
Private Attributes | |
| TPythia8 * | fPythia8 |
| Int_t | fDebug |
| Int_t | fGlobalPolar |
| Float_t | fBranch |
| ParticleDataEntryPtr | fLambda |
| TLorentzVector | fMother |
| TClonesArray * | fParticles |
| TRotation | fRotation |
| SourceFlag | fSourceFlag |
| std::set< Int_t > | fMothersPdg |
| TRandom * | fRandom |
Static Private Attributes | |
| static MpdDecayerPyt8 * | fgInstance = 0 |
Additional Inherited Members | |
| Public Attributes inherited from TObject | |
| kIsOnHeap | |
| kNotDeleted | |
| kZombie | |
| kInconsistent | |
| kBitMask | |
| kSingleKey | |
| kOverwrite | |
| kWriteDelete | |
| kObjInCanvas | |
| kCanDelete | |
| kMustCleanup | |
| kIsReferenced | |
| kHasUUID | |
| kCannotPick | |
| kNoContextMenu | |
| kInvalidObject | |
| 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 30 of file MpdDecayerPyt8.h.
| Enumerator | |
|---|---|
| kPythia | |
| kCustom | |
| kPythia | |
| kCustom | |
Definition at line 34 of file MpdDecayerPyt8.h.
| Enumerator | |
|---|---|
| kPythia | |
| kCustom | |
| kPythia | |
| kCustom | |
Definition at line 34 of file MpdDecayerPyt8.h.
|
inlinevirtual |
Definition at line 40 of file MpdDecayerPyt8.h.
|
protected |
Definition at line 45 of file MpdDecayerPyt8.cxx.
References ChangeBranchings(), fDebug, fGlobalPolar, fLambda, fPythia8, fRandom, and Init().
Referenced by ChangeParticleBr(), and Instance().
|
inlinevirtual |
Definition at line 40 of file MpdDecayerPyt8.h.
|
protected |
| void MpdDecayerPyt8::AddMotherPdg | ( | Int_t | pdg | ) |
Definition at line 442 of file MpdDecayerPyt8.cxx.
References fMothersPdg.
Referenced by DecayConfig().
| void MpdDecayerPyt8::AddMotherPdg | ( | Int_t | pdg | ) |
|
private |
Definition at line 367 of file MpdDecayerPyt8.cxx.
References TMath::Abs(), TMath::Cos(), TVector3::Cross(), f, fGlobalPolar, fRotation, TRotation::Invert(), TVector3::Mag(), TVector3::Phi(), TRotation::RotateAxes(), TVector3::RotateUz(), TMath::Sign(), TMath::Sin(), TMath::Sqrt(), TVector3::Theta(), TVector3::Transform(), TMath::TwoPi(), TVector3::Unit(), and TVector3::X().
Referenced by Gdeca2().
|
private |
|
protected |
Definition at line 237 of file MpdDecayerPyt8.cxx.
References TLorentzVector::E(), fPythia8, TLorentzVector::M(), TLorentzVector::Px(), TLorentzVector::Py(), and TLorentzVector::Pz().
Referenced by Decay(), and Decay().
|
protected |
|
private |
Definition at line 505 of file MpdDecayerPyt8.cxx.
References ChangeParticleBr(), TString::Contains(), TObjArray::Delete(), TString::ReadLine(), and TString::Tokenize().
Referenced by MpdDecayerPyt8().
|
private |
Definition at line 542 of file MpdDecayerPyt8.cxx.
References TString::Atof(), TString::Contains(), TObjArray::Delete(), fPythia8, TObjArray::GetEntriesFast(), TObjArray::Last(), TString::Remove(), TString::Tokenize(), and TObjArray::UncheckedAt().
Referenced by ChangeBranchings().
References MpdDecayerPyt8(), fBranch, fDebug, fgInstance, fGlobalPolar, fLambda, fMother, fMothersPdg, fParticles, fPythia8, fRandom, fRotation, fSourceFlag, and TObject::TClonesArray.
|
protected |
Definition at line 245 of file MpdDecayerPyt8.cxx.
References fPythia8.
Referenced by Decay(), and Decay().
|
protected |
|
virtual |
Implements TVirtualMCDecayer.
Definition at line 110 of file MpdDecayerPyt8.cxx.
References TMath::Abs(), AppendParticle(), ClearEvent(), fBranch, fDebug, fLambda, fMother, fMothersPdg, fParticles, fPythia8, fRandom, fSourceFlag, Gdecay(), TParticle::GetPolarisation(), kCustom, kPythia, TVector3::X(), and TVector3::Z().
|
virtual |
Implements TVirtualMCDecayer.
| void MpdDecayerPyt8::Decay | ( | TParticle * | part | ) |
Definition at line 454 of file MpdDecayerPyt8.cxx.
References AppendParticle(), ClearEvent(), fDebug, fMother, fParticles, fPythia8, fRandom, fSourceFlag, TParticle::GetFirstMother(), TParticle::GetPdgCode(), kPythia, TParticle::Momentum(), TLorentzVector::P(), TParticle::ProductionVertex(), TLorentzVector::SetE(), and TMath::Sqrt().
| void MpdDecayerPyt8::Decay | ( | TParticle * | part | ) |
|
virtual |
Implements TVirtualMCDecayer.
Definition at line 211 of file MpdDecayerPyt8.cxx.
|
virtual |
Implements TVirtualMCDecayer.
|
private |
Definition at line 298 of file MpdDecayerPyt8.cxx.
References TMath::Abs(), Anisotropy(), TMath::Cos(), fGlobalPolar, TParticle::GetPdgCode(), TParticle::GetPolarisation(), TParticle::GetWeight(), TVector3::GetXYZ(), TParticle::Momentum(), TVector3::SetMag(), TRandom::SetSeed(), TMath::Sign(), TMath::Sin(), TMath::Sqrt(), TMath::TwoPi(), TLorentzVector::Vect(), TVector3::X(), TVector3::Y(), and TVector3::Z().
Referenced by Gdecay().
|
private |
|
private |
Definition at line 253 of file MpdDecayerPyt8.cxx.
References TLorentzVector::Boost(), TLorentzVector::E(), fParticles, fRotation, fSourceFlag, Gdeca2(), TDatabasePDG::GetParticle(), TDatabasePDG::Instance(), kCustom, TLorentzVector::M(), TParticlePDG::Mass(), TLorentzVector::P(), TParticle::SetFirstDaughter(), TParticle::SetFirstMother(), TParticle::SetLastDaughter(), TParticle::SetLastMother(), TLorentzVector::SetPxPyPzE(), TParticle::SetStatusCode(), and TLorentzVector::Transform().
Referenced by Decay().
|
private |
Implements TVirtualMCDecayer.
Definition at line 224 of file MpdDecayerPyt8.cxx.
References fPythia8.
Implements TVirtualMCDecayer.
Implements TVirtualMCDecayer.
Definition at line 217 of file MpdDecayerPyt8.cxx.
Implements TVirtualMCDecayer.
|
virtual |
Implements TVirtualMCDecayer.
Definition at line 174 of file MpdDecayerPyt8.cxx.
References fMother, fParticles, fPythia8, fSourceFlag, kPythia, TParticle::ProductionVertex(), TParticle::SetProductionVertex(), and TObject::TClonesArray.
|
virtual |
Implements TVirtualMCDecayer.
References TObject::TClonesArray.
|
virtual |
Implements TVirtualMCDecayer.
Definition at line 82 of file MpdDecayerPyt8.cxx.
References fBranch, fLambda, fParticles, fPythia8, fRandom, and TObject::TClonesArray.
Referenced by MpdDecayerPyt8().
|
virtual |
Implements TVirtualMCDecayer.
|
static |
Definition at line 35 of file MpdDecayerPyt8.cxx.
References MpdDecayerPyt8(), and fgInstance.
Referenced by DecayConfig().
|
static |
|
virtual |
Implements TVirtualMCDecayer.
Definition at line 232 of file MpdDecayerPyt8.cxx.
|
virtual |
Implements TVirtualMCDecayer.
|
inlinevirtual |
Definition at line 51 of file MpdDecayerPyt8.h.
References fDebug.
|
inlinevirtual |
Definition at line 51 of file MpdDecayerPyt8.h.
References fDebug.
|
virtual |
Implements TVirtualMCDecayer.
Definition at line 204 of file MpdDecayerPyt8.cxx.
|
virtual |
Implements TVirtualMCDecayer.
|
inlinevirtual |
Definition at line 52 of file MpdDecayerPyt8.h.
References fGlobalPolar, and glob().
|
inlinevirtual |
Definition at line 52 of file MpdDecayerPyt8.h.
References fGlobalPolar, and glob().
|
private |
Definition at line 78 of file MpdDecayerPyt8.h.
Referenced by ChangeParticleBr(), Decay(), and Init().
|
private |
Definition at line 75 of file MpdDecayerPyt8.h.
Referenced by MpdDecayerPyt8(), ChangeParticleBr(), Decay(), Decay(), and SetDebugLevel().
|
staticprivate |
Definition at line 72 of file MpdDecayerPyt8.h.
Referenced by ChangeParticleBr(), and Instance().
|
private |
Definition at line 76 of file MpdDecayerPyt8.h.
Referenced by MpdDecayerPyt8(), Anisotropy(), ChangeParticleBr(), Gdeca2(), and SetGlobalPolar().
|
private |
Definition at line 79 of file MpdDecayerPyt8.h.
Referenced by MpdDecayerPyt8(), ChangeParticleBr(), Decay(), and Init().
|
private |
Definition at line 80 of file MpdDecayerPyt8.h.
Referenced by ChangeParticleBr(), Decay(), Decay(), and ImportParticles().
|
private |
Definition at line 84 of file MpdDecayerPyt8.h.
Referenced by AddMotherPdg(), ChangeParticleBr(), and Decay().
|
private |
Definition at line 81 of file MpdDecayerPyt8.h.
Referenced by ChangeParticleBr(), Decay(), Decay(), Gdecay(), ImportParticles(), and Init().
|
private |
Definition at line 74 of file MpdDecayerPyt8.h.
Referenced by MpdDecayerPyt8(), AppendParticle(), ChangeParticleBr(), ClearEvent(), Decay(), Decay(), GetLifetime(), ImportParticles(), and Init().
|
private |
Definition at line 85 of file MpdDecayerPyt8.h.
Referenced by MpdDecayerPyt8(), ChangeParticleBr(), Decay(), Decay(), and Init().
|
private |
Definition at line 82 of file MpdDecayerPyt8.h.
Referenced by Anisotropy(), ChangeParticleBr(), and Gdecay().
|
private |
Definition at line 83 of file MpdDecayerPyt8.h.
Referenced by ChangeParticleBr(), Decay(), Decay(), Gdecay(), and ImportParticles().