HighLAND
Functions
ND::GeomId::TECal Namespace Reference

Define the TECal specific geometry identifiers. More...

Functions

bool IsTECal (TGeometryId id)
 Check if the id corresponds to the TECal.
 
TGeometryId Module (int clam, int module)
 The geometry identifier for the tracker ecal modules.
 
TGeometryId Layer (int clam, int module, int layer)
 The layer within the ecal.
 
TGeometryId Radiator (int clam, int module, int radiator)
 The geometry identifier for the radiators.
 
TGeometryId Bar (int clam, int module, int layer, int bar)
 The geometry identifiers for the scintillators.
 
int GetModuleClam (TGeometryId id)
 Access the information for an ECal Module.
 
int GetModuleNumber (TGeometryId id)
 
int GetLayerClam (TGeometryId id)
 
int GetLayerModule (TGeometryId id)
 
int GetLayerNumber (TGeometryId id)
 
int GetRadiatorClam (TGeometryId id)
 
int GetRadiatorModule (TGeometryId id)
 
int GetRadiatorNumber (TGeometryId id)
 
int GetBarClam (TGeometryId id)
 
int GetBarModule (TGeometryId id)
 
int GetBarLayer (TGeometryId id)
 
int GetBarNumber (TGeometryId id)
 

Detailed Description

Define the TECal specific geometry identifiers.

Function Documentation

§ GetBarClam()

int ND::GeomId::TECal::GetBarClam ( TGeometryId  id)

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

Definition at line 1375 of file ND280GeomId.cxx.

1375  {
1376  if (!ND::GeomId::TECal::IsTECal(i)) return -1;
1377  return ND::GeomId::ECal::GetBarClam(i);
1378 }
bool IsTECal(TGeometryId id)
Check if the id corresponds to the TECal.

§ GetLayerClam()

int ND::GeomId::TECal::GetLayerClam ( TGeometryId  id)

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

Definition at line 1340 of file ND280GeomId.cxx.

1340  {
1341  if (!ND::GeomId::TECal::IsTECal(i)) return -1;
1342  return ND::GeomId::ECal::GetLayerClam(i);
1343 }
bool IsTECal(TGeometryId id)
Check if the id corresponds to the TECal.

§ GetRadiatorClam()

int ND::GeomId::TECal::GetRadiatorClam ( TGeometryId  id)

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

Definition at line 1355 of file ND280GeomId.cxx.

1355  {
1356  if (!ND::GeomId::TECal::IsTECal(i)) return -1;
1357  return ND::GeomId::ECal::GetRadiatorClam(i);
1358 }
bool IsTECal(TGeometryId id)
Check if the id corresponds to the TECal.