50 if ( aParam ==
eCMS ) {
51 switch ( aDetector ) {
56 res = std::sqrt( std::pow( 0.03 / std::sqrt( aMomentum ), 2 )
57 + std::pow( 0.12 / aMomentum, 2 )
58 + std::pow( 0.003, 2 ) );
61 res = std::sqrt( std::pow( 1.1 / std::sqrt( aMomentum ), 2 )
62 + std::pow( 0.09, 2 ) );
65 }
else if ( aParam ==
eATLAS ) {
66 switch ( aDetector ) {
71 res = std::sqrt( std::pow( 0.1 / std::sqrt( aMomentum ), 2 )
72 + std::pow( 0.0017, 2 ) );
75 res = std::sqrt( std::pow( 0.55 / std::sqrt( aMomentum ), 2 )
76 + std::pow( 0.06, 2 ) );
79 }
else if ( aParam ==
eALEPH ) {
80 switch ( aDetector ) {
85 res = std::sqrt( std::pow( 0.18 / std::sqrt( aMomentum ), 2 )
86 + std::pow( 0.009, 2 ) );
89 res = 0.85 / std::sqrt( aMomentum );
103 switch ( aDetector ) {
Par02DetectorParametrisation()
A default constructor.
Detector
A detector type (tracking detector, electromagnetic calorimeter, hadronic calorimeter).
Definition of the Par02DetectorParameterisation class.
Parametrisation
A parametrisation type (CMS, ATLAS, ALEPH).
~Par02DetectorParametrisation()
G4double GetResolution(Detector aDetector, Parametrisation aParametrisation, G4double aMomentum)
Gets the resolution of a detector for a given particle.
G4double GetEfficiency(Detector aDetector, Parametrisation aParametrisation, G4double aMomentum)
Gets the efficiency of a detector for a given particle.