PandaRoot
PndPidSttInfo Class Reference

Class for accessing PID detector information of STT. More...

#include <PndPidSttInfo.h>

Inheritance diagram for PndPidSttInfo:
PndPidTrackingDetectorInfo PndPidDetectorInfo

Public Member Functions

 PndPidSttInfo ()
 Default constructor. More...
 
 ~PndPidSttInfo ()
 Default destructor. More...
 
void SetGeoPar (FairRuntimeDb *db)
 
Bool_t SetParContainers (FairRuntimeDb *db)
 
Int_t SetDetectorHits (FairRootManager *manager)
 Fill detector hit TCAs and adjust detector mode. More...
 
Bool_t Setup (FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
 Setup STT info. More...
 
Bool_t GetInfo (PndTrack *track, PndPidCandidate *pidCand)
 Add STT information to PidCandidate. More...
 
- Public Member Functions inherited from PndPidTrackingDetectorInfo
 PndPidTrackingDetectorInfo ()
 
virtual ~PndPidTrackingDetectorInfo ()
 Default constructor. More...
 
Bool_t Setup (FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
 Default destructor. More...
 
 ClassDef (PndPidTrackingDetectorInfo, 1)
 
- Public Member Functions inherited from PndPidDetectorInfo
 PndPidDetectorInfo ()
 Default constructor. More...
 
virtual ~PndPidDetectorInfo ()
 
virtual void GetNeutralInfo (Int_t, TClonesArray *)
 Include detector information in neutral PidCandidate. More...
 
virtual void ActivateDebugNtuple (Bool_t debug_mode)
 Set debug mode of detector. More...
 
void SetDetectorMode (Short_t detector_mode)
 
void SetUsePropagator (Bool_t use_propagator)
 
void SetPropagator (PndPropagator *propagator)
 
void SetIdeal (Bool_t is_ideal)
 
void SetPidHypo (Int_t pid_hyp)
 
void SetVerbose (Int_t verbose)
 
void SetCorrPar (PndPidCorrPar *pid_corr_par)
 
TNtuple * GetDetCorr ()
 
Int_t GetDetectorMode ()
 
void Finish ()
 
virtual void Reset ()
 
virtual void Register ()
 
virtual Bool_t Propagate (TVector3 pos, FairTrackParH *helix, FairTrackParH *res, Int_t pdg_code, Int_t direction=1)
 Call propagator to propagate track to detector. More...
 
virtual Bool_t Propagate (std::string volume, FairTrackParH *helix, FairTrackParH *res, Int_t pdg_code)
 Call propagator to propagate track to detector. More...
 

Protected Member Functions

 ClassDef (PndPidSttInfo, 1)
 
- Protected Member Functions inherited from PndPidDetectorInfo
 ClassDef (PndPidDetectorInfo, 1)
 

Protected Attributes

TClonesArray * fSttHit = nullptr
 Stt hit TCA. More...
 
PndGeoSttParfSttParameters = new PndGeoSttPar()
 Stt geometry parameters. More...
 
- Protected Attributes inherited from PndPidDetectorInfo
Short_t fDetMode = -1
 Detector Mode. More...
 
Bool_t fUsePropagator = kFALSE
 kTRUE to use propagator like PndGeanePro. More...
 
PndPropagatorfPropagator = nullptr
 
Bool_t fIdeal = kFALSE
 Use MC information for ideal correlation. More...
 
Bool_t fDebugMode = kTRUE
 kTRUE to fill debug ntuples More...
 
Int_t fPidHyp = 0
 Particle Id hypothesis (pdg particle code) More...
 
Int_t fVerbose = 0
 Verbosity level. More...
 
Float_t fGLength = -1000
 
PndPidDetectorParams::DetectorParamsfDetectorParams = nullptr
 
TNtuple * fDetCorr = nullptr
 Debug ntuple. More...
 
PndPidCorrParfCorrPar = new PndPidCorrPar()
 Correlation parameters. More...
 

Detailed Description

Class for accessing PID detector information of STT.

Author
Sarah Gaiser gaise.nosp@m.r@hi.nosp@m.skp.u.nosp@m.ni-b.nosp@m.onn.d.nosp@m.e, HISKP Bonn
Version
1.0
Date
Jan 2021

Definition at line 24 of file PndPidSttInfo.h.

Constructor & Destructor Documentation

◆ PndPidSttInfo()

PndPidSttInfo::PndPidSttInfo ( )

Default constructor.

◆ ~PndPidSttInfo()

PndPidSttInfo::~PndPidSttInfo ( )

Default destructor.

Member Function Documentation

◆ ClassDef()

PndPidSttInfo::ClassDef ( PndPidSttInfo  ,
 
)
protected

◆ GetInfo()

Bool_t PndPidSttInfo::GetInfo ( PndTrack track,
PndPidCandidate pidCand 
)
virtual

Add STT information to PidCandidate.

Get information on detector hits and energy loss from track.

Parameters
trackOne of the detected tracks in current event.
pidCandPidCandidate belonging to track.
Returns
kTRUE if successful.

Implements PndPidDetectorInfo.

Referenced by SetParContainers().

◆ SetDetectorHits()

Int_t PndPidSttInfo::SetDetectorHits ( FairRootManager *  manager)
virtual

Fill detector hit TCAs and adjust detector mode.

Parameters
managerNeeded to get fSttHit TCA of event.
Returns
Adjusted detector mode.

Implements PndPidDetectorInfo.

Referenced by SetParContainers().

◆ SetGeoPar()

void PndPidSttInfo::SetGeoPar ( FairRuntimeDb *  db)
inline

Definition at line 29 of file PndPidSttInfo.h.

References fSttParameters.

Referenced by SetParContainers().

29 { fSttParameters = (PndGeoSttPar *)db->getContainer("PndGeoSttPar"); };
PndGeoSttPar * fSttParameters
Stt geometry parameters.
Definition: PndPidSttInfo.h:64

◆ SetParContainers()

Bool_t PndPidSttInfo::SetParContainers ( FairRuntimeDb *  db)
inlinevirtual

Reimplemented from PndPidDetectorInfo.

Definition at line 31 of file PndPidSttInfo.h.

References GetInfo(), SetDetectorHits(), SetGeoPar(), and Setup().

32  {
33  SetGeoPar(db);
34  return kTRUE;
35  }
void SetGeoPar(FairRuntimeDb *db)
Definition: PndPidSttInfo.h:29

◆ Setup()

Bool_t PndPidSttInfo::Setup ( FairRootManager *  manager,
PndPropagator propagator,
PndPidDetectorParams::DetectorParams params 
)
virtual

Setup STT info.

Parameters
managerNeeded to get all relevant TCAs of event.
propagatorPropagator to be used in track-hit correlation.
paramsSet of detector and track parameters that is passed from PndPidCorrelator.
Returns
kTRUE if successful.

Reimplemented from PndPidDetectorInfo.

Referenced by SetParContainers().

Member Data Documentation

◆ fSttHit

TClonesArray* PndPidSttInfo::fSttHit = nullptr
protected

Stt hit TCA.

Definition at line 63 of file PndPidSttInfo.h.

◆ fSttParameters

PndGeoSttPar* PndPidSttInfo::fSttParameters = new PndGeoSttPar()
protected

Stt geometry parameters.

Definition at line 64 of file PndPidSttInfo.h.

Referenced by SetGeoPar().


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