src
Geometry
MTDCommonData
interface
BTLNumberingScheme.h
Go to the documentation of this file.
1
#ifndef BTLNumberingScheme_h
2
#define BTLNumberingScheme_h
3
4
#include "
Geometry/MTDCommonData/interface/MTDNumberingScheme.h
"
5
#include "
DataFormats/ForwardDetId/interface/BTLDetId.h
"
6
7
class
BTLNumberingScheme
:
public
MTDNumberingScheme
{
8
public
:
9
static
constexpr uint32_t
kBTLcrystalLevel
= 9;
10
static
constexpr uint32_t
kBTLmoduleLevel
= 8;
11
12
static
constexpr std::array<uint32_t, BTLDetId::kModulesPerRUV2>
negModCopy
{
13
{3, 2, 1, 6, 5, 4, 9, 8, 7, 12, 11, 10, 15, 14, 13, 18, 17, 16, 21, 20, 19, 24, 23, 22}};
14
15
// to temporarily map V3 into V2-like input
16
static
constexpr std::array<uint32_t, BTLDetId::kRUPerTypeV2 * BTLDetId::kCrystalTypes>
globalru2type
{
17
{1, 1, 2, 2, 3, 3}};
18
static
constexpr std::array<uint32_t, BTLDetId::kRUPerTypeV2 * BTLDetId::kCrystalTypes>
globalru2ru
{
19
{1, 2, 1, 2, 1, 2}};
20
21
BTLNumberingScheme
();
22
~BTLNumberingScheme
()
override
;
23
uint32_t
getUnitID
(
const
MTDBaseNumber
& baseNumber)
const override
;
24
};
25
26
#endif
BTLNumberingScheme::~BTLNumberingScheme
~BTLNumberingScheme() override
Definition:
BTLNumberingScheme.cc:12
BTLNumberingScheme::globalru2ru
static constexpr std::array< uint32_t, BTLDetId::kRUPerTypeV2 *BTLDetId::kCrystalTypes > globalru2ru
Definition:
BTLNumberingScheme.h:18
MTDNumberingScheme.h
BTLNumberingScheme::negModCopy
static constexpr std::array< uint32_t, BTLDetId::kModulesPerRUV2 > negModCopy
Definition:
BTLNumberingScheme.h:12
MTDNumberingScheme
Definition:
MTDNumberingScheme.h:8
BTLNumberingScheme::BTLNumberingScheme
BTLNumberingScheme()
Definition:
BTLNumberingScheme.cc:8
BTLNumberingScheme::kBTLcrystalLevel
static constexpr uint32_t kBTLcrystalLevel
Definition:
BTLNumberingScheme.h:9
MTDBaseNumber
Definition:
MTDBaseNumber.h:15
BTLNumberingScheme::getUnitID
uint32_t getUnitID(const MTDBaseNumber &baseNumber) const override
Definition:
BTLNumberingScheme.cc:14
BTLNumberingScheme::kBTLmoduleLevel
static constexpr uint32_t kBTLmoduleLevel
Definition:
BTLNumberingScheme.h:10
BTLDetId.h
BTLNumberingScheme::globalru2type
static constexpr std::array< uint32_t, BTLDetId::kRUPerTypeV2 *BTLDetId::kCrystalTypes > globalru2type
Definition:
BTLNumberingScheme.h:16
BTLNumberingScheme
Definition:
BTLNumberingScheme.h:7
Generated for CMSSW Reference Manual by
1.8.14