HighLAND
Enumerations | Variables
ND::GeomId::Def::INGRID Namespace Reference

Enumerations

enum  INGRIDObjID { kIngridModule = 0, kIngridVeto }
 Define the identifiers for the object. More...
 
enum  IngridScintillatorDirectionID { kVertical = 0, kHorizontal }
 Define the scintillators directions. More...
 

Variables

const GeomIdBit kIngridObjIDMSB = Def::kSubDetectorMSB
 
const GeomIdBit kIngridObjIDLSB = kIngridObjIDMSB - 1
 
const GeomIdMask kIngridObjIDMask
 
const GeomIdBit kIngridModNumMSB = kIngridObjIDLSB - 1
 
const GeomIdBit kIngridModNumLSB = kIngridModNumMSB - 7
 
const GeomIdMask kIngridModNumMask
 
const GeomIdBit kIngridTrkNumMSB = kIngridModNumLSB - 1
 
const GeomIdBit kIngridTrkNumLSB = kIngridTrkNumMSB - 6
 
const GeomIdMask kIngridTrkNumMask
 
const GeomIdBit kIngridProjMSB = kIngridTrkNumLSB - 1
 
const GeomIdBit kIngridProjLSB = kIngridProjMSB
 
const GeomIdMask kIngridProjMask
 
const GeomIdBit kIngridSciNumMSB = kIngridProjLSB - 1
 
const GeomIdBit kIngridSciNumLSB = kIngridSciNumMSB - 6
 
const GeomIdMask kIngridSciNumMask
 

Detailed Description

Define the INGRID specific constants used to decode a geometry identifier. The Ingrid field is 25 bits divided into an identifier the numbering of module, tracker and scintillator and a flag that indicates in which projection is the scintillator plane.

ii mmmmmmmm ttttttt p sssssss
i(2) [23:24] -- Identifies the object type: Veto/Module.
m(8) [15:22] -- Number of the module/veto plane.
t(7) [ 8:14] -- Identifies the tracker on the module.
p(1) [ 7: 7] -- Projection of the scintillator: Hori./Vert/
s(7) [ 0: 6] -- Identifies scintillator in the plane/tracker.

On the case of the Veto planes the tracker number is always the same (there is no concept of trackers on the vetos).

Enumeration Type Documentation

§ INGRIDObjID

Define the identifiers for the object.

Enumerator
kIngridModule 

A module.

kIngridVeto 

A veto plane.

Definition at line 714 of file ND280GeomIdDef.hxx.

714  {
715  /// A module.
716  kIngridModule = 0,
717  /// A veto plane.
718  kIngridVeto,
719  };

§ IngridScintillatorDirectionID

Define the scintillators directions.

Enumerator
kVertical 

Vertical scintillator.

kHorizontal 

Horizontal scintillator.

Definition at line 743 of file ND280GeomIdDef.hxx.

743  {
744  /// Vertical scintillator.
745  kVertical = 0,
746  /// Horizontal scintillator.
747  kHorizontal,
748  };

Variable Documentation

§ kIngridModNumMask

const GeomIdMask ND::GeomId::Def::INGRID::kIngridModNumMask
Initial value:
=MAKE_MASK(kIngridModNumMSB,
kIngridModNumLSB)

Definition at line 732 of file ND280GeomIdDef.hxx.

§ kIngridModNumMSB

const GeomIdBit ND::GeomId::Def::INGRID::kIngridModNumMSB = kIngridObjIDLSB - 1

The most significant bit of module number field. The module number can have values between 0-255.

Definition at line 730 of file ND280GeomIdDef.hxx.

§ kIngridObjIDMask

const GeomIdMask ND::GeomId::Def::INGRID::kIngridObjIDMask
Initial value:
= MAKE_MASK(kIngridObjIDMSB,
kIngridObjIDLSB)

Definition at line 725 of file ND280GeomIdDef.hxx.

§ kIngridObjIDMSB

const GeomIdBit ND::GeomId::Def::INGRID::kIngridObjIDMSB = Def::kSubDetectorMSB

The most significant bit of the object identifier field. The object identifier can have values between 0-3.

Definition at line 723 of file ND280GeomIdDef.hxx.

§ kIngridProjMask

const GeomIdMask ND::GeomId::Def::INGRID::kIngridProjMask
Initial value:
= MAKE_MASK(kIngridProjMSB,
kIngridProjLSB)

Definition at line 754 of file ND280GeomIdDef.hxx.

§ kIngridProjMSB

const GeomIdBit ND::GeomId::Def::INGRID::kIngridProjMSB = kIngridTrkNumLSB - 1

The most significant bit of projection field. The projection can have values between 0-1.

Definition at line 752 of file ND280GeomIdDef.hxx.

§ kIngridSciNumMask

const GeomIdMask ND::GeomId::Def::INGRID::kIngridSciNumMask
Initial value:
=MAKE_MASK(kIngridSciNumMSB,
kIngridSciNumLSB)

Definition at line 761 of file ND280GeomIdDef.hxx.

§ kIngridSciNumMSB

const GeomIdBit ND::GeomId::Def::INGRID::kIngridSciNumMSB = kIngridProjLSB - 1

The most significant bit of scintillator number field. The scintillator number can have values between 0-127.

Definition at line 759 of file ND280GeomIdDef.hxx.

§ kIngridTrkNumMask

const GeomIdMask ND::GeomId::Def::INGRID::kIngridTrkNumMask
Initial value:
=MAKE_MASK(kIngridTrkNumMSB,
kIngridTrkNumLSB)

Definition at line 739 of file ND280GeomIdDef.hxx.

§ kIngridTrkNumMSB

const GeomIdBit ND::GeomId::Def::INGRID::kIngridTrkNumMSB = kIngridModNumLSB - 1

The most significant bit of tracker number field. The tracker number can have values between 0-127.

Definition at line 737 of file ND280GeomIdDef.hxx.