//*-- AUTHOR : Ilse Koenig //*-- Created : 01/08/2003 ///////////////////////////////////////////////////////////// // HGeoShowerHit // // Class for SHOWER hit definition in GEANT // ///////////////////////////////////////////////////////////// #include "hgeoshowerhit.h" #include "hgeoshower.h" #include "FairGeoNode.h" ClassImp(HGeoShowerHit) HGeoShowerHit::HGeoShowerHit(HGeoShower* p) : HGeoHit(p) { // Constructor } Int_t HGeoShowerHit::getIdType() { // Returns the idType for the current node if (!currentNode) return 0; const char* volumeName=currentNode->GetName(); Int_t l1=(Int_t)(volumeName[1]-'0'); return 50+l1; }