///////////////////////////////////////////////////////////// // FscGeo // // Class for geometry of FSC // ///////////////////////////////////////////////////////////// #include "FscGeo.h" #include "CbmGeoNode.h" ClassImp(FscGeo) // ----- Default constructor ------------------------------------------- FscGeo::FscGeo() { // Constructor fName="fsc"; maxSectors=9; maxModules=9; } // ------------------------------------------------------------------------- const char* FscGeo::getModuleName(Int_t m) { // Returns the module name of Fsc number m // Setting tpc here means that all modules names // in the ASCII file should start with fsc otherwise // they will not be constructed sprintf(modName,"fscCrystal%i",m+1); return modName; } const char* FscGeo::getEleName(Int_t m) { // Returns the element name of Det number m sprintf(eleName,"fsc0%i",m+1); // sprintf(eleName,"fscModule%i",m+1); return eleName; }