HighLAND
Functions
ND::GeomId::DSECal Namespace Reference

Define the DSECal specific geometry identifiers. More...

Functions

bool IsDSECal (TGeometryId id)
 Check if the id corresponds to the DSECal.
 
TGeometryId Detector ()
 The geometry identifier for the downstream ecal detector.
 
TGeometryId Layer (int layer)
 The layer within the ecal.
 
int GetLayer (TGeometryId id)
 
TGeometryId Bar (int layer, int bar)
 The geometry identifiers for DSECal scintillators.
 
TGeometryId Radiator (int radiator)
 The geometry identifier for the radiators.
 
int GetRadiator (TGeometryId id)
 
int GetBarLayer (TGeometryId id)
 
int GetBarNumber (TGeometryId id)
 

Detailed Description

Define the DSECal specific geometry identifiers.

Function Documentation

§ GetBarLayer()

int ND::GeomId::DSECal::GetBarLayer ( TGeometryId  id)

Get the layer or bar number. This returns -1 if the id is invalid.

Definition at line 1285 of file ND280GeomId.cxx.

1285  {
1286  if (!ND::GeomId::DSECal::IsDSECal(i)) return -1;
1287  return ND::GeomId::ECal::GetBarLayer(i);
1288 }
bool IsDSECal(TGeometryId id)
Check if the id corresponds to the DSECal.

§ GetLayer()

int ND::GeomId::DSECal::GetLayer ( TGeometryId  id)

Get the DSECal layer number. This returns -1 if the id is invalid.

Definition at line 1266 of file ND280GeomId.cxx.

1266  {
1267  if (!ND::GeomId::DSECal::IsDSECal(i)) return -1;
1268  return ND::GeomId::ECal::GetLayerNumber(i);
1269 }
bool IsDSECal(TGeometryId id)
Check if the id corresponds to the DSECal.

§ GetRadiator()

int ND::GeomId::DSECal::GetRadiator ( TGeometryId  id)

Get the DSECal radiator number. This returns -1 if the id is invalid.

Definition at line 1275 of file ND280GeomId.cxx.

1275  {
1276  if (!ND::GeomId::DSECal::IsDSECal(i)) return -1;
1277  return ND::GeomId::ECal::GetRadiatorNumber(i);
1278 }
bool IsDSECal(TGeometryId id)
Check if the id corresponds to the DSECal.