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

Variables

const GeomIdBit kSP0DuleMSB = Def::P0D::kSeqIdLSB-1
 
const GeomIdBit kSP0DuleLSB = kSP0DuleMSB-2
 
const GeomIdMask kSP0DuleMask
 
const GeomIdBit kLayerMSB = kSP0DuleLSB-1
 
const GeomIdBit kLayerLSB = kLayerMSB
 
const GeomIdMask kLayerMask =MAKE_MASK(kLayerMSB,kLayerLSB)
 
const GeomIdBit kP0DuleMSB = kLayerLSB-1
 
const GeomIdBit kP0DuleLSB = kP0DuleMSB-5
 
const GeomIdMask kP0DuleMask
 
const GeomIdBit kBarMSB = kP0DuleLSB-1
 
const GeomIdBit kBarLSB = kBarMSB-10
 
const GeomIdMask kBarMask = MAKE_MASK(kBarMSB,kBarLSB)
 

Detailed Description

A field that is unique for each scintillator bar.

sss x pppppp bbbbbbbbbbb
s(3) -- The super-P0Dule (0 to 3)
x(1) -- The layer in the super P0Dule (0=x, 1=y)
p(6) -- The P0Dule (0 to 40)
b(11) -- The bar number (0 to 125 or 0 to 133)

Variable Documentation

§ kBarMSB

const GeomIdBit ND::GeomId::Def::P0D::Bar::kBarMSB = kP0DuleLSB-1

Define the field to hold the bar number within a layer. The bars are numbered 0 to 125 (or 133) with Bar 0 at the most negative coordinate.

Definition at line 193 of file ND280GeomIdDef.hxx.

§ kLayerMSB

const GeomIdBit ND::GeomId::Def::P0D::Bar::kLayerMSB = kSP0DuleLSB-1

The layer within the P0Dule. Layer zero is X, and layer one is Y.

Definition at line 177 of file ND280GeomIdDef.hxx.

§ kP0DuleMask

const GeomIdMask ND::GeomId::Def::P0D::Bar::kP0DuleMask
Initial value:
= MAKE_MASK(kP0DuleMSB,
kP0DuleLSB)

Definition at line 186 of file ND280GeomIdDef.hxx.

§ kP0DuleMSB

const GeomIdBit ND::GeomId::Def::P0D::Bar::kP0DuleMSB = kLayerLSB-1

The P0Dule number within the super-P0Dule. The P0Dule numbering starts from zero.

Definition at line 184 of file ND280GeomIdDef.hxx.

§ kSP0DuleMask

const GeomIdMask ND::GeomId::Def::P0D::Bar::kSP0DuleMask
Initial value:
= MAKE_MASK(kSP0DuleMSB,
kSP0DuleLSB)

Definition at line 171 of file ND280GeomIdDef.hxx.

§ kSP0DuleMSB

const GeomIdBit ND::GeomId::Def::P0D::Bar::kSP0DuleMSB = Def::P0D::kSeqIdLSB-1

The super-P0Dule number within the detector. The numbering starts at the upstream end and starts from zero. 0) USECal, 1) USWT, 2) CWT, 3) CECal

Definition at line 169 of file ND280GeomIdDef.hxx.