![]() |
PandaRoot
|
Base class for accessing PID detector information of muon system (MDT, FMDT). More...
#include <PndPidMuonSystemInfo.h>
Public Member Functions | |
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... | |
PndTrack * | AddMdtTrack (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... | |
![]() | |
PndPidDetectorInfo () | |
Default constructor. More... | |
virtual | ~PndPidDetectorInfo () |
virtual Bool_t | GetInfo (PndTrack *track, PndPidCandidate *pidCand)=0 |
Include detector information in charged PidCandidate. More... | |
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) |
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 (PndPidMuonSystemInfo, 1) | |
![]() | |
ClassDef (PndPidDetectorInfo, 1) | |
Protected Attributes | |
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< PndRecoKalmanFit > | fFitter {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... | |
![]() | |
Short_t | fDetMode = -1 |
Detector Mode. More... | |
Bool_t | fUsePropagator = kFALSE |
kTRUE to use propagator like PndGeanePro. More... | |
PndPropagator * | fPropagator = 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::DetectorParams * | fDetectorParams = nullptr |
TNtuple * | fDetCorr = nullptr |
Debug ntuple. More... | |
PndPidCorrPar * | fCorrPar = new PndPidCorrPar() |
Correlation parameters. More... | |
Base class for accessing PID detector information of muon system (MDT, FMDT).
This class includes attributes and functions that are shared by MDT and FMDT.
Definition at line 27 of file PndPidMuonSystemInfo.h.
PndPidMuonSystemInfo::PndPidMuonSystemInfo | ( | ) |
Default constructor.
PndPidMuonSystemInfo::~PndPidMuonSystemInfo | ( | ) |
Default destructor.
Creates a new hit in the fMdtTrack TCA.
track | Track to be added. |
Referenced by RegisterMdtTrack().
|
protected |
Bool_t PndPidMuonSystemInfo::MdtGeometry | ( | ) |
Fill fMdtLayerPos and fMdtIronThickness.
Referenced by RegisterMdtTrack().
Bool_t PndPidMuonSystemInfo::MdtMapping | ( | ) |
Fill fMapMdtBarrel, fMapMdtEndcap and fMapMdtForward.
Referenced by RegisterMdtTrack().
|
inlinevirtual |
Reimplemented from PndPidDetectorInfo.
Definition at line 32 of file PndPidMuonSystemInfo.h.
References fMdtRefit, and RegisterMdtTrack().
|
inline |
Definition at line 40 of file PndPidMuonSystemInfo.h.
References AddMdtTrack(), fMdtTrack, MdtGeometry(), MdtMapping(), Reset(), SetDetectorHits(), SetMdtRefit(), and Setup().
Referenced by Register().
|
virtual |
Clear MDT hit maps, call ResetMdtTrack() and refill hit maps calling MdtMapping().
Reimplemented from PndPidDetectorInfo.
Referenced by RegisterMdtTrack().
|
inline |
Definition at line 36 of file PndPidMuonSystemInfo.h.
References fMdtRefit, and fMdtTrack.
|
virtual |
Fill detector hit TCAs and adjust detector mode.
manager | Needed to get FtofHit and FtofPoint TCAs of event. |
Implements PndPidDetectorInfo.
Referenced by RegisterMdtTrack().
Bool_t PndPidMuonSystemInfo::SetMdtRefit | ( | Bool_t | mdt_refit | ) |
Set fMdtRefit and perform refit.
mdt_refit | Perform refit if kTRUE. |
Referenced by RegisterMdtTrack().
|
virtual |
Setup muon system info.
manager | Needed to get all relevant TCAs of event. |
propagator | Propagator to be used in track-hit correlation. |
params | Set of detector and track parameters that is passed from PndPidCorrelator. |
Reimplemented from PndPidDetectorInfo.
Referenced by RegisterMdtTrack().
|
protected |
Fitter for refit of Mdt track.
Definition at line 103 of file PndPidMuonSystemInfo.h.
|
protected |
map of MDT barrel hits -> not used at the moment
Definition at line 106 of file PndPidMuonSystemInfo.h.
|
protected |
map of MDT endcap+muon filter hits -> not used at the moment
Definition at line 107 of file PndPidMuonSystemInfo.h.
|
protected |
map of MDT forward hits -> used for Fmdt
Definition at line 108 of file PndPidMuonSystemInfo.h.
|
protected |
Mdt hit TCA.
Definition at line 97 of file PndPidMuonSystemInfo.h.
|
protected |
thickness of iron layers
Definition at line 105 of file PndPidMuonSystemInfo.h.
|
protected |
position of MDT layers
Definition at line 104 of file PndPidMuonSystemInfo.h.
|
protected |
Mdt point TCA.
Definition at line 98 of file PndPidMuonSystemInfo.h.
|
protected |
kTRUE if refit Mdt track.
Definition at line 101 of file PndPidMuonSystemInfo.h.
Referenced by Register(), and ResetMdtTrack().
|
protected |
Mdt track TCA.
Definition at line 100 of file PndPidMuonSystemInfo.h.
Referenced by RegisterMdtTrack(), and ResetMdtTrack().
|
protected |
Mdt trk TCA.
Definition at line 99 of file PndPidMuonSystemInfo.h.