MpdFsaGeo.cxx 626 B

12345678910111213141516171819202122232425262728293031
  1. /////////////////////////////////////////////////////////////
  2. // MpdFsaGeo
  3. //
  4. // Class for geometry of FSA
  5. //
  6. /////////////////////////////////////////////////////////////
  7. #include "MpdFsaGeo.h"
  8. #include "FairGeoNode.h"
  9. ClassImp(MpdFsaGeo)
  10. MpdFsaGeo::MpdFsaGeo() {
  11. // Constructor
  12. fName="fsa";
  13. maxSectors=0;
  14. maxModules=4;
  15. }
  16. const char* MpdFsaGeo::getModuleName(Int_t m) {
  17. // Returns the module name of fsa number m
  18. sprintf(modName,"fsa0%i",m+1);
  19. return modName;
  20. }
  21. const char* MpdFsaGeo::getEleName(Int_t m) {
  22. // Returns the element name of fsa number m
  23. sprintf(eleName,"fsa0%i",m+1);
  24. return eleName;
  25. }