PandaRoot
PndSTETask Class Reference

#include <PndSTETask.h>

Inheritance diagram for PndSTETask:
PndSTESettings

Public Member Functions

 PndSTETask ()
 
virtual ~PndSTETask ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void FinishEvent ()
 
void SetPersistence (bool val)
 Function to set the persistency, true as default. More...
 
void SetInputTrackBranchName (TString trackName)
 Function to set the input track branch name. More...
 
void SetInputTrackCandBranchName (TString trackName)
 Function to set the input track cand branch name. More...
 
void SetInputRiemannTrackBranchName (TString trackName)
 Function to set the input Riemann branch name. More...
 
void SetOutputBranchNamePrefix (TString trackName)
 Function to set the prefix to the output branch name Default output branch name is "Track" that is used if no prefix is given. More...
 
void InitHitArray (TString branchName)
 Function to choose if the hit finding should be done on time based data. More...
 
void InitTrackArray (TString branchName)
 Function for initiating the chosen track type. More...
 
void InitRiemannTrackArray (TString branchName)
 Function to initiate the chosen type of Riemann tracks. More...
 
void InitTrackCandArray (TString branchName)
 Function to initiate the chosen type of track cands. More...
 
void AddHitBranch (TString branchName)
 Function to add chosen hit branches to the algorithm. 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 PndSTESettings
 ClassDef (PndSTESettings, 1)
 
- 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 24 of file PndSTETask.h.

Constructor & Destructor Documentation

◆ PndSTETask()

PndSTETask::PndSTETask ( )
inline

Constructor

Definition at line 27 of file PndSTETask.h.

27 : FairTask("Mvd Tracker Task"){};

◆ ~PndSTETask()

virtual PndSTETask::~PndSTETask ( )
inlinevirtual

Default Destructor

Definition at line 30 of file PndSTETask.h.

References Exec(), FinishEvent(), and Init().

30 {};

Member Function Documentation

◆ AddHitBranch()

void PndSTETask::AddHitBranch ( TString  branchName)
inline

Function to add chosen hit branches to the algorithm.

Definition at line 83 of file PndSTETask.h.

83 { fHitBranchName.push_back(branchName); };

◆ Exec()

virtual void PndSTETask::Exec ( Option_t *  opt)
virtual

Referenced by ~PndSTETask().

◆ FinishEvent()

virtual void PndSTETask::FinishEvent ( )
virtual

Referenced by ~PndSTETask().

◆ Init()

virtual InitStatus PndSTETask::Init ( )
virtual

Referenced by ~PndSTETask().

◆ InitHitArray()

void PndSTETask::InitHitArray ( TString  branchName)

Function to choose if the hit finding should be done on time based data.

User option for removing short tracks. It has been found that with e.g. the SttCellTrackFinder short tracks with roughly less that 15 hits tend to be poorly fitted with poor momentum resolution. Default is trueFunction for filtering out the short tracks Right now the output from this function is not used but the tracks are manually filtered in the PndSTEMvd.cxx if neededFunction for initiating the chosen hit type

Referenced by SetOutputBranchNamePrefix().

◆ InitRiemannTrackArray()

void PndSTETask::InitRiemannTrackArray ( TString  branchName)

Function to initiate the chosen type of Riemann tracks.

Referenced by SetOutputBranchNamePrefix().

◆ InitTrackArray()

void PndSTETask::InitTrackArray ( TString  branchName)

Function for initiating the chosen track type.

Referenced by SetOutputBranchNamePrefix().

◆ InitTrackCandArray()

void PndSTETask::InitTrackCandArray ( TString  branchName)

Function to initiate the chosen type of track cands.

Referenced by SetOutputBranchNamePrefix().

◆ SetInputRiemannTrackBranchName()

void PndSTETask::SetInputRiemannTrackBranchName ( TString  trackName)
inline

Function to set the input Riemann branch name.

Definition at line 48 of file PndSTETask.h.

48 { fInputRiemannTrackBranchName = trackName; };

◆ SetInputTrackBranchName()

void PndSTETask::SetInputTrackBranchName ( TString  trackName)
inline

Function to set the input track branch name.

Definition at line 42 of file PndSTETask.h.

42 { fInputTrackBranchName = trackName; };

◆ SetInputTrackCandBranchName()

void PndSTETask::SetInputTrackCandBranchName ( TString  trackName)
inline

Function to set the input track cand branch name.

Definition at line 45 of file PndSTETask.h.

45 { fInputTrackCandBranchName = trackName; };

◆ SetOutputBranchNamePrefix()

void PndSTETask::SetOutputBranchNamePrefix ( TString  trackName)
inline

Function to set the prefix to the output branch name Default output branch name is "Track" that is used if no prefix is given.

Definition at line 53 of file PndSTETask.h.

References InitHitArray(), InitRiemannTrackArray(), InitTrackArray(), and InitTrackCandArray().

53 { fOutBranchNamePrefix = trackName; };

◆ SetPersistence()

void PndSTETask::SetPersistence ( bool  val)
inline

Function to set the persistency, true as default.

Definition at line 39 of file PndSTETask.h.

39 { fPersistence = val; };

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