Geometry
MuonNumbering
interface
DD4hep_RPCNumberingScheme.h
Go to the documentation of this file.
1
#ifndef GEOMETRY_MUON_NUMBERING_RPC_NUMBERING_SCHEME_H
2
#define GEOMETRY_MUON_NUMBERING_RPC_NUMBERING_SCHEME_H
3
4
/*
5
//\class RPCNumberingScheme
6
7
Description: RPC Numbering Scheme for DD4hep
8
9
//
10
// Author: Sergio Lo Meo (sergio.lo.meo@cern.ch) following what Ianna Osburne made for DTs (DD4HEP migration)
11
// Created: Fri, 20 Sep 2019
12
*/
13
14
#include "
Geometry/MuonNumbering/interface/DD4hep_MuonNumbering.h
"
15
16
class
MuonBaseNumber
;
17
class
MuonConstants
;
18
19
namespace
cms
{
20
class
RPCNumberingScheme
{
21
public
:
22
RPCNumberingScheme
(
const
MuonConstants
& muonConstants);
23
void
baseNumberToUnitNumber
(
const
MuonBaseNumber
&);
24
int
getDetId
()
const
{
return
detId
; }
25
26
private
:
27
const
int
get
(
const
char
*,
const
MuonConstants
&)
const
;
28
void
initMe
(
const
MuonConstants
& muonConstants);
29
void
setDetId
(
int
idnew) {
detId
= idnew; }
30
int
theRegionLevel
;
31
int
theBWheelLevel
;
32
int
theBStationLevel
;
33
int
theBPlaneLevel
;
34
int
theBChamberLevel
;
35
int
theEPlaneLevel
;
36
int
theESectorLevel
;
37
int
theERollLevel
;
38
39
int
detId
;
40
};
41
}
// namespace cms
42
#endif
cms::RPCNumberingScheme::theBWheelLevel
int theBWheelLevel
Definition:
DD4hep_RPCNumberingScheme.h:31
cms::RPCNumberingScheme::theBStationLevel
int theBStationLevel
Definition:
DD4hep_RPCNumberingScheme.h:32
cms::RPCNumberingScheme::theERollLevel
int theERollLevel
Definition:
DD4hep_RPCNumberingScheme.h:37
cms::RPCNumberingScheme::getDetId
int getDetId() const
Definition:
DD4hep_RPCNumberingScheme.h:24
cms::RPCNumberingScheme::setDetId
void setDetId(int idnew)
Definition:
DD4hep_RPCNumberingScheme.h:29
cms::RPCNumberingScheme::theBChamberLevel
int theBChamberLevel
Definition:
DD4hep_RPCNumberingScheme.h:34
cms::RPCNumberingScheme
Definition:
DD4hep_RPCNumberingScheme.h:20
cms::RPCNumberingScheme::detId
int detId
Definition:
DD4hep_RPCNumberingScheme.h:39
cms::RPCNumberingScheme::theEPlaneLevel
int theEPlaneLevel
Definition:
DD4hep_RPCNumberingScheme.h:35
cms::RPCNumberingScheme::initMe
void initMe(const MuonConstants &muonConstants)
Definition:
DD4hep_RPCNumberingScheme.cc:13
DD4hep_MuonNumbering.h
MuonBaseNumber
Definition:
MuonBaseNumber.h:21
cms::RPCNumberingScheme::theBPlaneLevel
int theBPlaneLevel
Definition:
DD4hep_RPCNumberingScheme.h:33
cms::RPCNumberingScheme::theESectorLevel
int theESectorLevel
Definition:
DD4hep_RPCNumberingScheme.h:36
cms::RPCNumberingScheme::baseNumberToUnitNumber
void baseNumberToUnitNumber(const MuonBaseNumber &)
Definition:
DD4hep_RPCNumberingScheme.cc:27
cms::RPCNumberingScheme::get
const int get(const char *, const MuonConstants &) const
Definition:
DD4hep_RPCNumberingScheme.cc:142
cms::RPCNumberingScheme::RPCNumberingScheme
RPCNumberingScheme(const MuonConstants &muonConstants)
Definition:
DD4hep_RPCNumberingScheme.cc:11
cms::RPCNumberingScheme::theRegionLevel
int theRegionLevel
Definition:
DD4hep_RPCNumberingScheme.h:30
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
cms::MuonConstants
std::unordered_map< std::string_view, int > MuonConstants
Definition:
DD4hep_MuonNumbering.h:35
Generated for CMSSW Reference Manual by
1.8.16