PandaRoot
PndPidMvdInfo Class Reference

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

#include <PndPidMvdInfo.h>

Inheritance diagram for PndPidMvdInfo:
PndPidTrackingDetectorInfo PndPidDetectorInfo

Public Member Functions

 PndPidMvdInfo ()
 Default constructor. More...
 
 ~PndPidMvdInfo ()
 default destructor. More...
 
void SetFast (Bool_t fast_mode)
 
void Reset ()
 
virtual 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 FTS info. More...
 
virtual Bool_t GetInfo (PndTrack *track, PndPidCandidate *pidCand)
 Add MVD 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)
 
virtual Bool_t SetParContainers (FairRuntimeDb *)
 
TNtuple * GetDetCorr ()
 
Int_t GetDetectorMode ()
 
void Finish ()
 
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 (PndPidMvdInfo, 1)
 
- Protected Member Functions inherited from PndPidDetectorInfo
 ClassDef (PndPidDetectorInfo, 1)
 

Protected Attributes

TClonesArray * fMvdHitsStrip = nullptr
 Mvd strip detector hits TCA. More...
 
TClonesArray * fMvdHitsPixel = nullptr
 Mvd pixel detector hits TCA. More...
 
std::unique_ptr< PndGeoHandlingfGeoH {nullptr}
 Handler for MVD geometry. More...
 
Double_t fMvdELoss = 0
 Energy Loss in MVD. More...
 
Double_t fMvdPath = 0
 MVD path crossed by the particle. More...
 
Int_t fMvdHitCount = 0
 Number of mvd hits. More...
 
Bool_t fFast
 if kTRUE add only number of hits in MVD. 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 MVD.

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 25 of file PndPidMvdInfo.h.

Constructor & Destructor Documentation

◆ PndPidMvdInfo()

PndPidMvdInfo::PndPidMvdInfo ( )

Default constructor.

◆ ~PndPidMvdInfo()

PndPidMvdInfo::~PndPidMvdInfo ( )

default destructor.

Member Function Documentation

◆ ClassDef()

PndPidMvdInfo::ClassDef ( PndPidMvdInfo  ,
 
)
protected

◆ GetInfo()

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

Add MVD 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 SetFast().

◆ Reset()

void PndPidMvdInfo::Reset ( )
virtual

Reimplemented from PndPidDetectorInfo.

Referenced by SetFast().

◆ SetDetectorHits()

virtual Int_t PndPidMvdInfo::SetDetectorHits ( FairRootManager *  manager)
virtual

Fill detector hit TCAs and adjust detector mode.

Parameters
managerNeeded to get fMvdHitsStrip and fMvdHitsPixel TCAs of event.
Returns
Adjusted detector mode.

Implements PndPidDetectorInfo.

Referenced by SetFast().

◆ SetFast()

void PndPidMvdInfo::SetFast ( Bool_t  fast_mode)
inline

Definition at line 30 of file PndPidMvdInfo.h.

References fFast, GetInfo(), Reset(), SetDetectorHits(), and Setup().

30 { fFast = fast_mode; };
Bool_t fFast
if kTRUE add only number of hits in MVD.
Definition: PndPidMvdInfo.h:67

◆ Setup()

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

Setup FTS 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 SetFast().

Member Data Documentation

◆ fFast

Bool_t PndPidMvdInfo::fFast
protected

if kTRUE add only number of hits in MVD.

Definition at line 67 of file PndPidMvdInfo.h.

Referenced by SetFast().

◆ fGeoH

std::unique_ptr<PndGeoHandling> PndPidMvdInfo::fGeoH {nullptr}
protected

Handler for MVD geometry.

Definition at line 61 of file PndPidMvdInfo.h.

◆ fMvdELoss

Double_t PndPidMvdInfo::fMvdELoss = 0
protected

Energy Loss in MVD.

Definition at line 63 of file PndPidMvdInfo.h.

◆ fMvdHitCount

Int_t PndPidMvdInfo::fMvdHitCount = 0
protected

Number of mvd hits.

Definition at line 65 of file PndPidMvdInfo.h.

◆ fMvdHitsPixel

TClonesArray* PndPidMvdInfo::fMvdHitsPixel = nullptr
protected

Mvd pixel detector hits TCA.

Definition at line 60 of file PndPidMvdInfo.h.

◆ fMvdHitsStrip

TClonesArray* PndPidMvdInfo::fMvdHitsStrip = nullptr
protected

Mvd strip detector hits TCA.

Definition at line 59 of file PndPidMvdInfo.h.

◆ fMvdPath

Double_t PndPidMvdInfo::fMvdPath = 0
protected

MVD path crossed by the particle.

Definition at line 64 of file PndPidMvdInfo.h.


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