#include "PndAnandDetectorGeo.h" #include "FairGeoNode.h" ClassImp(PndAnandDetectorGeo) // ----- Default constructor ------------------------------------------- PndAnandDetectorGeo::PndAnandDetectorGeo() : FairGeoSet() { // Constructor // fName has to be the name used in the geometry for all volumes. // If there is a mismatch the geometry cannot be build. fName="PndAnandDetector"; maxSectors=0; maxModules=10; } // ------------------------------------------------------------------------- const char* PndAnandDetectorGeo::getModuleName(Int_t m) { /** Returns the module name of PndAnandDetector number m Setting PndAnandDetector here means that all modules names in the ASCII file should start with PndAnandDetector otherwise they will not be constructed */ sprintf(modName,"PndAnandDetector%i",m+1); return modName; } const char* PndAnandDetectorGeo::getEleName(Int_t m) { /** Returns the element name of Det number m */ sprintf(eleName,"PndAnandDetector%i",m+1); return eleName; }