//*-- AUTHOR : Ilse Koenig //*-- Created : 16/06/2003 ///////////////////////////////////////////////////////////// // HGeoShower // // Class for SHOWER geometry // ///////////////////////////////////////////////////////////// #include "hgeoshower.h" #include "hgeoshowerhit.h" ClassImp(HGeoShower) HGeoShower::HGeoShower() { fName="shower"; maxSectors=6; maxKeepinVolumes=1; maxModules=3; HGeoShowerHit *pHit=new HGeoShowerHit(this); hadesGeo=1; } const char* HGeoShower::getKeepinName(Int_t s,Int_t) { sprintf(keepinName,"SHK%i",s+1); return keepinName; } const char* HGeoShower::getModuleName(Int_t m) { sprintf(modName,"SH%iM",m+1); return modName; } const char* HGeoShower::getEleName(Int_t m) { sprintf(eleName,"S%i",m+1); return eleName; }