Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:22:32

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 //
0027 /// \file Par02DetectorParametrisation.hh
0028 /// \brief Definition of the Par02DetectorParametrisation class
0029 
0030 #ifndef PAR02_DETECTOR_PARAMETRSIATION_H
0031 #define PAR02_DETECTOR_PARAMETRSIATION_H
0032 
0033 #include "globals.hh"
0034 
0035 /// Definition of detector resolution and efficiency.
0036 ///
0037 /// A simple class used to provide the detector resolution and efficiency
0038 /// (dependent on the detector, parametrisation type and particle momentum).
0039 /// @author Anna Zaborowska
0040 
0041 class Par02DetectorParametrisation
0042 {
0043   public:
0044     /// A default constructor.
0045     Par02DetectorParametrisation();
0046 
0047     ~Par02DetectorParametrisation();
0048 
0049     /// A parametrisation type (CMS, ATLAS, ALEPH).
0050     enum Parametrisation
0051     {
0052       eCMS,
0053       eATLAS,
0054       eALEPH
0055     };
0056 
0057     /// A detector type (tracking detector, electromagnetic calorimeter,
0058     ///                  hadronic calorimeter).
0059     enum Detector
0060     {
0061       eTRACKER,
0062       eEMCAL,
0063       eHCAL
0064     };
0065 
0066     /// Gets the resolution of a detector for a given particle.
0067     /// @param aDetector A detector type.
0068     /// @param aParametrisation A parametrisation type.
0069     /// @param aMomentum A particle momentum.
0070     G4double GetResolution(Detector aDetector, Parametrisation aParametrisation,
0071                            G4double aMomentum);
0072 
0073     /// Gets the efficiency of a detector for a given particle.
0074     /// @param aDetector A detector type.
0075     /// @param aParametrisation A parametrisation type.
0076     /// @param aMomentum A particle momentum.
0077     G4double GetEfficiency(Detector aDetector, Parametrisation aParametrisation,
0078                            G4double aMomentum);
0079 };
0080 
0081 #endif