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

Variables

const GeomIdBit kModuleMSB = Def::FGD::kSeqIdLSB-1
 
const GeomIdBit kModuleLSB = kModuleMSB-2
 
const GeomIdMask kModuleMask
 
const GeomIdBit kLayerMSB = kModuleLSB-1
 
const GeomIdBit kLayerLSB = kLayerMSB
 
const GeomIdMask kLayerMask =MAKE_MASK(kLayerMSB,kLayerLSB)
 
const GeomIdBit kPlaneMSB = kLayerLSB-1
 
const GeomIdBit kPlaneLSB = kPlaneMSB-5
 
const GeomIdMask kPlaneMask
 
const GeomIdBit kBarMSB = kPlaneLSB-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 FGD (FGD1 or FGD2) (0 to 1)
x(1) -- The type of layer in the module (0=x, 1=y)
p(6) -- The module in the FGD
b(11) -- The bar number

Variable Documentation

§ kBarMSB

const GeomIdBit ND::GeomId::Def::FGD::Bar::kBarMSB = kPlaneLSB-1

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

Definition at line 415 of file ND280GeomIdDef.hxx.

§ kLayerMSB

const GeomIdBit ND::GeomId::Def::FGD::Bar::kLayerMSB = kModuleLSB-1

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

Definition at line 400 of file ND280GeomIdDef.hxx.

§ kModuleMask

const GeomIdMask ND::GeomId::Def::FGD::Bar::kModuleMask
Initial value:
= MAKE_MASK(kModuleMSB,
kModuleLSB)

Definition at line 394 of file ND280GeomIdDef.hxx.

§ kModuleMSB

const GeomIdBit ND::GeomId::Def::FGD::Bar::kModuleMSB = Def::FGD::kSeqIdLSB-1

The FGD number.. The numbering starts at the upstream end and starts from zero: 0) FGD1, 1) FGD2 The FGD2 module contains the water target.

Definition at line 392 of file ND280GeomIdDef.hxx.

§ kPlaneMask

const GeomIdMask ND::GeomId::Def::FGD::Bar::kPlaneMask
Initial value:
= MAKE_MASK(kPlaneMSB,
kPlaneLSB)

Definition at line 409 of file ND280GeomIdDef.hxx.

§ kPlaneMSB

const GeomIdBit ND::GeomId::Def::FGD::Bar::kPlaneMSB = kLayerLSB-1

The module number within the FGD. The numbering starts from zero.

Definition at line 407 of file ND280GeomIdDef.hxx.