HighLAND
ND::GeomId::Def::SMRD::Bar Namespace Reference

Variables

const GeomIdBit kClamMSB = Def::SMRD::kSeqIdLSB-1
 
const GeomIdBit kClamLSB = kClamMSB
 
const GeomIdMask kClamMask = MAKE_MASK(kClamMSB,kClamLSB)
 
const GeomIdBit kYokeMSB = kClamLSB-1
 
const GeomIdBit kYokeLSB = kYokeMSB-3
 
const GeomIdMask kYokeMask =MAKE_MASK(kYokeMSB,kYokeLSB)
 
const GeomIdBit kLayerMSB = kYokeLSB-1
 
const GeomIdBit kLayerLSB = kLayerMSB-3
 
const GeomIdMask kLayerMask
 
const GeomIdBit kSlotMSB = kLayerLSB-1
 The slot within a layer.
 
const GeomIdBit kSlotLSB = kSlotMSB-3
 
const GeomIdMask kSlotMask = MAKE_MASK(kSlotMSB,kSlotLSB)
 
const GeomIdBit kBarMSB = kSlotLSB-1
 
const GeomIdBit kBarLSB = kBarMSB-7
 
const GeomIdMask kBarMask = MAKE_MASK(kBarMSB,kBarLSB)
 

Detailed Description

A field that is unique for each scintillator bar.

c yyyy mmmm ssss bbbbbbbb
c(1) -- The magnet clam (0 left, 1 right).
y(4) -- The yoke in the magnet (0 to 7)
m(4) -- The layer in the magnet. (0 to 15)
s(4) -- The slot in the layer (0 to 7)
b(8) -- The bar number in the module

Variable Documentation

§ kBarMSB

const GeomIdBit ND::GeomId::Def::SMRD::Bar::kBarMSB = kSlotLSB-1

Define the field to hold the bar number within a slot.

Definition at line 686 of file ND280GeomIdDef.hxx.

§ kClamMSB

const GeomIdBit ND::GeomId::Def::SMRD::Bar::kClamMSB = Def::SMRD::kSeqIdLSB-1

The clam within the magnet. 0) Left Clam (positive X), 1) Right clam (negative X).

Definition at line 657 of file ND280GeomIdDef.hxx.

§ kLayerMask

const GeomIdMask ND::GeomId::Def::SMRD::Bar::kLayerMask
Initial value:
= MAKE_MASK(kLayerMSB,
kLayerLSB)

Definition at line 673 of file ND280GeomIdDef.hxx.

§ kLayerMSB

const GeomIdBit ND::GeomId::Def::SMRD::Bar::kLayerMSB = kYokeLSB-1

The layer within a yoke. The numbering starts at the inner most side of the yoke.

Definition at line 671 of file ND280GeomIdDef.hxx.

§ kYokeMSB

const GeomIdBit ND::GeomId::Def::SMRD::Bar::kYokeMSB = kClamLSB-1

The yoke of the particular clam. The numbering starts on the upstream end.

Definition at line 664 of file ND280GeomIdDef.hxx.