Project
Loading...
Searching...
No Matches
TRKBaseParam.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 O2_TRK_BASEPARAM_H
13#define O2_TRK_BASEPARAM_H
14
17
18namespace o2
19{
20namespace trk
21{
29
34
41
46
47struct TRKBaseParam : public o2::conf::ConfigurableParamHelper<TRKBaseParam> {
48 std::string configFile = "";
49 float serviceTubeX0 = 0.02f; // X0 Al2O3
50 bool irisOpen = false;
51 bool includeLowServices = false;
52
53 bool disableFT3 = false;
54
55 // Options for forward disks (FT3)
56 int nTrapezoidalSegments = 32; // for the simple trapezoidal disks
57 // Forward discs: define tolerance allowed for staves to go outside nominal radii
58 double staveTolFT3MLInner = 0.;
59 double staveTolFT3MLOuter = 0.;
60 double staveTolFT3OTInner = 0.;
61 double staveTolFT3OTOuter = 0.;
62
63 // Forward discs: toggle to center staves at x=0 line
65
66 // Draw reference circles at inner and outer radius of forward discs for visualisation
68
69 eVDLayout layoutVD = kIRIS4; // VD detector layout design
70 eMLOTLayout layoutMLOT = kSegmented; // ML and OT detector layout design
72 eSrvLayout layoutSRV = kPeacockv1; // Layout of services
73
74 eVDLayout getLayoutVD() const { return layoutVD; }
76 eFT3Layout getLayoutFT3() const { return layoutFT3; }
77 eSrvLayout getLayoutSRV() const { return layoutSRV; }
78
80};
81
82} // end namespace trk
83} // end namespace o2
84
85#endif
@ kIRISFullCyl3InclinedWalls
@ kSegmentedFT3
@ kSegmentedStave
@ kSegmentedStaveOTOnly
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
O2ParamDef(TRKBaseParam, "TRKBase")
eMLOTLayout getLayoutMLOT() const
eFT3Layout getLayoutFT3() const
eVDLayout getLayoutVD() const
eSrvLayout getLayoutSRV() const