Geant4
10.02.p02
|
Definition of detector resolution and efficiency. More...
#include <Par02DetectorParametrisation.hh>
Public Types | |
enum | Parametrisation { eCMS, eATLAS, eALEPH } |
A parametrisation type (CMS, ATLAS, ALEPH). More... | |
enum | Detector { eTRACKER, eEMCAL, eHCAL } |
A detector type (tracking detector, electromagnetic calorimeter, hadronic calorimeter). More... | |
Public Member Functions | |
Par02DetectorParametrisation () | |
A default constructor. More... | |
~Par02DetectorParametrisation () | |
G4double | GetResolution (Detector aDetector, Parametrisation aParametrisation, G4double aMomentum) |
Gets the resolution of a detector for a given particle. More... | |
G4double | GetEfficiency (Detector aDetector, Parametrisation aParametrisation, G4double aMomentum) |
Gets the efficiency of a detector for a given particle. More... | |
Definition of detector resolution and efficiency.
A simple class used to provide the detector resolution and efficiency (dependent on the detector, parametrisation type and particle momentum).
Definition at line 42 of file Par02DetectorParametrisation.hh.
A detector type (tracking detector, electromagnetic calorimeter, hadronic calorimeter).
Enumerator | |
---|---|
eTRACKER | |
eEMCAL | |
eHCAL |
Definition at line 55 of file Par02DetectorParametrisation.hh.
A parametrisation type (CMS, ATLAS, ALEPH).
Enumerator | |
---|---|
eCMS | |
eATLAS | |
eALEPH |
Definition at line 51 of file Par02DetectorParametrisation.hh.
Par02DetectorParametrisation::Par02DetectorParametrisation | ( | ) |
A default constructor.
Definition at line 37 of file Par02DetectorParametrisation.cc.
Par02DetectorParametrisation::~Par02DetectorParametrisation | ( | ) |
Definition at line 41 of file Par02DetectorParametrisation.cc.
G4double Par02DetectorParametrisation::GetEfficiency | ( | Detector | aDetector, |
Parametrisation | aParametrisation, | ||
G4double | aMomentum | ||
) |
Gets the efficiency of a detector for a given particle.
aDetector | A detector type. |
aParametrisation | A parametrisation type. |
aMomentum | A particle momentum. |
Definition at line 98 of file Par02DetectorParametrisation.cc.
References eEMCAL, eHCAL, and eTRACKER.
Referenced by Par02FastSimModelEMCal::DoIt().
G4double Par02DetectorParametrisation::GetResolution | ( | Detector | aDetector, |
Parametrisation | aParametrisation, | ||
G4double | aMomentum | ||
) |
Gets the resolution of a detector for a given particle.
aDetector | A detector type. |
aParametrisation | A parametrisation type. |
aMomentum | A particle momentum. |
Definition at line 45 of file Par02DetectorParametrisation.cc.
References eALEPH, eATLAS, eCMS, eEMCAL, eHCAL, eTRACKER, and GeV.
Referenced by Par02FastSimModelEMCal::DoIt().