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