|
|
|||
File indexing completed on 2026-09-11 08:31:03
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 /// \file Par02DetectorParametrisation.hh 0027 /// \brief Definition of the Par02DetectorParametrisation class 0028 0029 #ifndef PAR02_DETECTOR_PARAMETRSIATION_H 0030 #define PAR02_DETECTOR_PARAMETRSIATION_H 0031 0032 #include "globals.hh" 0033 0034 /// Definition of detector resolution and efficiency. 0035 /// 0036 /// A simple class used to provide the detector resolution and efficiency 0037 /// (dependent on the detector, parametrisation type and particle momentum). 0038 /// @author Anna Zaborowska 0039 0040 class Par02DetectorParametrisation 0041 { 0042 public: 0043 /// A default constructor. 0044 Par02DetectorParametrisation(); 0045 0046 ~Par02DetectorParametrisation(); 0047 0048 /// A parametrisation type (CMS, ATLAS, ALEPH). 0049 enum Parametrisation 0050 { 0051 eCMS, 0052 eATLAS, 0053 eALEPH 0054 }; 0055 0056 /// A detector type (tracking detector, electromagnetic calorimeter, 0057 /// hadronic calorimeter). 0058 enum Detector 0059 { 0060 eTRACKER, 0061 eEMCAL, 0062 eHCAL 0063 }; 0064 0065 /// Gets the resolution of a detector for a given particle. 0066 /// @param aDetector A detector type. 0067 /// @param aParametrisation A parametrisation type. 0068 /// @param aMomentum A particle momentum. 0069 G4double GetResolution(Detector aDetector, Parametrisation aParametrisation, 0070 G4double aMomentum); 0071 0072 /// Gets the efficiency of a detector for a given particle. 0073 /// @param aDetector A detector type. 0074 /// @param aParametrisation A parametrisation type. 0075 /// @param aMomentum A particle momentum. 0076 G4double GetEfficiency(Detector aDetector, Parametrisation aParametrisation, 0077 G4double aMomentum); 0078 }; 0079 0080 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|