Main Page
Namespaces
Classes
Package Documentation
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
44
)
const
;
45
46
int
theRegionLevel
;
47
int
theWheelLevel
;
48
int
theStationLevel
;
49
int
theSuperLayerLevel
;
50
int
theLayerLevel
;
51
int
theWireLevel
;
52
};
53
}
54
55
#endif
pileupDistInMC.num
num
Definition:
pileupDistInMC.py:66
cms::DTNumberingScheme
Definition:
DD4hep_DTNumberingScheme.h:27
cms::MuonConstants
std::unordered_map< std::string_view, int > MuonConstants
Definition:
DD4hep_MuonNumbering.h:35
MuonBaseNumber
Definition:
MuonBaseNumber.h:21
DD4hep_MuonNumbering.h
cms::DTNumberingScheme::DTNumberingScheme
DTNumberingScheme(const MuonConstants &)
Definition:
DD4hep_DTNumberingScheme.cc:9
cms::DTNumberingScheme::theStationLevel
int theStationLevel
Definition:
DD4hep_DTNumberingScheme.h:48
cms::DTNumberingScheme::initMe
void initMe(const MuonConstants &)
Definition:
DD4hep_DTNumberingScheme.cc:14
cms::DTNumberingScheme::baseNumberToUnitNumber
int baseNumberToUnitNumber(const MuonBaseNumber &)
cms::DTNumberingScheme::theLayerLevel
int theLayerLevel
Definition:
DD4hep_DTNumberingScheme.h:50
cms::DTNumberingScheme::theWireLevel
int theWireLevel
Definition:
DD4hep_DTNumberingScheme.h:51
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
cms::DTNumberingScheme::theSuperLayerLevel
int theSuperLayerLevel
Definition:
DD4hep_DTNumberingScheme.h:49
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:50
cms::DTNumberingScheme::theWheelLevel
int theWheelLevel
Definition:
DD4hep_DTNumberingScheme.h:47
cms::DTNumberingScheme::theRegionLevel
int theRegionLevel
Definition:
DD4hep_DTNumberingScheme.h:46
cms::DTNumberingScheme::getDetId
int getDetId(const MuonBaseNumber &) const
Definition:
DD4hep_DTNumberingScheme.cc:26
Generated for CMSSW Reference Manual by
1.8.11