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

Namespaces

 Bar
 
 Global
 

Enumerations

enum  P0DSeqId { kGlobal = 0, kScintillator }
 Define the sequences required in the P0D. More...
 

Variables

const GeomIdBit kSeqIdMSB = Def::kSubDetectorMSB
 
const GeomIdBit kSeqIdLSB = kSeqIdMSB - 3
 
const GeomIdMask kSeqIdMask = MAKE_MASK(kSeqIdMSB,kSeqIdLSB)
 

Detailed Description

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

sssss ffffffffffffffffffff
s(4) -- The sequence identifier (0 to 15)
f(21) -- The field value associated with a sequence id.

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

Enumeration Type Documentation

§ P0DSeqId

Define the sequences required in the P0D.

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 101 of file ND280GeomIdDef.hxx.

101  {
102  /// A global volume. This is used for identifiers that
103  /// refer to volumes which contain other geometry
104  /// identifiers.
105  kGlobal = 0,
106  /// A scintillator bar.
108  };

Variable Documentation

§ kSeqIdMSB

const GeomIdBit ND::GeomId::Def::P0D::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 112 of file ND280GeomIdDef.hxx.