Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-21 02:53:09

0001 ///////////////////////////////////////////////////////////////////////////////
0002 // File: EcalBarrelNumberingScheme.h
0003 // Description: Numbering scheme for barrel electromagnetic calorimeter
0004 ///////////////////////////////////////////////////////////////////////////////
0005 #ifndef EcalBarrelNumberingScheme_h
0006 #define EcalBarrelNumberingScheme_h
0007 
0008 #include "Geometry/EcalCommonData/interface/EcalNumberingScheme.h"
0009 #include <string>
0010 
0011 class EcalBarrelNumberingScheme : public EcalNumberingScheme {
0012 public:
0013   EcalBarrelNumberingScheme();
0014   ~EcalBarrelNumberingScheme() override;
0015   uint32_t getUnitID(const EcalBaseNumber& baseNumber) const override;
0016 
0017 private:
0018   std::pair<int, int> numbers(const std::string&) const;
0019 };
0020 
0021 #endif