PandaRoot
PndSTEBTof Class Reference

#include <PndSTEBTof.h>

Inheritance diagram for PndSTEBTof:
PndSTETrackBase PndSTESettings

Public Member Functions

 PndSTEBTof ()
 
virtual ~PndSTEBTof ()
 
void AddHit (TClonesArray *initialTrackArray, TClonesArray *initialTrackCandArray, TClonesArray *initialHitArray)
 Function to add the chosen hit to a track candidate. More...
 
- Public Member Functions inherited from PndSTETrackBase
 PndSTETrackBase ()
 
virtual ~PndSTETrackBase ()
 
PndTrack GetTrack (int i)
 Function to get a track after the refit. More...
 
PndTrackCand GetTrackCand (int i)
 Function to get a track candidate after the refit. More...
 
PndRiemannTrack GetRiemannTrack (int i)
 Function to get a Riemann track after the refit. More...
 
int NumTrackCands ()
 Function to get the number of track candidates after the refit. More...
 
int NumRiemannTracks ()
 Function to get the number of Riemann tracks after the refit. More...
 
- Public Member Functions inherited from PndSTESettings
 PndSTESettings ()
 
virtual ~PndSTESettings ()
 
void SetMagneticField ()
 Function to set the magnetic field strength. More...
 
double GetMagneticField ()
 
void IncludeDetector (bool includeMvd, bool includeGem, bool includeBtof)
 Function to choose which detectors to include. More...
 
void SetMvdHitDist (Double_t val)
 Function to set the maximum allowed distance of closest approach between the MVD hit and the track. More...
 
void SetGemHitDist (Double_t val)
 Function to set the maximum allowed distance of closest approach between the GEM hit and the track. More...
 
void SetBtofHitDist (Double_t val)
 Function to set the maximum allowed distance of closest approach between the BTOF hit and the track. More...
 
void SetUseHelix (Bool_t val)
 Function to set ia a helix extrapolation should be used in the procedure. More...
 
void SetUseRiemannTrack (Bool_t val)
 Function to set ia a Riemann track should be used in the procedure. More...
 
void SetUseIdealTrack (bool val)
 Function to choose to give an ideal track as input to the MVD hit fiinding. More...
 
void SetRunIn3D (bool val)
 Function to choose if the 2D or 3D function should be used. More...
 
void SetNoAreaExclusion (bool val)
 Function to choose if there is an area exclusion in the Mvd hit inclusion. More...
 
void SetUseHemisphere (bool useHemisphere)
 Function to choose to use the hemispehere method for excluding a certain area of the detector. More...
 
void SetWeightsMvdHit (double weight)
 Function to set the proper weights for the MVD hits for the Riemann fitting procedure. More...
 
void SetDrawTracks (bool val)
 

Additional Inherited Members

- Protected Member Functions inherited from PndSTETrackBase
 ClassDef (PndSTETrackBase, 1)
 
- Protected Member Functions inherited from PndSTESettings
 ClassDef (PndSTESettings, 1)
 
- Protected Attributes inherited from PndSTETrackBase
std::map< PndSdsHit *, int > fMapMvdHitBranchId
 
std::vector< PndTrackCandfTrackCands
 
std::vector< PndTrackfTracks
 
std::vector< PndRiemannTrackfRiemannTracks
 
double fxc
 x-coordinate of the center of gravity of the hits in one track, used for computing hemispheres The x-coordinate but not y-coordinate is not used to test which hemisphere the hit is in More...
 
double fLineSlope = 0
 
std::vector< double > fChi2OneHit
 
double fSumChi2 = 0
 
double fReducedChi2 = 0
 
std::map< double, PndSdsHit * > fMapChi2OneHitMvdHit
 
std::vector< double > fChi2OneHitSZ
 
double fSumChi2SZ = 0
 
double fReducedChi2SZ = 0
 
std::map< double, PndSdsHit * > fMapChi2OneHitMvdHitSZ
 
- Protected Attributes inherited from PndSTESettings
bool fIncludeMvd = false
 
bool fIncludeGem = false
 
bool fIncludeBtof = false
 
double fBz
 
bool fUseHelix = false
 
bool fIdealTrack = false
 
bool fUseRiemann = false
 
bool fRunIn3D = false
 
bool fUseHemisphere = false
 
bool fNoMVDAreaExclusion = false
 
bool fAdjustWeightsMvd = false
 
double fWeightMVD = -1.0
 
double fMvdHitDist = 9999999.0
 
double fGemHitDist = 9999999.0
 
double fBtofHitDist = 9999999.0
 
bool fDrawTrack = false
 

Detailed Description

Definition at line 22 of file PndSTEBTof.h.

Constructor & Destructor Documentation

◆ PndSTEBTof()

PndSTEBTof::PndSTEBTof ( )
inline

Default Constructor

Definition at line 25 of file PndSTEBTof.h.

25 {};

◆ ~PndSTEBTof()

virtual PndSTEBTof::~PndSTEBTof ( )
inlinevirtual

Default Destructor

Definition at line 28 of file PndSTEBTof.h.

References AddHit().

28  {
29 
30  };

Member Function Documentation

◆ AddHit()

void PndSTEBTof::AddHit ( TClonesArray *  initialTrackArray,
TClonesArray *  initialTrackCandArray,
TClonesArray *  initialHitArray 
)

Function to add the chosen hit to a track candidate.

Fills the tracks and track candidates with BTOF hits included but no refit is done with the hits

Parameters
initialTrackArrayArray of tracks from STT tracking
initialTrackCandArrayArray of track candidates from STT tracking
initialHitArrayArray of all BTOF hits

Referenced by ~PndSTEBTof().


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