![]() |
PandaRoot
|
Class for accessing PID detector information of calorimeter system (EMC, FSC). More...
#include <PndPidEmcInfo.h>
Public Member Functions | |
PndPidEmcInfo () | |
Default constructor. More... | |
~PndPidEmcInfo () | |
virtual Int_t | GetClusterCount () |
Default destructor. More... | |
Bool_t | SetCalibrator () |
Set cluster calibrator. More... | |
Bool_t | SetGeoPar (FairRuntimeDb *db) |
Set geometry parameters. More... | |
Bool_t | SetErrorMatrixPar (FairRuntimeDb *db) |
Set error matrix parameters. More... | |
Bool_t | SetParContainers (FairRuntimeDb *db) |
Set geometry and error matrix parameters. More... | |
void | Reset () |
Reset fClusterList and fClusterQ. More... | |
void | ResetEmcQ () |
Reset all the quality values for track correlation to -1. More... | |
void | SetupErrorMatrix () |
Init fEmcErrorMatrix. More... | |
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 calorimeter info. More... | |
virtual void | ActivateDebugNtuple (Bool_t debug_mode) |
Set debug mode of detector. More... | |
void | GetNeutralInfo (Int_t nbr_tracks, TClonesArray *neutralArray) |
Include calorimeter information in neutral PndPidCandidate. More... | |
Bool_t | PreprocessTracks (const Int_t trackid, PndTrack *track) |
Preprocess current track object. More... | |
virtual Bool_t | GetInfo (PndTrack *track, PndPidCandidate *pidCand) |
Add EMC information to PidCandidate. More... | |
![]() | |
PndPidCalorimeterInfo () | |
Default constructor. More... | |
~PndPidCalorimeterInfo () | |
ClassDef (PndPidCalorimeterInfo, 2) | |
![]() | |
PndPidDetectorInfo () | |
Default constructor. More... | |
virtual | ~PndPidDetectorInfo () |
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 | 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 (PndPidEmcInfo, 1) | |
![]() | |
ClassDef (PndPidDetectorInfo, 1) | |
Protected Attributes | |
TClonesArray * | fEmcCluster = nullptr |
Emc cluster TCA. More... | |
TClonesArray * | fEmcBump = nullptr |
Emc bump TCA. More... | |
TClonesArray * | fEmcDigi = nullptr |
Emc digi TCA. More... | |
PndEmcGeoPar * | fEmcGeoPar = new PndEmcGeoPar() |
Emc geometry version. More... | |
PndEmcErrorMatrixPar * | fEmcErrorMatrixPar = new PndEmcErrorMatrixPar() |
Emc error matrix parameters. More... | |
std::unique_ptr< PndEmcErrorMatrix > | fEmcErrorMatrix {new PndEmcErrorMatrix()} |
Calculate error matrix for emc cluster. More... | |
std::unique_ptr< PndEmcAbsClusterCalibrator > | fEmcCalibrator {nullptr} |
Emc cluster calibrator. More... | |
![]() | |
std::map< Int_t, Bool_t > | fClusterList {} |
List of clusters for track correlation. More... | |
std::map< Int_t, Double_t > | fClusterQ {} |
List of emc quality correlated to clusters. More... | |
std::map< Int_t, std::pair< Double_t, Int_t > > | fCorrelatedTracks |
Map of matched track and emc id's. More... | |
Bool_t | fTracksCorrelated = kFALSE |
QualityTable_t | fQualityTable |
![]() | |
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... | |
Class for accessing PID detector information of calorimeter system (EMC, FSC).
This class includes attributes and functions that are shared by EMC and FSC. THIS REPRESENTS THE ORIGINAL VERSION OF THE EMC AND IS TO BE UPDATED BY BEN SALISBURY (BONN).
Definition at line 37 of file PndPidEmcInfo.h.
PndPidEmcInfo::PndPidEmcInfo | ( | ) |
Default constructor.
|
inline |
Definition at line 45 of file PndPidEmcInfo.h.
|
virtual |
Set debug mode of detector.
Includes the setup of debug ntuples.
debug_mode | If kTRUE create and fill debug ntuples. |
Reimplemented from PndPidCalorimeterInfo.
Referenced by GetClusterCount().
|
protected |
|
inlinevirtual |
Default destructor.
Reimplemented from PndPidCalorimeterInfo.
Definition at line 47 of file PndPidEmcInfo.h.
References ActivateDebugNtuple(), fEmcCluster, GetInfo(), GetNeutralInfo(), PreprocessTracks(), Reset(), ResetEmcQ(), SetCalibrator(), SetDetectorHits(), SetErrorMatrixPar(), SetGeoPar(), SetParContainers(), Setup(), and SetupErrorMatrix().
|
virtual |
Add EMC information to PidCandidate.
Correlate given track and detector hit.
track | One of the detected tracks in current event. |
pidCand | PidCandidate belonging to track. |
Implements PndPidCalorimeterInfo.
Referenced by GetClusterCount().
|
virtual |
Include calorimeter information in neutral PndPidCandidate.
nbr_tracks | Number of tracks in event. |
neutralArray | TClonesArray of neutral PndPidCandidates. |
Implements PndPidCalorimeterInfo.
Referenced by GetClusterCount().
|
virtual |
Preprocess current track object.
trackid | TrackId of current track. |
track | Pointer to current track object. |
Reimplemented from PndPidDetectorInfo.
Referenced by GetClusterCount().
|
virtual |
Reset fClusterList and fClusterQ.
Implements PndPidCalorimeterInfo.
Referenced by GetClusterCount().
void PndPidEmcInfo::ResetEmcQ | ( | ) |
Reset all the quality values for track correlation to -1.
Referenced by GetClusterCount().
Bool_t PndPidEmcInfo::SetCalibrator | ( | ) |
|
virtual |
Fill detector hit TCAs and adjust detector mode.
manager | Needed to get EmcCluster, EmcBump and EmcDigi TCAs of event. |
Implements PndPidCalorimeterInfo.
Referenced by GetClusterCount().
Bool_t PndPidEmcInfo::SetErrorMatrixPar | ( | FairRuntimeDb * | db | ) |
Set error matrix parameters.
db | Runtime data base. |
Referenced by GetClusterCount().
Bool_t PndPidEmcInfo::SetGeoPar | ( | FairRuntimeDb * | db | ) |
Set geometry parameters.
db | Runtime data base. |
Referenced by GetClusterCount().
|
virtual |
Set geometry and error matrix parameters.
db | Runtime data base. |
Implements PndPidCalorimeterInfo.
Referenced by GetClusterCount().
|
virtual |
Setup calorimeter 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 PndPidCalorimeterInfo.
Referenced by GetClusterCount().
void PndPidEmcInfo::SetupErrorMatrix | ( | ) |
Init fEmcErrorMatrix.
Referenced by GetClusterCount().
|
protected |
Emc bump TCA.
Definition at line 140 of file PndPidEmcInfo.h.
|
protected |
Emc cluster calibrator.
Definition at line 147 of file PndPidEmcInfo.h.
|
protected |
|
protected |
Emc digi TCA.
Definition at line 141 of file PndPidEmcInfo.h.
|
protected |
Calculate error matrix for emc cluster.
Definition at line 145 of file PndPidEmcInfo.h.
|
protected |
Emc error matrix parameters.
Definition at line 144 of file PndPidEmcInfo.h.
|
protected |
Emc geometry version.
Definition at line 143 of file PndPidEmcInfo.h.