forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTRKBaseParam.h
More file actions
70 lines (56 loc) · 1.89 KB
/
TRKBaseParam.h
File metadata and controls
70 lines (56 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
#ifndef O2_TRK_BASEPARAM_H
#define O2_TRK_BASEPARAM_H
#include "CommonUtils/ConfigurableParam.h"
#include "CommonUtils/ConfigurableParamHelper.h"
namespace o2
{
namespace trk
{
enum eOverallGeom {
kDefaultRadii = 0, // After Upgrade Days March 2024
kModRadii,
};
enum eLayout {
kCylinder = 0,
kTurboStaves,
kStaggered,
};
enum eVDLayout {
kIRIS4 = 0,
kIRISFullCyl,
kIRISFullCyl3InclinedWalls,
kIRIS5,
kIRIS4a,
};
enum eSrvLayout {
kPeacockv1 = 0,
kLOISymm,
};
struct TRKBaseParam : public o2::conf::ConfigurableParamHelper<TRKBaseParam> {
std::string configFile = "";
float serviceTubeX0 = 0.02f; // X0 Al2O3
Bool_t irisOpen = false;
eOverallGeom overallGeom = kDefaultRadii; // Overall geometry option, to be used in Detector::buildTRKMiddleOuterLayers
eLayout layoutML = kTurboStaves; // Type of segmentation for the middle layers
eLayout layoutOT = kStaggered; // Type of segmentation for the outer layers
eVDLayout layoutVD = kIRIS4; // VD detector layout design
eSrvLayout layoutSRV = kPeacockv1; // Layout of services
eLayout getLayoutML() const { return layoutML; }
eLayout getLayoutOT() const { return layoutOT; }
eVDLayout getLayoutVD() const { return layoutVD; }
eSrvLayout getLayoutSRV() const { return layoutSRV; }
O2ParamDef(TRKBaseParam, "TRKBase");
};
} // end namespace trk
} // end namespace o2
#endif