//*-- AUTHOR : Ilse Koenig //*-- Created : 27/11/2015 //_HADES_CLASS_DESCRIPTION ////////////////////////////////////////////////////////////// // HGeomStsHit // // Class for GEANT hit definition of the new forward detectors // ////////////////////////////////////////////////////////////// #include "hgeomstshit.h" #include "hgeomsts.h" #include "hgeomnode.h" ClassImp(HGeomStsHit) HGeomStsHit::HGeomStsHit(HGeomSts* p) : HGeomHit(p) { // Constructor } Int_t HGeomStsHit::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 760 + l1; }