SimG4CMS
Forward
src
TotemT2ScintNumberingScheme.cc
Go to the documentation of this file.
1
#include "
SimG4CMS/Forward/interface/TotemT2ScintNumberingScheme.h
"
2
3
uint32_t
TotemT2ScintNumberingScheme::packID
(
const
int
&
zside
,
const
int
&
layer
,
const
int
&
iphi
) {
4
uint32_t
id
= (((
layer
&
kTotemT2LayerMask
) <<
kTotemT2LayerOffset
) | ((
zside
> 0) ?
kTotemT2ZsideMask
: 0) |
5
(
iphi
&
kTotemT2PhiMask
));
6
return
id
;
7
}
TotemT2ScintNumberingScheme::packID
static uint32_t packID(const int &zside, const int &layer, const int &iphi)
Definition:
TotemT2ScintNumberingScheme.cc:3
TotemT2ScintNumberingScheme::kTotemT2PhiMask
static constexpr uint32_t kTotemT2PhiMask
Definition:
TotemT2ScintNumberingScheme.h:8
TotemT2ScintNumberingScheme.h
ecaldqm::zside
int zside(DetId const &)
Definition:
EcalDQMCommonUtils.cc:189
TotemT2ScintNumberingScheme::kTotemT2ZsideMask
static constexpr uint32_t kTotemT2ZsideMask
Definition:
TotemT2ScintNumberingScheme.h:11
LEDCalibrationChannels.iphi
iphi
Definition:
LEDCalibrationChannels.py:64
TotemT2ScintNumberingScheme::iphi
static int iphi(const uint32_t &id)
Definition:
TotemT2ScintNumberingScheme.h:18
TotemT2ScintNumberingScheme::zside
static int zside(const uint32_t &id)
Definition:
TotemT2ScintNumberingScheme.h:16
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition:
phase1PixelTopology.h:99
TotemT2ScintNumberingScheme::kTotemT2LayerOffset
static constexpr uint32_t kTotemT2LayerOffset
Definition:
TotemT2ScintNumberingScheme.h:9
TotemT2ScintNumberingScheme::layer
static int layer(const uint32_t &id)
Definition:
TotemT2ScintNumberingScheme.h:17
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
TotemT2ScintNumberingScheme::kTotemT2LayerMask
static constexpr uint32_t kTotemT2LayerMask
Definition:
TotemT2ScintNumberingScheme.h:10
Generated for CMSSW Reference Manual by
1.8.16