PandaRoot
PndSTETrackBase Class Reference

#include <PndSTETrackBase.h>

Inheritance diagram for PndSTETrackBase:
PndSTESettings PndSTEBTof PndSTEGem PndSTEMvd PndSTEMvdHelix PndSTEMvdHitFinder PndSTEMvdIdeal PndSTETools PndSTETrackCreator

Public Member Functions

 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)
 

Protected Member Functions

 ClassDef (PndSTETrackBase, 1)
 
- Protected Member Functions inherited from PndSTESettings
 ClassDef (PndSTESettings, 1)
 

Protected Attributes

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

PndSTETrackBase

Author
Jenny Regina jenny.nosp@m..reg.nosp@m.ina@p.nosp@m.hysi.nosp@m.cs.uu.nosp@m..se July 2021
Version
1.0

Base class for hit inclusion algorithms

Task Level RECO

Definition at line 23 of file PndSTETrackBase.h.

Constructor & Destructor Documentation

◆ PndSTETrackBase()

PndSTETrackBase::PndSTETrackBase ( )
inline

Default Constructor

Definition at line 27 of file PndSTETrackBase.h.

27 {};

◆ ~PndSTETrackBase()

virtual PndSTETrackBase::~PndSTETrackBase ( )
inlinevirtual

Default Destructor

Definition at line 30 of file PndSTETrackBase.h.

30  {
31 
32  };

Member Function Documentation

◆ ClassDef()

PndSTETrackBase::ClassDef ( PndSTETrackBase  ,
 
)
protected

◆ GetRiemannTrack()

PndRiemannTrack PndSTETrackBase::GetRiemannTrack ( int  i)
inline

Function to get a Riemann track after the refit.

Definition at line 41 of file PndSTETrackBase.h.

References fRiemannTracks, and i.

41 { return fRiemannTracks[i]; };
unsigned int i
Definition: P4_F32vec4.h:21
std::vector< PndRiemannTrack > fRiemannTracks

◆ GetTrack()

PndTrack PndSTETrackBase::GetTrack ( int  i)
inline

Function to get a track after the refit.

Definition at line 35 of file PndSTETrackBase.h.

References fTracks, and i.

35 { return fTracks[i]; };
unsigned int i
Definition: P4_F32vec4.h:21
std::vector< PndTrack > fTracks

◆ GetTrackCand()

PndTrackCand PndSTETrackBase::GetTrackCand ( int  i)
inline

Function to get a track candidate after the refit.

Definition at line 38 of file PndSTETrackBase.h.

References fTrackCands, and i.

38 { return fTrackCands[i]; };
std::vector< PndTrackCand > fTrackCands
unsigned int i
Definition: P4_F32vec4.h:21

◆ NumRiemannTracks()

int PndSTETrackBase::NumRiemannTracks ( )
inline

Function to get the number of Riemann tracks after the refit.

Definition at line 47 of file PndSTETrackBase.h.

References fMapMvdHitBranchId, and fRiemannTracks.

47 { return fRiemannTracks.size(); };
std::vector< PndRiemannTrack > fRiemannTracks

◆ NumTrackCands()

int PndSTETrackBase::NumTrackCands ( )
inline

Function to get the number of track candidates after the refit.

Definition at line 44 of file PndSTETrackBase.h.

References fTrackCands.

44 { return fTrackCands.size(); };
std::vector< PndTrackCand > fTrackCands

Member Data Documentation

◆ fChi2OneHit

std::vector<double> PndSTETrackBase::fChi2OneHit
protected

Definition at line 63 of file PndSTETrackBase.h.

◆ fChi2OneHitSZ

std::vector<double> PndSTETrackBase::fChi2OneHitSZ
protected

Definition at line 68 of file PndSTETrackBase.h.

◆ fLineSlope

double PndSTETrackBase::fLineSlope = 0
protected

Definition at line 61 of file PndSTETrackBase.h.

Referenced by PndSTETools::GetLineSlope().

◆ fMapChi2OneHitMvdHit

std::map<double, PndSdsHit *> PndSTETrackBase::fMapChi2OneHitMvdHit
protected

Definition at line 66 of file PndSTETrackBase.h.

◆ fMapChi2OneHitMvdHitSZ

std::map<double, PndSdsHit *> PndSTETrackBase::fMapChi2OneHitMvdHitSZ
protected

Definition at line 71 of file PndSTETrackBase.h.

◆ fMapMvdHitBranchId

std::map<PndSdsHit *, int> PndSTETrackBase::fMapMvdHitBranchId
protected

Definition at line 47 of file PndSTETrackBase.h.

Referenced by NumRiemannTracks().

◆ fReducedChi2

double PndSTETrackBase::fReducedChi2 = 0
protected

Definition at line 65 of file PndSTETrackBase.h.

◆ fReducedChi2SZ

double PndSTETrackBase::fReducedChi2SZ = 0
protected

Definition at line 70 of file PndSTETrackBase.h.

◆ fRiemannTracks

std::vector<PndRiemannTrack> PndSTETrackBase::fRiemannTracks
protected

Definition at line 55 of file PndSTETrackBase.h.

Referenced by GetRiemannTrack(), and NumRiemannTracks().

◆ fSumChi2

double PndSTETrackBase::fSumChi2 = 0
protected

Definition at line 64 of file PndSTETrackBase.h.

◆ fSumChi2SZ

double PndSTETrackBase::fSumChi2SZ = 0
protected

Definition at line 69 of file PndSTETrackBase.h.

◆ fTrackCands

std::vector<PndTrackCand> PndSTETrackBase::fTrackCands
protected

Definition at line 53 of file PndSTETrackBase.h.

Referenced by GetTrackCand(), and NumTrackCands().

◆ fTracks

std::vector<PndTrack> PndSTETrackBase::fTracks
protected

Definition at line 54 of file PndSTETrackBase.h.

Referenced by GetTrack().

◆ fxc

double PndSTETrackBase::fxc
protected

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

Definition at line 59 of file PndSTETrackBase.h.


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