HighLAND
Public Member Functions | Public Attributes | List of all members
ToyBoxTracker Class Reference
Inheritance diagram for ToyBoxTracker:
ToyBoxND280 ToyBoxB ToyBoxAntiCCMultiPi ToyBoxCC4pi ToyBoxCC4pi ToyBoxCCMultiPi ToyBoxNueCC ToyBoxTutorial ToyBoxCC4piMultiPi ToyBoxCC4piMultiPi

Public Member Functions

virtual void Reset ()
 This method should be implemented by the derived class. If so it does nothing here.
 
virtual void ResetBase ()
 Reset this base class. More...
 
- Public Member Functions inherited from ToyBoxB
void SoftReset ()
 Reset the ToyBoxB.
 

Public Attributes

AnaVertexBVertex
 For storing the reconstructed vertex.
 
AnaTrackBMainTrack
 For storing the Main Track (The lepton candidate in geranal: HMN or HMP track)
 
AnaTrackBHMtrack
 For storing the highest momentum track.
 
AnaTrackBHMNtrack
 For storing the highest momentum negative track.
 
AnaTrackBHMPtrack
 For storing the highest momentum positive track.
 
AnaTrackBSHMtrack
 For storing the second highest momentum track.
 
AnaTrackBSHMNtrack
 For storing the second highest momentum negative track.
 
AnaTrackBSHMPtrack
 For storing the second highest momentum positive track.
 
AnaTrackB ** NegativeTPCtracks
 For storing all negative tracks in the event with TPC information.
 
int nNegativeTPCtracks
 
AnaTrackB ** PositiveTPCtracks
 For storing all positive tracks in the event with TPC information.
 
int nPositiveTPCtracks
 
bool LikeComputed [NMAXPARTICLES]
 For storing whether TPC PID likelihoods have been computed.
 
int nLikeComputed
 
Float_t Likelihood [NMAXPARTICLES][4]
 For storing TPC PID likelihoods.
 
int nLikelihood
 
AnaTrackBVetoTrack
 For storing the veto track.
 
AnaTrackBOOFVtrack
 For storing the oofv fgd tracks.
 
- Public Attributes inherited from ToyBoxND280
AnaTrueVertexBTrueVertex
 For storing the true vertex, for analyses with no reconstructed primary vertex.
 
- Public Attributes inherited from ToyBoxB
UInt_t nBranches
 The number of branches in the selection this ToyBox belongs to.
 
Int_t * AccumLevel
 Accum level for each branch in this toy in the selection this ToyBox belongs to.
 
Int_t MaxAccumLevel
 
bool * BranchPassed
 
Int_t SuccessfulBranch
 The branch that is successful for this toy in the selection this ToyBox belongs to.
 
Int_t SelectionEnabledIndex
 The enabled index of this selection this ToyBox belongs to.
 
SubDetId_h DetectorFV
 Indicate the FV we are interested in.
 

Additional Inherited Members

- Protected Attributes inherited from ToyBoxB
bool _ResetCheckDone
 

Detailed Description

Definition at line 6 of file ToyBoxTracker.hxx.

Member Function Documentation

§ ResetBase()

void ToyBoxTracker::ResetBase ( )
virtual

Reset this base class.

Must delete these objects, which are created in the steps when applying the selection. TODO: should avoid that in the next version since multithreading requires no heap allocation of memory

Reimplemented from ToyBoxND280.

Definition at line 47 of file ToyBoxTracker.cxx.

47  {
48 //********************************************************************
49 
50  /// Must delete these objects, which are created in the steps when applying the selection.
51  /// TODO: should avoid that in the next version since multithreading requires
52  /// no heap allocation of memory
53  if (Vertex) delete Vertex;
54  if (NegativeTPCtracks) delete [] NegativeTPCtracks;
55  if (PositiveTPCtracks) delete [] PositiveTPCtracks;
56 
57  Vertex=NULL;
59  VetoTrack=NULL;
60  OOFVtrack=NULL;
61  NegativeTPCtracks = NULL;
62  PositiveTPCtracks = NULL;
63  nNegativeTPCtracks = 0;
64  nPositiveTPCtracks = 0;
65  nLikeComputed = 0;
66  nLikelihood = 0;
67 
69 }
AnaTrackB * SHMtrack
For storing the second highest momentum track.
AnaTrackB * MainTrack
For storing the Main Track (The lepton candidate in geranal: HMN or HMP track)
AnaTrackB * HMPtrack
For storing the highest momentum positive track.
AnaVertexB * Vertex
For storing the reconstructed vertex.
AnaTrackB * VetoTrack
For storing the veto track.
AnaTrackB * HMNtrack
For storing the highest momentum negative track.
virtual void ResetBase()
Reset this base class.
Definition: ToyBoxND280.cxx:30
AnaTrackB ** NegativeTPCtracks
For storing all negative tracks in the event with TPC information.
AnaTrackB * SHMPtrack
For storing the second highest momentum positive track.
AnaTrackB * HMtrack
For storing the highest momentum track.
AnaTrackB * SHMNtrack
For storing the second highest momentum negative track.
AnaTrackB ** PositiveTPCtracks
For storing all positive tracks in the event with TPC information.
AnaTrackB * OOFVtrack
For storing the oofv fgd tracks.

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