HighLAND
Functions
ND::GeomId::INGRID Namespace Reference

Define the INGRID specific geometry identifiers. More...

Functions

TGeometryId Scintillator (int objType, int obj, int trk, int proj, int scinti)
 
TGeometryId ModScintillator (int mod, int trk, int proj, int scinti)
 The geometry of a module scintillator.
 
TGeometryId VertVetoScintillator (int veto, int scinti)
 The geometry of a vertical veto scintillator.
 
TGeometryId HorzVetoScintillator (int veto, int scinti)
 The geometry of an horizontal veto scintillator.
 

Detailed Description

Define the INGRID specific geometry identifiers.

Function Documentation

§ Scintillator()

ND::TGeometryId ND::GeomId::INGRID::Scintillator ( int  objType,
int  obj,
int  trk,
int  proj,
int  scinti 
)

The geometry of a generical scintillator. The object type is either kIngridModule = 0, or kIngridVeto = 1.

Definition at line 1675 of file ND280GeomId.cxx.

1676  {
1677  TSettableGeometryId id;
1678  id.SetField(ND::GeomId::Def::kINGRID,
1681  id.SetField(objType,
1683  ND::GeomId::Def::INGRID::kIngridObjIDLSB);
1684  id.SetField(obj,
1686  ND::GeomId::Def::INGRID::kIngridModNumLSB);
1687  id.SetField(trk,
1689  ND::GeomId::Def::INGRID::kIngridTrkNumLSB);
1690  id.SetField(proj,
1692  ND::GeomId::Def::INGRID::kIngridProjLSB);
1693  id.SetField(scinti,
1695  ND::GeomId::Def::INGRID::kIngridSciNumLSB);
1696  return id;
1697 }
const GeomIdBit kDetectorIdLSB
The least significant bit of the detector identifier.
const GeomIdBit kIngridSciNumMSB
const GeomIdBit kIngridObjIDMSB
const GeomIdBit kIngridTrkNumMSB
const GeomIdBit kDetectorIdMSB
const GeomIdBit kIngridProjMSB
const GeomIdBit kIngridModNumMSB