Geometry
MuonNumbering
interface
DD4hep_CSCNumberingScheme.h
Go to the documentation of this file.
1
#ifndef Geometry_MuonNumbering_cms_CSCNumberingScheme_h
2
#define Geometry_MuonNumbering_cms_CSCNumberingScheme_h
3
/*
4
// \class CSCNumberingScheme
5
//
6
// Description: CSC Numbering Scheme for DD4hep
7
//
8
//
9
// \author Sergio Lo Meo (sergio.lo.meo@cern.ch) following what Ianna Osburne made for DTs (DD4HEP migration)
10
// Created: Thu, 05 March 2020
11
//
12
// Old DD version authors: Arno Straessner & Tim Cox
13
*/
14
#include "
Geometry/MuonNumbering/interface/DD4hep_MuonNumbering.h
"
15
16
class
MuonBaseNumber
;
17
class
MuonConstants
;
18
19
namespace
cms
{
20
class
CSCNumberingScheme
{
21
public
:
22
CSCNumberingScheme
(
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
31
int
chamberIndex
(
int
,
int
,
int
,
int
)
const
;
32
33
int
theRegionLevel
;
34
int
theStationLevel
;
35
int
theSubringLevel
;
36
int
theSectorLevel
;
37
int
theLayerLevel
;
38
int
theRingLevel
;
39
40
int
detId
;
41
};
42
}
// namespace cms
43
#endif
cms::CSCNumberingScheme::CSCNumberingScheme
CSCNumberingScheme(const MuonConstants &muonConstants)
Definition:
DD4hep_CSCNumberingScheme.cc:21
cms::CSCNumberingScheme::baseNumberToUnitNumber
void baseNumberToUnitNumber(const MuonBaseNumber &)
Definition:
DD4hep_CSCNumberingScheme.cc:34
cms::CSCNumberingScheme::chamberIndex
int chamberIndex(int, int, int, int) const
Definition:
DD4hep_CSCNumberingScheme.cc:78
cms::CSCNumberingScheme::initMe
void initMe(const MuonConstants &muonConstants)
Definition:
DD4hep_CSCNumberingScheme.cc:23
cms::CSCNumberingScheme
Definition:
DD4hep_CSCNumberingScheme.h:20
cms::CSCNumberingScheme::getDetId
int getDetId() const
Definition:
DD4hep_CSCNumberingScheme.h:24
cms::CSCNumberingScheme::theRegionLevel
int theRegionLevel
Definition:
DD4hep_CSCNumberingScheme.h:33
cms::CSCNumberingScheme::detId
int detId
Definition:
DD4hep_CSCNumberingScheme.h:40
cms::CSCNumberingScheme::theStationLevel
int theStationLevel
Definition:
DD4hep_CSCNumberingScheme.h:34
cms::CSCNumberingScheme::setDetId
void setDetId(int idnew)
Definition:
DD4hep_CSCNumberingScheme.h:29
cms::CSCNumberingScheme::theLayerLevel
int theLayerLevel
Definition:
DD4hep_CSCNumberingScheme.h:37
cms::CSCNumberingScheme::theRingLevel
int theRingLevel
Definition:
DD4hep_CSCNumberingScheme.h:38
cms::CSCNumberingScheme::theSubringLevel
int theSubringLevel
Definition:
DD4hep_CSCNumberingScheme.h:35
cms::CSCNumberingScheme::theSectorLevel
int theSectorLevel
Definition:
DD4hep_CSCNumberingScheme.h:36
DD4hep_MuonNumbering.h
MuonBaseNumber
Definition:
MuonBaseNumber.h:21
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
cms::CSCNumberingScheme::get
const int get(const char *, const MuonConstants &) const
Definition:
DD4hep_CSCNumberingScheme.cc:98
cms::MuonConstants
std::unordered_map< std::string_view, int > MuonConstants
Definition:
DD4hep_MuonNumbering.h:35
Generated for CMSSW Reference Manual by
1.8.16