Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-05 22:48:37

0001 #ifndef HcalTestBeam_HcalTB02HcalNumberingScheme_H
0002 #define HcalTestBeam_HcalTB02HcalNumberingScheme_H
0003 // -*- C++ -*-
0004 //
0005 // Package:     HcalTestBeam
0006 // Class  :     HcalTB02HcalNumberingScheme
0007 //
0008 /**\class HcalTB02HcalNumberingScheme HcalTB02HcalNumberingScheme.h SimG4CMS/HcalTestBeam/interface/HcalTB02HcalNumberingScheme.h
0009   
0010  Description:  Numbering scheme for hadron calorimeter in 2002 test beam
0011   
0012  Usage: Sets up unique identifier for HB towers in 2002 test beam
0013 */
0014 //
0015 // Original Author:
0016 //         Created:  Fri May 20 10:14:34 CEST 2006
0017 //
0018 
0019 // system include files
0020 
0021 // user include files
0022 #include "SimG4CMS/HcalTestBeam/interface/HcalTB02NumberingScheme.h"
0023 
0024 class HcalTB02HcalNumberingScheme : public HcalTB02NumberingScheme {
0025 public:
0026   HcalTB02HcalNumberingScheme();
0027   ~HcalTB02HcalNumberingScheme() override;
0028   int getUnitID(const G4Step* aStep) const override;
0029 
0030   int getphiScaleF() const { return phiScale; }
0031   int getetaScaleF() const { return etaScale; }
0032 
0033   int getlayerID(int sID) const;
0034   int getphiID(int sID) const;
0035   int getetaID(int sID) const;
0036 
0037 private:
0038   int phiScale;
0039   int etaScale;
0040 };
0041 
0042 #endif