FairGeoMagnet.cxx 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /********************************************************************************
  2. * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
  3. * *
  4. * This software is distributed under the terms of the *
  5. * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
  6. * copied verbatim in the file "LICENSE" *
  7. ********************************************************************************/
  8. //*-- AUTHOR : Ilse Koenig
  9. //*-- Created : 10/11/2003
  10. /////////////////////////////////////////////////////////////
  11. // FairGeoMagnet
  12. //
  13. // Class for the geometry of detector part Magnet
  14. //
  15. /////////////////////////////////////////////////////////////
  16. #include "FairGeoMagnet.h"
  17. #include "TString.h" // for TString
  18. #include <string.h> // for strcpy
  19. ClassImp(FairGeoMagnet)
  20. FairGeoMagnet::FairGeoMagnet()
  21. : FairGeoSet()
  22. {
  23. // Constructor
  24. fName="magnet";
  25. maxSectors=0;
  26. maxModules=1;
  27. strcpy(modName,"m");
  28. strcpy(eleName,"m");
  29. }