//*-- AUTHOR : Ilse Koenig //*-- Created : 27/11/2015 //_HADES_CLASS_DESCRIPTION ////////////////////////////////////////////////////////////// // HGeomFRpcHit // // Class for GEANT hit definition of the new forward detectors // ////////////////////////////////////////////////////////////// #include "hgeomfrpchit.h" #include "hgeomfrpc.h" #include "hgeomnode.h" ClassImp(HGeomFRpcHit) HGeomFRpcHit::HGeomFRpcHit(HGeomFRpc* p) : HGeomHit(p) { // Constructor } Int_t HGeomFRpcHit::getIdType() { // Returns the idType for the current node if (!currentNode) return 0; const Char_t* volumeName=currentNode->GetName(); Int_t l1=(Int_t)(volumeName[1]-'0'); return 770 + l1; }