13 int zside = (zp < 0) ? 1 : 0;
27 <<
"Cannot initialize HGCalTriggerModuleDetId from " << std::hex <<
gen.rawId() <<
std::dec;
37 <<
"Cannot assign HGCalTriggerModuleDetId from " << std::hex <<
gen.rawId() <<
std::dec;
45 return s <<
"HGCalTriggerModuleDetId::HFNose:EE:HSil:HScin= " <<
id.isHFNose() <<
":" <<
id.isEE() <<
":" 46 <<
id.isHSilicon() <<
":" <<
id.isHScintillator() <<
" type= " <<
id.type() <<
" z= " <<
id.zside()
47 <<
" layer= " <<
id.layer() <<
" sector= " <<
id.sector() <<
" module(u,v)= (" <<
id.moduleU() <<
"," 48 <<
id.moduleV() <<
")";
int moduleU() const
get the module U
static const int kHGCalTriggerSubdetMask
static const int kHGCalTriggerClassIdentifierOffset
static const int kHGCalSectorOffset
HGCalTriggerModuleDetId & operator=(const DetId &id)
static const int kHGCalModuleVOffset
static const int kHGCalLayerMask
static const int kHGCalModuleUOffset
static const int kHGCalTypeOffset
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
HGCalTriggerModuleDetId()
static const int kHGCalTriggerClassIdentifierMask
static const int kHGCalModuleUMask
static const int kHGCalSectorMask
std::ostream & operator<<(std::ostream &s, const HGCalTriggerModuleDetId &id)
static const int kHGCalTypeMask
static const int kHGCalZsideMask
int moduleV() const
get the module V
static const int kHGCalModuleVMask
int zside() const
get the z-side of the module (1/-1)
static const int kHGCalLayerOffset
int layer() const
get the layer #
int sector() const
get the sector #
static const int kHGCalZsideOffset
static const int kHGCalTriggerSubdetOffset