Project
Loading...
Searching...
No Matches
Magnet.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12/********************************************************************************
13 * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
14 * *
15 * This software is distributed under the terms of the *
16 * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
17 * copied verbatim in the file "LICENSE" *
18 ********************************************************************************/
19
20// -------------------------------------------------------------------------
21// ----- Magnet file -----
22// ----- Created 26/03/14 by M. Al-Turany -----
23// -------------------------------------------------------------------------
24
25#ifndef ALICEO2_PASSIVE_MAGNET_H
26#define ALICEO2_PASSIVE_MAGNET_H
27
28#include "DetectorsPassive/PassiveBase.h"
29#include "Rtypes.h" // for Magnet::Class, Bool_t, etc
30
31namespace o2
32{
33namespace passive
34{
35class Magnet : public PassiveBase
36{
37 public:
38 Magnet(const char* name, const char* Title = "ALICE Magnet");
39 Magnet();
40 ~Magnet() override;
41 void ConstructGeometry() override;
42 void createMaterials();
43
45 FairModule* CloneModule() const override;
46
47 private:
48 Magnet(const Magnet& orig);
49 Magnet& operator=(const Magnet&);
50
51 ClassDefOverride(o2::passive::Magnet, 1);
52};
53} // namespace passive
54} // namespace o2
55
56#endif // MAGNET_H
void createMaterials()
Definition Magnet.cxx:60
void ConstructGeometry() override
Definition Magnet.cxx:135
FairModule * CloneModule() const override
Clone this object (used in MT mode only)
Definition Magnet.cxx:401
a common base class for passive modules - implementing generic functions
Definition PassiveBase.h:24
GLuint const GLchar * name
Definition glcorearb.h:781
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...