HighLAND
Namespaces | Enumerations | Variables
ND::GeomId::Def::ECal Namespace Reference

Namespaces

 Bar
 
 Global
 

Enumerations

enum  ECalSeqId { kGlobal = 0, kScintillator }
 Define the sequences required in the ECal. More...
 
enum  ECalModules { kBottomModule, kSideModule, kTopModule }
 Define the module names.
 
enum  MagnetClams { kNegXClam, kPosXClam }
 Define the magnet clam names.
 

Variables

const int kNoModule = kBottomModule
 
const int kNoClam = kNegXClam
 
const GeomIdBit kSeqIdMSB = Def::kSubDetectorMSB
 
const GeomIdBit kSeqIdLSB = kSeqIdMSB - 3
 
const GeomIdMask kSeqIdMask = MAKE_MASK(kSeqIdMSB,kSeqIdLSB)
 
const GeomIdBit kModuleMSB = kSeqIdLSB-1
 
const GeomIdBit kModuleLSB = kModuleMSB-2
 
const GeomIdMask kModuleMask
 

Detailed Description

Define the ECal specific constants used to decode a geometry identifier. The ECal field is 25 bits divided into a sequence identifier, and a field value.

ssss mmm fffffffffffffffffff
s(4) -- The sequence identifier (0 to 15)
m(3) -- The ecal module number
f(18) -- The field value associated with a sequence id.

Depending on the particular sequence, the field values may be further sub-divided.

Enumeration Type Documentation

§ ECalSeqId

Define the sequences required in the ECal.

Enumerator
kGlobal 

A global volume. This is used for identifiers that refer to volumes which contain other geometry identifiers.

kScintillator 

A scintillator bar.

Definition at line 437 of file ND280GeomIdDef.hxx.

437  {
438  /// A global volume. This is used for identifiers that
439  /// refer to volumes which contain other geometry
440  /// identifiers.
441  kGlobal = 0,
442  /// A scintillator bar.
444  };

Variable Documentation

§ kModuleMask

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

Definition at line 475 of file ND280GeomIdDef.hxx.

§ kModuleMSB

const GeomIdBit ND::GeomId::Def::ECal::kModuleMSB = kSeqIdLSB-1

The module id field. This is always zero for the down stream ecal. For the P0D and Tracker ECals, the is 0) -x bottom 1) +x bottom 2) -x side 3) +x side 4) -x top 5) +x top

Definition at line 473 of file ND280GeomIdDef.hxx.

§ kSeqIdMSB

const GeomIdBit ND::GeomId::Def::ECal::kSeqIdMSB = Def::kSubDetectorMSB

The most significant bit of the sequence identifier field. The sequence id field can have values between 0-15.

Definition at line 449 of file ND280GeomIdDef.hxx.