FairMagnet.h 1.2 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 (LGPL) version 3, *
  6. * copied verbatim in the file "LICENSE" *
  7. ********************************************************************************/
  8. #ifndef MAGNET_H
  9. #define MAGNET_H
  10. #include "FairModule.h" // for FairModule
  11. #include "Rtypes.h" // for FairMagnet::Class, Bool_t, etc
  12. #include <string> // for string
  13. class FairMagnet : public FairModule
  14. {
  15. public:
  16. FairMagnet(const char* name, const char* Title="PND Magnet");
  17. FairMagnet();
  18. virtual ~FairMagnet();
  19. void ConstructGeometry();
  20. void ConstructASCIIGeometry();
  21. Bool_t CheckIfSensitive(std::string name);
  22. virtual FairModule* CloneModule() const;
  23. private:
  24. FairMagnet(const FairMagnet& rhs);
  25. ClassDef(FairMagnet,1)
  26. };
  27. #endif //MAGNET_H