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
15#include "TRKBase/Specs.h"
16
19
20namespace o2
21{
22namespace trk
23{
31
37
42
43struct TRKBaseParam : public o2::conf::ConfigurableParamHelper<TRKBaseParam> {
44 std::string configFile = "";
45 float serviceTubeX0 = 0.02f; // X0 Al2O3
46 float otBarrelWallThickness = 0.2f; // cm, carbon fibre separation walls of the OT quarter barrels, 0 disables them
47 float otEosCardCuThickness = constants::OT::eosCard::copperThickness; // cm, copper per plane in the OT end-of-stave card; drives the card x/X0
48 bool irisOpen = false;
49 bool includeLowServices = false;
50
51 // Options for forward disks (FT3)
52 int nTrapezoidalSegments = 32; // for the simple trapezoidal disks
53 // Forward discs: define tolerance allowed for staves to go outside nominal radii
54 double staveTolFT3MLInner = 0.;
55 double staveTolFT3MLOuter = 0.;
56 double staveTolFT3OTInner = 0.;
57 double staveTolFT3OTOuter = 0.;
58
59 // Forward discs: toggle to center staves at x=0 line
61
62 // Draw reference circles at inner and outer radius of forward discs for visualisation
64
65 eVDLayout layoutVD = kIRIS4; // VD detector layout design
66 eMLOTLayout layoutMLOT = kSegmented; // ML and OT detector layout design
67 eSrvLayout layoutSRV = kPeacockv1; // Layout of services
68
69 eVDLayout getLayoutVD() const { return layoutVD; }
71 eSrvLayout getLayoutSRV() const { return layoutSRV; }
72
74};
75
76} // end namespace trk
77} // end namespace o2
78
79#endif
specs of the ALICE3 TRK
constexpr double copperThickness
Definition Specs.h:175
@ kIRISFullCyl3InclinedWalls
@ kSimplifiedRealistic
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
O2ParamDef(TRKBaseParam, "TRKBase")
eMLOTLayout getLayoutMLOT() const
eVDLayout getLayoutVD() const
eSrvLayout getLayoutSRV() const