PandaRoot
PndPidFmdtInfo Class Reference

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

#include <PndPidFmdtInfo.h>

Inheritance diagram for PndPidFmdtInfo:
PndPidMuonSystemInfo PndPidDetectorInfo

Public Member Functions

 PndPidFmdtInfo ()
 Default constrcutor. More...
 
 ~PndPidFmdtInfo ()
 Default destructor. More...
 
void SetCorrErrorProp (Bool_t corr_err_prop)
 
void ActivateDebugNtuple (Bool_t debug_mode)
 Set debug mode of detector. More...
 
virtual Bool_t Propagate (TVector3 vertex, FairTrackParH *helix, FairTrackParP *res, Int_t pdg_code)
 Call propagator to propagate track to detector. More...
 
Bool_t GetInfo (PndTrack *track, PndPidCandidate *pidCand)
 Add FMDT information to PidCandidate. More...
 
- Public Member Functions inherited from PndPidMuonSystemInfo
 PndPidMuonSystemInfo ()
 Default constructor. More...
 
 ~PndPidMuonSystemInfo ()
 Default destructor. More...
 
void Register ()
 
void ResetMdtTrack ()
 
void RegisterMdtTrack ()
 
Int_t SetDetectorHits (FairRootManager *manager)
 Fill detector hit TCAs and adjust detector mode. More...
 
Bool_t SetMdtRefit (Bool_t mdt_refit)
 Set fMdtRefit and perform refit. More...
 
Bool_t Setup (FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
 Setup muon system info. More...
 
void Reset ()
 Clear MDT hit maps, call ResetMdtTrack() and refill hit maps calling MdtMapping(). More...
 
PndTrackAddMdtTrack (PndTrack *track)
 Creates a new hit in the fMdtTrack TCA. More...
 
Bool_t MdtMapping ()
 Fill fMapMdtBarrel, fMapMdtEndcap and fMapMdtForward. More...
 
Bool_t MdtGeometry ()
 Fill fMdtLayerPos and fMdtIronThickness. More...
 
- 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...
 
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)
 
virtual Bool_t SetParContainers (FairRuntimeDb *)
 
TNtuple * GetDetCorr ()
 
Int_t GetDetectorMode ()
 
void Finish ()
 
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 (PndPidFmdtInfo, 1)
 
- Protected Member Functions inherited from PndPidMuonSystemInfo
 ClassDef (PndPidMuonSystemInfo, 1)
 
- Protected Member Functions inherited from PndPidDetectorInfo
 ClassDef (PndPidDetectorInfo, 1)
 

Protected Attributes

Bool_t fCorrErrorProp = kTRUE
 kTRUE if include error propagation in correlation More...
 
- Protected Attributes inherited from PndPidMuonSystemInfo
TClonesArray * fMdtHit = nullptr
 Mdt hit TCA. More...
 
TClonesArray * fMdtPoint = nullptr
 Mdt point TCA. More...
 
TClonesArray * fMdtTrk = nullptr
 Mdt trk TCA. More...
 
TClonesArray * fMdtTrack = nullptr
 Mdt track TCA. More...
 
Bool_t fMdtRefit
 kTRUE if refit Mdt track. More...
 
std::unique_ptr< PndRecoKalmanFitfFitter {nullptr}
 Fitter for refit of Mdt track. More...
 
Float_t fMdtLayerPos [3][20]
 position of MDT layers More...
 
Float_t fMdtIronThickness [3][20]
 thickness of iron layers More...
 
std::map< Int_t, std::vector< Int_t > > fMapMdtBarrel
 map of MDT barrel hits -> not used at the moment More...
 
std::map< Int_t, std::vector< Int_t > > fMapMdtEndcap
 map of MDT endcap+muon filter hits -> not used at the moment More...
 
std::map< Int_t, std::vector< Int_t > > fMapMdtForward
 map of MDT forward hits -> used for Fmdt 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 FMDT.

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 20 of file PndPidFmdtInfo.h.

Constructor & Destructor Documentation

◆ PndPidFmdtInfo()

PndPidFmdtInfo::PndPidFmdtInfo ( )

Default constrcutor.

◆ ~PndPidFmdtInfo()

PndPidFmdtInfo::~PndPidFmdtInfo ( )

Default destructor.

Member Function Documentation

◆ ActivateDebugNtuple()

void PndPidFmdtInfo::ActivateDebugNtuple ( Bool_t  debug_mode)
virtual

Set debug mode of detector.

Includes the setup of debug ntuples.

Parameters
debug_modeIf kTRUE create and fill debug ntuples.

Reimplemented from PndPidDetectorInfo.

Referenced by SetCorrErrorProp().

◆ ClassDef()

PndPidFmdtInfo::ClassDef ( PndPidFmdtInfo  ,
 
)
protected

◆ GetInfo()

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

Add FMDT information to PidCandidate.

Correlate given track and detector hit.

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

Implements PndPidDetectorInfo.

Referenced by SetCorrErrorProp().

◆ Propagate()

virtual Bool_t PndPidFmdtInfo::Propagate ( TVector3  vertex,
FairTrackParH *  helix,
FairTrackParP *  res,
Int_t  pdg_code 
)
virtual

Call propagator to propagate track to detector.

Parameters
vertexBest guess of hit position
helixIncoming track
pdg_codePDG code of the particle which is propagated

Referenced by SetCorrErrorProp().

◆ SetCorrErrorProp()

void PndPidFmdtInfo::SetCorrErrorProp ( Bool_t  corr_err_prop)
inline

Definition at line 25 of file PndPidFmdtInfo.h.

References ActivateDebugNtuple(), fCorrErrorProp, GetInfo(), and Propagate().

25 { fCorrErrorProp = corr_err_prop; };
Bool_t fCorrErrorProp
kTRUE if include error propagation in correlation

Member Data Documentation

◆ fCorrErrorProp

Bool_t PndPidFmdtInfo::fCorrErrorProp = kTRUE
protected

kTRUE if include error propagation in correlation

Definition at line 52 of file PndPidFmdtInfo.h.

Referenced by SetCorrErrorProp().


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