Geometry
MuonNumbering
interface
DD4hep_DTNumberingScheme.h
Go to the documentation of this file.
1
#ifndef GEOMETRY_MUON_NUMBERING_DT_NUMBERING_SCHEME_H
2
#define GEOMETRY_MUON_NUMBERING_DT_NUMBERING_SCHEME_H
3
4
// -*- C++ -*-
5
//
6
// Package: Geometry/MuonNumbering
7
// Class: DTNumberingScheme
8
//
18
//
19
// Original Author: Ianna Osborne
20
// Created: Thu, 21 Mar 2019 15:18:08 CET
21
//
22
//
23
24
#include "
Geometry/MuonNumbering/interface/DD4hep_MuonNumbering.h
"
25
26
namespace
cms
{
27
class
DTNumberingScheme
{
28
public
:
29
DTNumberingScheme
(
const
MuonConstants
&);
30
int
baseNumberToUnitNumber
(
const
MuonBaseNumber
&);
31
int
getDetId
(
const
MuonBaseNumber
&)
const
;
32
33
private
:
34
void
initMe
(
const
MuonConstants
&);
35
const
int
get
(
const
char
*,
const
MuonConstants
&)
const
;
36
// Decode MuonBaseNumber to id: no checking
37
void
decode
(
const
MuonBaseNumber
&
num
,
38
int
& wire_id,
39
int
& layer_id,
40
int
& superlayer_id,
41
int
& sector_id,
42
int
& station_id,
43
int
& wheel_id)
const
;
44
45
int
theRegionLevel
;
46
int
theWheelLevel
;
47
int
theStationLevel
;
48
int
theSuperLayerLevel
;
49
int
theLayerLevel
;
50
int
theWireLevel
;
51
};
52
}
// namespace cms
53
54
#endif
cms::DTNumberingScheme
Definition:
DD4hep_DTNumberingScheme.h:27
cms::DTNumberingScheme::decode
void decode(const MuonBaseNumber &num, int &wire_id, int &layer_id, int &superlayer_id, int §or_id, int &station_id, int &wheel_id) const
Definition:
DD4hep_DTNumberingScheme.cc:38
cms::DTNumberingScheme::theWheelLevel
int theWheelLevel
Definition:
DD4hep_DTNumberingScheme.h:46
cms::DTNumberingScheme::DTNumberingScheme
DTNumberingScheme(const MuonConstants &)
Definition:
DD4hep_DTNumberingScheme.cc:9
cms::DTNumberingScheme::theWireLevel
int theWireLevel
Definition:
DD4hep_DTNumberingScheme.h:50
cms::DTNumberingScheme::getDetId
int getDetId(const MuonBaseNumber &) const
Definition:
DD4hep_DTNumberingScheme.cc:22
cms::DTNumberingScheme::theSuperLayerLevel
int theSuperLayerLevel
Definition:
DD4hep_DTNumberingScheme.h:48
DD4hep_MuonNumbering.h
EgammaValidation_cff.num
num
Definition:
EgammaValidation_cff.py:34
MuonBaseNumber
Definition:
MuonBaseNumber.h:21
cms::DTNumberingScheme::theStationLevel
int theStationLevel
Definition:
DD4hep_DTNumberingScheme.h:47
cms::DTNumberingScheme::theLayerLevel
int theLayerLevel
Definition:
DD4hep_DTNumberingScheme.h:49
cms::DTNumberingScheme::initMe
void initMe(const MuonConstants &)
Definition:
DD4hep_DTNumberingScheme.cc:11
cms::DTNumberingScheme::baseNumberToUnitNumber
int baseNumberToUnitNumber(const MuonBaseNumber &)
cms::DTNumberingScheme::theRegionLevel
int theRegionLevel
Definition:
DD4hep_DTNumberingScheme.h:45
cms::DTNumberingScheme::get
const int get(const char *, const MuonConstants &) const
Definition:
DD4hep_DTNumberingScheme.cc:69
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