HGCal Test Beam  03a93d6239a951948e06fb3ef8dae4cbdebfad30
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HGCalTBNumberingScheme.h
Go to the documentation of this file.
1 #ifndef HGCAL_CONDOBJECTS_HGCALTBNUMBERINGSCHEME_H
2 #define HGCAL_CONDOBJECTS_HGCALTBNUMBERINGSCHEME_H 1
3 
4 #include "HGCal/CondObjects/interface/HGCalCondObjectContainer.h"
5 
6 /** \class HGCalTBNumberingScheme
7  *
8  * Simple-minded numbering scheme appropriate for a testbeam geometry.
9  * Scheme version 0 assumes up to 28 planes of single 128-cell sensors.
10  *
11  * $Date: $
12  * $Revision: $
13  * \author J. Mans - Minnesota
14  */
16 {
17 public:
18  virtual size_t rangeFor(uint64_t scheme) const;
19  virtual size_t denseIndexFor(uint32_t rawDetId, uint64_t scheme) const;
21  {
22  return &the_scheme;
23  }
24 private:
26  static HGCalTBNumberingScheme the_scheme;
27 };
28 
29 #endif
virtual size_t rangeFor(uint64_t scheme) const
static const HGCalCondObjectNumberingScheme * scheme()
virtual size_t denseIndexFor(uint32_t rawDetId, uint64_t scheme) const