HighLAND
Functions
ND::GeomId::PECal Namespace Reference

Define the PECal specific geometry identifiers. More...

Functions

bool IsPECal (TGeometryId id)
 Check if the id corresponds to the PECal.
 
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 Bar (int clam, int module, int layer, int bar)
 The geometry identifiers for the scintillators.
 
TGeometryId Radiator (int clam, int module, int radiator)
 The geometry identifier for the radiators.
 
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 PECal specific geometry identifiers.

Function Documentation

§ GetBarClam()

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

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

Definition at line 1465 of file ND280GeomId.cxx.

1465  {
1466  if (!ND::GeomId::PECal::IsPECal(i)) return -1;
1467  return ND::GeomId::ECal::GetBarClam(i);
1468 }
bool IsPECal(TGeometryId id)
Check if the id corresponds to the PECal.

§ GetLayerClam()

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

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

Definition at line 1430 of file ND280GeomId.cxx.

1430  {
1431  if (!ND::GeomId::PECal::IsPECal(i)) return -1;
1432  return ND::GeomId::ECal::GetLayerClam(i);
1433 }
bool IsPECal(TGeometryId id)
Check if the id corresponds to the PECal.

§ GetRadiatorClam()

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

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

Definition at line 1445 of file ND280GeomId.cxx.

1445  {
1446  if (!ND::GeomId::PECal::IsPECal(i)) return -1;
1447  return ND::GeomId::ECal::GetRadiatorClam(i);
1448 }
bool IsPECal(TGeometryId id)
Check if the id corresponds to the PECal.