Project
Loading...
Searching...
No Matches
PassiveBaseParam.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_BASEPARAM_H_
13#define ALICEO2_PASSIVE_BASEPARAM_H_
14
17
18namespace o2
19{
20namespace passive
21{
22
23// **
24// ** Parameters for Passive base configuration
25// **
26
27enum MagnetType : int {
28 AluminiumStabilizer = 0, // Using Aluminium stabilizer for the magnet
29 CopperStabilizer = 1, // Using Copper stabilizer for the magnet
30 WindingPack = 2, // Using Winding Pack for the magnet
31 SuperconductingMagnet = 3 // Using Superconducting magnet (NbTi+Cu+Al) for the magnet
32};
33
34enum MagnetLayout : int {
35 MagStandardRadius = 0, // Using standard radius for the magnet
36 MagReducedRadius = 1, // Using reduced radius for the magnet
37 MagThickRadius = 2, // Using thick radius for the magnet
38};
39
40enum AbsorberLayout : int {
41 AbsStandardRadius = 0, // Using standard radius for the absorber
42 AbsReducedRadius = 1, // Using reduced radius for the absorber
43 AbsSteppedAbsorber = 2 // Using stepped absorber for the absorber
44};
45
46struct Alice3PassiveBaseParam : public o2::conf::ConfigurableParamHelper<Alice3PassiveBaseParam> {
47 // Geometry Builder parameters
48
49 MagnetType mMagType = MagnetType::AluminiumStabilizer; // Magnet type: as in MagnetType enum
50 MagnetLayout mMagnetLayout = o2::passive::MagnetLayout::MagStandardRadius; // Magnet layout: as in MagnetLayout enum
52
53 O2ParamDef(Alice3PassiveBaseParam, "Alice3PassiveBase");
54};
55
56} // namespace passive
57} // end namespace o2
58
59#endif // ALICEO2_PASSIVE_BASEPARAM_H_
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
O2ParamDef(Alice3PassiveBaseParam, "Alice3PassiveBase")