MpdFfdGeo.cxx 626 B

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