#ifndef ITOFGeomId_hxx_seen #define ITOFGeomId_hxx_seen #include "IGeometryId.hxx" namespace COMET { /// Define the geometry identifiers for elements in the COMET geometry. namespace GeomId { /// Define the TOF specific geometry identifiers. namespace TOF { /// Define a geometry identifier to the entire TOF detector. IGeometryId Detector(); /// Define a geometry identifier to a TOF module. IGeometryId Module(int layer, int mod); /// Check if the id is for the TOF. bool IsTOF(IGeometryId id); /// If this is a Layer id, return the Layer number, int GetLayer(IGeometryId id); /// If this is a Module id, return the Module number, int GetModule(IGeometryId id); } } } #endif