#include "PixelTo3Geo.h" #include "FairGeoNode.h" ClassImp(PixelTo3Geo) // ----- Default constructor ------------------------------------------- PixelTo3Geo::PixelTo3Geo() : 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="newdetector"; maxSectors=0; maxModules=10; } // ------------------------------------------------------------------------- const char* PixelTo3Geo::getModuleName(Int_t m) { /** Returns the module name of PixelTo3 number m Setting PixelTo3 here means that all modules names in the ASCII file should start with PixelTo3 otherwise they will not be constructed */ sprintf(modName,"PixelTo3%i",m+1); return modName; } const char* PixelTo3Geo::getEleName(Int_t m) { /** Returns the element name of Det number m */ sprintf(eleName,"PixelTo3%i",m+1); return eleName; }