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
35 StandardRadius = 0, // Using standard radius for the magnet and absorber
36 ReducedRadius = 1, // Using reduced radius for the magnet and absorber
37 SteppedAbsorber = 2 // Using stepped absorber for the magnet and absorber
38};
39
40struct Alice3PassiveBaseParam : public o2::conf::ConfigurableParamHelper<Alice3PassiveBaseParam> {
41 // Geometry Builder parameters
42
43 MagnetType mMagType = MagnetType::AluminiumStabilizer; // Magnet type: as in MagnetType enum
44 MagnetAbsorberLayout mMagAbsLayout = o2::passive::MagnetAbsorberLayout::SteppedAbsorber; // Magnet and absorber layout: as in MagnetAbsorberLayout enum
45
46 O2ParamDef(Alice3PassiveBaseParam, "Alice3PassiveBase");
47};
48
49} // namespace passive
50} // end namespace o2
51
52#endif // ALICEO2_PASSIVE_BASEPARAM_H_
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
O2ParamDef(Alice3PassiveBaseParam, "Alice3PassiveBase")