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 "
CommonUtils/ConfigurableParam.h
"
16
#include "
CommonUtils/ConfigurableParamHelper.h
"
17
18
namespace
o2
19
{
20
namespace
trk
21
{
22
23
enum
eOverallGeom
{
24
kDefaultRadii
= 0,
// After Upgrade Days March 2024
25
kModRadii
,
26
};
27
28
enum
eLayout
{
29
kCylinder
= 0,
30
kTurboStaves
,
31
kStaggered
,
32
};
33
34
enum
eVDLayout
{
35
kIRIS4
= 0,
36
kIRISFullCyl
,
37
kIRIS5
,
38
kIRIS4a
,
39
};
40
41
struct
TRKBaseParam
:
public
o2::conf::ConfigurableParamHelper
<TRKBaseParam> {
42
std::string
configFile
=
""
;
43
float
serviceTubeX0
= 0.02f;
// X0 Al2O3
44
Bool_t
irisOpen
=
false
;
45
46
eOverallGeom
overallGeom
=
kDefaultRadii
;
// Overall geometry option, to be used in Detector::buildTRKMiddleOuterLayers
47
48
eLayout
layoutML
=
kTurboStaves
;
// Type of segmentation for the middle layers
49
eLayout
layoutOL
=
kStaggered
;
// Type of segmentation for the outer layers
50
eVDLayout
layoutVD
=
kIRIS4
;
// VD detector layout design
51
52
eLayout
getLayoutML
()
const
{
return
layoutML
; }
53
eLayout
getLayoutOL
()
const
{
return
layoutOL
; }
54
eVDLayout
getLayoutVD
()
const
{
return
layoutVD
; }
55
56
O2ParamDef
(
TRKBaseParam
,
"TRKBase"
);
57
};
58
59
}
// end namespace trk
60
}
// end namespace o2
61
62
#endif
ConfigurableParamHelper.h
ConfigurableParam.h
o2::conf::ConfigurableParamHelper
Definition
ConfigurableParamHelper.h:78
o2::trk::eLayout
eLayout
Definition
TRKBaseParam.h:28
o2::trk::kTurboStaves
@ kTurboStaves
Definition
TRKBaseParam.h:30
o2::trk::kStaggered
@ kStaggered
Definition
TRKBaseParam.h:31
o2::trk::kCylinder
@ kCylinder
Definition
TRKBaseParam.h:29
o2::trk::eOverallGeom
eOverallGeom
Definition
TRKBaseParam.h:23
o2::trk::kDefaultRadii
@ kDefaultRadii
Definition
TRKBaseParam.h:24
o2::trk::kModRadii
@ kModRadii
Definition
TRKBaseParam.h:25
o2::trk::eVDLayout
eVDLayout
Definition
TRKBaseParam.h:34
o2::trk::kIRIS4a
@ kIRIS4a
Definition
TRKBaseParam.h:38
o2::trk::kIRISFullCyl
@ kIRISFullCyl
Definition
TRKBaseParam.h:36
o2::trk::kIRIS5
@ kIRIS5
Definition
TRKBaseParam.h:37
o2::trk::kIRIS4
@ kIRIS4
Definition
TRKBaseParam.h:35
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
FlattenRestore.h:23
o2::trk::TRKBaseParam
Definition
TRKBaseParam.h:41
o2::trk::TRKBaseParam::O2ParamDef
O2ParamDef(TRKBaseParam, "TRKBase")
o2::trk::TRKBaseParam::serviceTubeX0
float serviceTubeX0
Definition
TRKBaseParam.h:43
o2::trk::TRKBaseParam::layoutVD
eVDLayout layoutVD
Definition
TRKBaseParam.h:50
o2::trk::TRKBaseParam::overallGeom
eOverallGeom overallGeom
Definition
TRKBaseParam.h:46
o2::trk::TRKBaseParam::irisOpen
Bool_t irisOpen
Definition
TRKBaseParam.h:44
o2::trk::TRKBaseParam::configFile
std::string configFile
Definition
TRKBaseParam.h:42
o2::trk::TRKBaseParam::getLayoutOL
eLayout getLayoutOL() const
Definition
TRKBaseParam.h:53
o2::trk::TRKBaseParam::layoutOL
eLayout layoutOL
Definition
TRKBaseParam.h:49
o2::trk::TRKBaseParam::getLayoutML
eLayout getLayoutML() const
Definition
TRKBaseParam.h:52
o2::trk::TRKBaseParam::getLayoutVD
eVDLayout getLayoutVD() const
Definition
TRKBaseParam.h:54
o2::trk::TRKBaseParam::layoutML
eLayout layoutML
Definition
TRKBaseParam.h:48
Detectors
Upgrades
ALICE3
TRK
base
include
TRKBase
TRKBaseParam.h
Generated on Sat Feb 21 2026 17:58:54 for Project by
1.9.8