Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HcalTestBeam_HcalTBNumberingScheme_H
0002 #define HcalTestBeam_HcalTBNumberingScheme_H
0003 // -*- C++ -*-
0004 //
0005 // Package:     HcalTestBeam
0006 // Class  :     HcalTBNumberingScheme
0007 //
0008 /**\class HcalTBNumberingScheme HcalTBNumberingScheme.h SimG4CMS/HcalTestBeam/interface/HcalTBNumberingScheme.h
0009   
0010  Description: Numbering scheme for hadron calorimeter in test beam
0011   
0012  Usage: Sets up tower ID's of all towers in the 2004 Hcal test beam setup
0013 */
0014 //
0015 // Original Author:  Sunanda Banerjee
0016 //         Created:  Thu May 18 10:14:34 CEST 2006
0017 //
0018 
0019 // system include files
0020 #include <vector>
0021 #include <cstdint>
0022 
0023 // user include files
0024 
0025 class HcalTBNumberingScheme {
0026 public:
0027   HcalTBNumberingScheme() {}
0028   virtual ~HcalTBNumberingScheme() {}
0029 
0030   static uint32_t getUnitID(const uint32_t id, const int mode);
0031   static std::vector<uint32_t> getUnitIDs(const int type, const int mode);
0032 };
0033 
0034 #endif