-
Notifications
You must be signed in to change notification settings - Fork 512
Expand file tree
/
Copy pathFT3BaseParam.h
More file actions
61 lines (51 loc) · 1.91 KB
/
Copy pathFT3BaseParam.h
File metadata and controls
61 lines (51 loc) · 1.91 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
// 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 ALICEO2_FT3_BASEPARAM_H_
#define ALICEO2_FT3_BASEPARAM_H_
#include "CommonUtils/ConfigurableParam.h"
#include "CommonUtils/ConfigurableParamHelper.h"
namespace o2
{
namespace ft3
{
// Parameters for FT3 (ML and OT disks)
enum eFT3Layout {
kCylindrical = 0,
kTrapezoidal,
kSegmented,
kSegmentedStave,
kSegmentedStaveOTOnly
};
struct FT3BaseParam : public o2::conf::ConfigurableParamHelper<FT3BaseParam> {
// Geometry Builder parameters
eFT3Layout layoutFT3 = kSegmentedStaveOTOnly;
int nTrapezoidalSegments = 32; // for the simple trapezoidal disks
// FT3Geometry::Telescope parameters
Int_t nLayers = 10;
Float_t z0 = -16.0; // First layer z position
Float_t zLength = 263.0; // Distance between first and last layers
Float_t etaIn = 4.5;
Float_t etaOut = 1.5;
Float_t Layerx2X0 = 0.01;
// define tolerance allowed for staves to go outside nominal radii
double staveTolMLInner = 0.;
double staveTolMLOuter = 0.;
double staveTolOTInner = 0.;
double staveTolOTOuter = 0.;
// What to place over x=0 line in case of full outer-outer stave: Gap or Module
bool placeSensorStackInMiddleOfStave = false;
// Draw reference circles at inner and outer radius of stave layer, for visualisation
bool drawReferenceCircles = false;
O2ParamDef(FT3BaseParam, "FT3Base");
};
} // end namespace ft3
} // end namespace o2
#endif // ALICEO2_FT3_BASEPARAM_H_