Geometry
MuonNumbering
interface
DD4hep_ME0NumberingScheme.h
Go to the documentation of this file.
1
#ifndef GEOMETRY_MUON_NUMBERING_ME0_NUMBERING_SCHEME_H
2
#define GEOMETRY_MUON_NUMBERING_ME0_NUMBERING_SCHEME_H
3
4
/*
5
//\class ME0NumberingScheme
6
7
Description: ME0 Numbering Scheme for DD4hep
8
9
//
10
// Author: Sergio Lo Meo (sergio.lo.meo@cern.ch) following what Ianna Osborne made for DTs (DD4HEP migration)
11
// Created: 29 Apr 2020
12
*/
13
14
#include "
Geometry/MuonNumbering/interface/DD4hep_MuonNumbering.h
"
15
16
class
MuonBaseNumber
;
17
class
MuonConstants
;
18
19
namespace
cms
{
20
class
ME0NumberingScheme
{
21
public
:
22
ME0NumberingScheme
(
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
theRegionLevel
;
32
int
theSectorLevel
;
33
int
theLayerLevel
;
34
int
theRollLevel
;
35
int
theNEtaPart
;
36
37
int
detId
;
38
};
39
}
// namespace cms
40
#endif
cms::ME0NumberingScheme::theNEtaPart
int theNEtaPart
Definition:
DD4hep_ME0NumberingScheme.h:35
cms::ME0NumberingScheme::initMe
void initMe(const MuonConstants &muonConstants)
Definition:
DD4hep_ME0NumberingScheme.cc:22
cms::ME0NumberingScheme::setDetId
void setDetId(int idnew)
Definition:
DD4hep_ME0NumberingScheme.h:29
cms::ME0NumberingScheme::ME0NumberingScheme
ME0NumberingScheme(const MuonConstants &muonConstants)
Definition:
DD4hep_ME0NumberingScheme.cc:20
cms::ME0NumberingScheme::theRollLevel
int theRollLevel
Definition:
DD4hep_ME0NumberingScheme.h:34
cms::ME0NumberingScheme::theSectorLevel
int theSectorLevel
Definition:
DD4hep_ME0NumberingScheme.h:32
cms::ME0NumberingScheme::detId
int detId
Definition:
DD4hep_ME0NumberingScheme.h:37
cms::ME0NumberingScheme
Definition:
DD4hep_ME0NumberingScheme.h:20
cms::ME0NumberingScheme::theLayerLevel
int theLayerLevel
Definition:
DD4hep_ME0NumberingScheme.h:33
DD4hep_MuonNumbering.h
MuonBaseNumber
Definition:
MuonBaseNumber.h:21
cms::ME0NumberingScheme::getDetId
int getDetId() const
Definition:
DD4hep_ME0NumberingScheme.h:24
cms::ME0NumberingScheme::theRegionLevel
int theRegionLevel
Definition:
DD4hep_ME0NumberingScheme.h:31
cms::ME0NumberingScheme::get
const int get(const char *, const MuonConstants &) const
Definition:
DD4hep_ME0NumberingScheme.cc:56
cms::ME0NumberingScheme::baseNumberToUnitNumber
void baseNumberToUnitNumber(const MuonBaseNumber &)
Definition:
DD4hep_ME0NumberingScheme.cc:34
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