| 
    FairRoot
    
   | 
 
#include <MyProjStack.h>
  
 Public Member Functions | |
| MyProjStack (Int_t size=100) | |
| virtual | ~MyProjStack () | 
| virtual void | PushTrack (Int_t toBeDone, Int_t parentID, Int_t pdgCode, Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t polx, Double_t poly, Double_t polz, TMCProcess proc, Int_t &ntr, Double_t weight, Int_t is) | 
| virtual void | PushTrack (Int_t toBeDone, Int_t parentID, Int_t pdgCode, Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t polx, Double_t poly, Double_t polz, TMCProcess proc, Int_t &ntr, Double_t weight, Int_t is, Int_t secondParentId) | 
| virtual TParticle * | PopNextTrack (Int_t &iTrack) | 
| virtual TParticle * | PopPrimaryForTracking (Int_t iPrim) | 
| virtual void | SetCurrentTrack (Int_t iTrack) | 
| virtual Int_t | GetNtrack () const | 
| virtual Int_t | GetNprimary () const | 
| virtual TParticle * | GetCurrentTrack () const | 
| virtual Int_t | GetCurrentTrackNumber () const | 
| virtual Int_t | GetCurrentParentTrackNumber () const | 
| virtual void | AddParticle (TParticle *part) | 
| virtual void | FillTrackArray () | 
| virtual void | UpdateTrackIndex (TRefArray *detArray=0) | 
| virtual void | Reset () | 
| virtual void | Register () | 
| virtual void | Print (Int_t iVerbose=0) const | 
| void | StoreSecondaries (Bool_t choice=kTRUE) | 
| void | SetMinPoints (Int_t min) | 
| void | SetEnergyCut (Double_t eMin) | 
| void | StoreMothers (Bool_t choice=kTRUE) | 
| void | AddPoint (DetectorId iDet) | 
| void | AddPoint (DetectorId iDet, Int_t iTrack) | 
| TParticle * | GetParticle (Int_t trackId) const | 
| TClonesArray * | GetListOfParticles () | 
| virtual FairGenericStack * | CloneStack () const | 
| MyProjStack (Int_t size=100) | |
| virtual | ~MyProjStack () | 
| virtual void | PushTrack (Int_t toBeDone, Int_t parentID, Int_t pdgCode, Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t polx, Double_t poly, Double_t polz, TMCProcess proc, Int_t &ntr, Double_t weight, Int_t is) | 
| virtual void | PushTrack (Int_t toBeDone, Int_t parentID, Int_t pdgCode, Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t polx, Double_t poly, Double_t polz, TMCProcess proc, Int_t &ntr, Double_t weight, Int_t is, Int_t secondParentId) | 
| virtual TParticle * | PopNextTrack (Int_t &iTrack) | 
| virtual TParticle * | PopPrimaryForTracking (Int_t iPrim) | 
| virtual void | SetCurrentTrack (Int_t iTrack) | 
| virtual Int_t | GetNtrack () const | 
| virtual Int_t | GetNprimary () const | 
| virtual TParticle * | GetCurrentTrack () const | 
| virtual Int_t | GetCurrentTrackNumber () const | 
| virtual Int_t | GetCurrentParentTrackNumber () const | 
| virtual void | AddParticle (TParticle *part) | 
| virtual void | FillTrackArray () | 
| virtual void | UpdateTrackIndex (TRefArray *detArray=0) | 
| virtual void | Reset () | 
| virtual void | Register () | 
| virtual void | Print (Int_t iVerbose=0) const | 
| void | StoreSecondaries (Bool_t choice=kTRUE) | 
| void | SetMinPoints (Int_t min) | 
| void | SetEnergyCut (Double_t eMin) | 
| void | StoreMothers (Bool_t choice=kTRUE) | 
| void | AddPoint (DetectorId iDet) | 
| void | AddPoint (DetectorId iDet, Int_t iTrack) | 
| TParticle * | GetParticle (Int_t trackId) const | 
| TClonesArray * | GetListOfParticles () | 
| virtual FairGenericStack * | CloneStack () const | 
  Public Member Functions inherited from FairGenericStack | |
| FairGenericStack () | |
| FairGenericStack (Int_t size) | |
| virtual | ~FairGenericStack () | 
| void | SetDetArrayList (TRefArray *detArray) | 
| virtual void | FinishPrimary () | 
| virtual void | SetParticleArray (__attribute__((unused)) TClonesArray *partArray) | 
| virtual void | SetParticleArray (__attribute__((unused)) TClonesArray *partArray, __attribute__((unused)) Int_t partFrom, __attribute__((unused)) Int_t partTo) | 
| virtual void | FastSimMoveParticleTo (Double_t xx, Double_t yy, Double_t zz, Double_t tt, Double_t px, Double_t py, Double_t pz, Double_t en) | 
| virtual void | FastSimStopParticle () | 
| virtual void | FastSimPushSecondary (Int_t parentID, Int_t pdgCode, Double_t xx, Double_t yy, Double_t zz, Double_t tt, Double_t px, Double_t py, Double_t pz, Double_t en, Double_t polx, Double_t poly, Double_t polz, TMCProcess proc, Double_t weight, Int_t is) | 
| virtual std::tuple< Int_t,  Int_t, Int_t >  | FastSimGetMovedIndex () | 
| virtual void | FastSimClearMovedIndex () | 
| template<typename T > | |
| void | FastSimUpdateTrackIndex (T *point, Int_t &iTrack) | 
Additional Inherited Members | |
  Protected Member Functions inherited from FairGenericStack | |
| FairGenericStack (const FairGenericStack &) | |
| FairGenericStack & | operator= (const FairGenericStack &) | 
| ClassDef (FairGenericStack, 1) | |
  Protected Attributes inherited from FairGenericStack | |
| FairLogger * | fLogger | 
| TRefArray * | fDetList | 
| TIterator * | fDetIter | 
| Int_t | fVerbose | 
| std::map< Int_t, Int_t > | fFSTrackMap | 
| std::map< Int_t, Int_t >::iterator | fFSTrackIter | 
| Int_t | fFSMovedIndex | 
| Int_t | fFSFirstSecondary | 
| Int_t | fFSNofSecondaries | 
Definition at line 48 of file MyProjStack.h.
| MyProjStack::MyProjStack | ( | Int_t | size = 100 | ) | 
Default constructor param size Estimated track number
Definition at line 38 of file MyProjStack.cxx.
      
  | 
  virtual | 
Destructor
Definition at line 83 of file MyProjStack.cxx.
| MyProjStack::MyProjStack | ( | Int_t | size = 100 | ) | 
Default constructor param size Estimated track number
      
  | 
  virtual | 
Destructor
      
  | 
  virtual | 
Add a TParticle to the fParticles array
Definition at line 232 of file MyProjStack.cxx.
      
  | 
  virtual | 
Add a TParticle to the fParticles array
| void MyProjStack::AddPoint | ( | DetectorId | iDet | ) | 
Increment number of points for the current track in a given detector
| iDet | Detector unique identifier | 
Definition at line 382 of file MyProjStack.cxx.
| void MyProjStack::AddPoint | ( | DetectorId | iDet | ) | 
Increment number of points for the current track in a given detector
| iDet | Detector unique identifier | 
| void MyProjStack::AddPoint | ( | DetectorId | iDet, | 
| Int_t | iTrack | ||
| ) | 
Increment number of points for an arbitrary track in a given detector
| iDet | Detector unique identifier | 
| iTrack | Track number | 
Definition at line 396 of file MyProjStack.cxx.
| void MyProjStack::AddPoint | ( | DetectorId | iDet, | 
| Int_t | iTrack | ||
| ) | 
Increment number of points for an arbitrary track in a given detector
| iDet | Detector unique identifier | 
| iTrack | Track number | 
      
  | 
  inlinevirtual | 
Clone this object (used in MT mode only)
Reimplemented from FairGenericStack.
Definition at line 201 of file MyProjStack.h.
      
  | 
  inlinevirtual | 
Clone this object (used in MT mode only)
Reimplemented from FairGenericStack.
Definition at line 201 of file MyProjStack.h.
      
  | 
  virtual | 
Fill the MCTrack output array, applying filter criteria
Reimplemented from FairGenericStack.
      
  | 
  virtual | 
Fill the MCTrack output array, applying filter criteria
Reimplemented from FairGenericStack.
Definition at line 243 of file MyProjStack.cxx.
      
  | 
  virtual | 
Get the track number of the parent of the current track Declared in TVirtualMCStack
      
  | 
  virtual | 
Get the track number of the parent of the current track Declared in TVirtualMCStack
Definition at line 412 of file MyProjStack.cxx.
      
  | 
  virtual | 
Get the current track's particle Declared in TVirtualMCStack
      
  | 
  virtual | 
Get the current track's particle Declared in TVirtualMCStack
Definition at line 221 of file MyProjStack.cxx.
      
  | 
  inlinevirtual | 
Get the number of the current track Declared in TVirtualMCStack
Definition at line 152 of file MyProjStack.h.
      
  | 
  inlinevirtual | 
Get the number of the current track Declared in TVirtualMCStack
Definition at line 152 of file MyProjStack.h.
      
  | 
  inlinevirtual | 
Reimplemented from FairGenericStack.
Definition at line 198 of file MyProjStack.h.
      
  | 
  inlinevirtual | 
Reimplemented from FairGenericStack.
Definition at line 198 of file MyProjStack.h.
      
  | 
  inlinevirtual | 
Get number of primary tracks Declared in TVirtualMCStack
Definition at line 142 of file MyProjStack.h.
      
  | 
  inlinevirtual | 
Get number of primary tracks Declared in TVirtualMCStack
Definition at line 142 of file MyProjStack.h.
      
  | 
  inlinevirtual | 
Get total number of tracks Declared in TVirtualMCStack
Definition at line 137 of file MyProjStack.h.
      
  | 
  inlinevirtual | 
Get total number of tracks Declared in TVirtualMCStack
Definition at line 137 of file MyProjStack.h.
| TParticle* MyProjStack::GetParticle | ( | Int_t | trackId | ) | const | 
Accessors
| TParticle * MyProjStack::GetParticle | ( | Int_t | trackId | ) | const | 
Accessors
Definition at line 424 of file MyProjStack.cxx.
      
  | 
  virtual | 
Get next particle for tracking from the stack. Declared in TVirtualMCStack
| iTrack | index of popped track (return) | 
      
  | 
  virtual | 
Get next particle for tracking from the stack. Declared in TVirtualMCStack
| iTrack | index of popped track (return) | 
Definition at line 172 of file MyProjStack.cxx.
      
  | 
  virtual | 
Get primary particle by index for tracking from stack Declared in TVirtualMCStack
| iPrim | index of primary particle | 
Definition at line 198 of file MyProjStack.cxx.
      
  | 
  virtual | 
Get primary particle by index for tracking from stack Declared in TVirtualMCStack
| iPrim | index of primary particle | 
      
  | 
  virtual | 
Output to screen
| iVerbose,: | 0=events summary, 1=track info | 
Definition at line 368 of file MyProjStack.cxx.
      
  | 
  virtual | 
Output to screen
| iVerbose,: | 0=events summary, 1=track info | 
      
  | 
  virtual | 
Add a TParticle to the stack. Declared in TVirtualMCStack
| toBeDone | Flag for tracking | 
| parentID | Index of mother particle | 
| pdgCode | Particle type (PDG encoding) | 
| px,py,pz | Momentum components at start vertex [GeV] | 
| e | Total energy at start vertex [GeV] | 
| vx,vy,vz | Coordinates of start vertex [cm] | 
| time | Start time of track [s] | 
| polx,poly,polz | Polarisation vector | 
| proc | Production mechanism (VMC encoding) | 
| ntr | Track number (filled by the stack) | 
| weight | Particle weight | 
| is | Generation status code (whatever that means) | 
Definition at line 96 of file MyProjStack.cxx.
      
  | 
  virtual | 
Add a TParticle to the stack. Declared in TVirtualMCStack
| toBeDone | Flag for tracking | 
| parentID | Index of mother particle | 
| pdgCode | Particle type (PDG encoding) | 
| px,py,pz | Momentum components at start vertex [GeV] | 
| e | Total energy at start vertex [GeV] | 
| vx,vy,vz | Coordinates of start vertex [cm] | 
| time | Start time of track [s] | 
| polx,poly,polz | Polarisation vector | 
| proc | Production mechanism (VMC encoding) | 
| ntr | Track number (filled by the stack) | 
| weight | Particle weight | 
| is | Generation status code (whatever that means) | 
      
  | 
  virtual | 
Virtual method PushTrack. Add a TParticle to the stack. This function has an extra argument wrt to the function defined in the base class.
| toBeDone | Flag for tracking | 
| parentID | Index of mother particle | 
| pdgCode | Particle type (PDG encoding) | 
| px,py,pz | Momentum components at start vertex [GeV] | 
| e | Total energy at start vertex [GeV] | 
| vx,vy,vz | Coordinates of start vertex [cm] | 
| time | Start time of track [s] | 
| polx,poly,polz | Polarisation vector | 
| proc | Production mechanism (VMC encoding) | 
| ntr | Track number (filled by the stack) | 
| weight | Particle weight | 
| is | Generation status code (whatever that means) | 
| secondparentID | used fot the index of mother of primery in the list | 
Implements FairGenericStack.
Definition at line 121 of file MyProjStack.cxx.
      
  | 
  virtual | 
Virtual method PushTrack. Add a TParticle to the stack. This function has an extra argument wrt to the function defined in the base class.
| toBeDone | Flag for tracking | 
| parentID | Index of mother particle | 
| pdgCode | Particle type (PDG encoding) | 
| px,py,pz | Momentum components at start vertex [GeV] | 
| e | Total energy at start vertex [GeV] | 
| vx,vy,vz | Coordinates of start vertex [cm] | 
| time | Start time of track [s] | 
| polx,poly,polz | Polarisation vector | 
| proc | Production mechanism (VMC encoding) | 
| ntr | Track number (filled by the stack) | 
| weight | Particle weight | 
| is | Generation status code (whatever that means) | 
| secondparentID | used fot the index of mother of primery in the list | 
Implements FairGenericStack.
      
  | 
  virtual | 
Register the MCTrack array to the Root Manager
Reimplemented from FairGenericStack.
      
  | 
  virtual | 
Register the MCTrack array to the Root Manager
Reimplemented from FairGenericStack.
Definition at line 357 of file MyProjStack.cxx.
      
  | 
  virtual | 
Resets arrays and stack and deletes particles and tracks
Reimplemented from FairGenericStack.
Definition at line 342 of file MyProjStack.cxx.
      
  | 
  virtual | 
Resets arrays and stack and deletes particles and tracks
Reimplemented from FairGenericStack.
      
  | 
  inlinevirtual | 
Set the current track number Declared in TVirtualMCStack
| iTrack | track number | 
Definition at line 132 of file MyProjStack.h.
      
  | 
  inlinevirtual | 
Set the current track number Declared in TVirtualMCStack
| iTrack | track number | 
Definition at line 132 of file MyProjStack.h.
      
  | 
  inline | 
Definition at line 182 of file MyProjStack.h.
      
  | 
  inline | 
Definition at line 182 of file MyProjStack.h.
      
  | 
  inline | 
Definition at line 181 of file MyProjStack.h.
      
  | 
  inline | 
Definition at line 181 of file MyProjStack.h.
      
  | 
  inline | 
Definition at line 183 of file MyProjStack.h.
      
  | 
  inline | 
Definition at line 183 of file MyProjStack.h.
      
  | 
  inline | 
Modifiers
Definition at line 180 of file MyProjStack.h.
      
  | 
  inline | 
Modifiers
Definition at line 180 of file MyProjStack.h.
      
  | 
  virtual | 
Update the track index in the MCTracks and MCPoints
Reimplemented from FairGenericStack.
Definition at line 287 of file MyProjStack.cxx.
      
  | 
  virtual | 
Update the track index in the MCTracks and MCPoints
Reimplemented from FairGenericStack.