MpdBbcGeo.cxx 626 B

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