PandaRoot
PndSTESettings Class Reference

#include <PndSTESettings.h>

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

Public Member Functions

 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 (PndSTESettings, 1)
 

Protected Attributes

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

PndSTESettings

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

Class containing variables and settings common for hit inclusion algorithms and the task

Task Level RECO

Definition at line 24 of file PndSTESettings.h.

Constructor & Destructor Documentation

◆ PndSTESettings()

PndSTESettings::PndSTESettings ( )
inline

Default Constructor

Definition at line 28 of file PndSTESettings.h.

28 {};

◆ ~PndSTESettings()

virtual PndSTESettings::~PndSTESettings ( )
inlinevirtual

Default Destructor

Definition at line 31 of file PndSTESettings.h.

References SetMagneticField().

31  {
32 
33  };

Member Function Documentation

◆ ClassDef()

PndSTESettings::ClassDef ( PndSTESettings  ,
 
)
protected

◆ GetMagneticField()

double PndSTESettings::GetMagneticField ( )
inline

Definition at line 38 of file PndSTESettings.h.

References fBz.

38 { return fBz; }

◆ IncludeDetector()

void PndSTESettings::IncludeDetector ( bool  includeMvd,
bool  includeGem,
bool  includeBtof 
)
inline

Function to choose which detectors to include.

Definition at line 41 of file PndSTESettings.h.

References fIncludeBtof, fIncludeGem, and fIncludeMvd.

42  {
43  fIncludeMvd = includeMvd;
44  fIncludeGem = includeGem;
45  fIncludeBtof = includeBtof;
46  };

◆ SetBtofHitDist()

void PndSTESettings::SetBtofHitDist ( Double_t  val)
inline

Function to set the maximum allowed distance of closest approach between the BTOF hit and the track.

Definition at line 55 of file PndSTESettings.h.

References fBtofHitDist.

55 { fBtofHitDist = val; };

◆ SetDrawTracks()

void PndSTESettings::SetDrawTracks ( bool  val)
inline

Function to set if a track should be drawn

Definition at line 92 of file PndSTESettings.h.

References fDrawTrack.

92 { fDrawTrack = val; }

◆ SetGemHitDist()

void PndSTESettings::SetGemHitDist ( Double_t  val)
inline

Function to set the maximum allowed distance of closest approach between the GEM hit and the track.

Definition at line 52 of file PndSTESettings.h.

References fGemHitDist.

52 { fGemHitDist = val; };

◆ SetMagneticField()

void PndSTESettings::SetMagneticField ( )

Function to set the magnetic field strength.

Referenced by ~PndSTESettings().

◆ SetMvdHitDist()

void PndSTESettings::SetMvdHitDist ( Double_t  val)
inline

Function to set the maximum allowed distance of closest approach between the MVD hit and the track.

Definition at line 49 of file PndSTESettings.h.

References fMvdHitDist.

49 { fMvdHitDist = val; };

◆ SetNoAreaExclusion()

void PndSTESettings::SetNoAreaExclusion ( bool  val)
inline

Function to choose if there is an area exclusion in the Mvd hit inclusion.

By default there is no area exclusion. This function is used to choose to exclude no area, fNoMVDAreaExclusion=true if no area should be excluded

Definition at line 79 of file PndSTESettings.h.

References fNoMVDAreaExclusion.

79 { fNoMVDAreaExclusion = val; };

◆ SetRunIn3D()

void PndSTESettings::SetRunIn3D ( bool  val)
inline

Function to choose if the 2D or 3D function should be used.

If fRunIn3D = true the 3D funtion is used, if fRunIn3D = false the 2D function is used

Definition at line 73 of file PndSTESettings.h.

References fRunIn3D.

73 { fRunIn3D = val; };

◆ SetUseHelix()

void PndSTESettings::SetUseHelix ( Bool_t  val)
inline

Function to set ia a helix extrapolation should be used in the procedure.

Definition at line 58 of file PndSTESettings.h.

References fUseHelix.

58 { fUseHelix = val; };

◆ SetUseHemisphere()

void PndSTESettings::SetUseHemisphere ( bool  useHemisphere)
inline

Function to choose to use the hemispehere method for excluding a certain area of the detector.

Definition at line 82 of file PndSTESettings.h.

References fUseHemisphere.

82 { fUseHemisphere = useHemisphere; };

◆ SetUseIdealTrack()

void PndSTESettings::SetUseIdealTrack ( bool  val)
inline

Function to choose to give an ideal track as input to the MVD hit fiinding.

This is for testing purpouses to minimize possible biases from previous hit clusterization algorithms. If an ideal track is used, a Riemann track will be fitted to the clustered hits

Definition at line 68 of file PndSTESettings.h.

References fIdealTrack.

68 { fIdealTrack = val; };

◆ SetUseRiemannTrack()

void PndSTESettings::SetUseRiemannTrack ( Bool_t  val)
inline

Function to set ia a Riemann track should be used in the procedure.

Definition at line 61 of file PndSTESettings.h.

References fUseRiemann.

61 { fUseRiemann = val; };

◆ SetWeightsMvdHit()

void PndSTESettings::SetWeightsMvdHit ( double  weight)
inline

Function to set the proper weights for the MVD hits for the Riemann fitting procedure.

Definition at line 85 of file PndSTESettings.h.

References fAdjustWeightsMvd, and fWeightMVD.

86  {
87  fWeightMVD = weight;
88  fAdjustWeightsMvd = true;
89  };

Member Data Documentation

◆ fAdjustWeightsMvd

bool PndSTESettings::fAdjustWeightsMvd = false
protected

Definition at line 107 of file PndSTESettings.h.

Referenced by SetWeightsMvdHit().

◆ fBtofHitDist

double PndSTESettings::fBtofHitDist = 9999999.0
protected

Definition at line 112 of file PndSTESettings.h.

Referenced by SetBtofHitDist().

◆ fBz

double PndSTESettings::fBz
protected

Definition at line 99 of file PndSTESettings.h.

Referenced by GetMagneticField().

◆ fDrawTrack

bool PndSTESettings::fDrawTrack = false
protected

Definition at line 114 of file PndSTESettings.h.

Referenced by SetDrawTracks().

◆ fGemHitDist

double PndSTESettings::fGemHitDist = 9999999.0
protected

Definition at line 111 of file PndSTESettings.h.

Referenced by SetGemHitDist().

◆ fIdealTrack

bool PndSTESettings::fIdealTrack = false
protected

Definition at line 102 of file PndSTESettings.h.

Referenced by SetUseIdealTrack().

◆ fIncludeBtof

bool PndSTESettings::fIncludeBtof = false
protected

Definition at line 97 of file PndSTESettings.h.

Referenced by IncludeDetector().

◆ fIncludeGem

bool PndSTESettings::fIncludeGem = false
protected

Definition at line 96 of file PndSTESettings.h.

Referenced by IncludeDetector().

◆ fIncludeMvd

bool PndSTESettings::fIncludeMvd = false
protected

Definition at line 95 of file PndSTESettings.h.

Referenced by IncludeDetector().

◆ fMvdHitDist

double PndSTESettings::fMvdHitDist = 9999999.0
protected

Definition at line 110 of file PndSTESettings.h.

Referenced by SetMvdHitDist().

◆ fNoMVDAreaExclusion

bool PndSTESettings::fNoMVDAreaExclusion = false
protected

Definition at line 106 of file PndSTESettings.h.

Referenced by SetNoAreaExclusion().

◆ fRunIn3D

bool PndSTESettings::fRunIn3D = false
protected

Definition at line 104 of file PndSTESettings.h.

Referenced by SetRunIn3D().

◆ fUseHelix

bool PndSTESettings::fUseHelix = false
protected

Definition at line 101 of file PndSTESettings.h.

Referenced by SetUseHelix().

◆ fUseHemisphere

bool PndSTESettings::fUseHemisphere = false
protected

Definition at line 105 of file PndSTESettings.h.

Referenced by SetUseHemisphere().

◆ fUseRiemann

bool PndSTESettings::fUseRiemann = false
protected

Definition at line 103 of file PndSTESettings.h.

Referenced by SetUseRiemannTrack().

◆ fWeightMVD

double PndSTESettings::fWeightMVD = -1.0
protected

Definition at line 108 of file PndSTESettings.h.

Referenced by SetWeightsMvdHit().


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