Project
Loading...
Searching...
No Matches
Compensator.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#ifndef ALICEO2_PASSIVE_COMPENSATOR_H
13#define ALICEO2_PASSIVE_COMPENSATOR_H
14
15#include "DetectorsPassive/PassiveBase.h"
16#include "Rtypes.h"
17
18namespace o2
19{
20namespace passive
21{
22// The dipole compensator on the A side
24{
25 public:
26 Compensator(const char* name, const char* Title = "ALICE Compensator");
28 ~Compensator() override;
29 void ConstructGeometry() override;
30
32 FairModule* CloneModule() const override;
33
34 private:
35 Compensator(const Compensator& orig);
36 Compensator& operator=(const Compensator&);
37
38 void createMaterials();
39 void createCompensator();
40 TGeoVolume* createMagnetYoke();
41
42 ClassDefOverride(o2::passive::Compensator, 1);
43};
44} // namespace passive
45} // namespace o2
46
47#endif /* ALICEO2_PASSIVE_COMPENSATOR_H */
void ConstructGeometry() override
FairModule * CloneModule() const override
Clone this object (used in MT mode only)
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 ...