Project
Loading...
Searching...
No Matches
AlignmentParams.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#ifndef ALICEO2_ITS3_ALIGNMENTPARAMS_H_
12#define ALICEO2_ITS3_ALIGNMENTPARAMS_H_
13
17
18namespace o2::its3::align
19{
20struct AlignmentParams : public o2::conf::ConfigurableParamHelper<AlignmentParams> {
21 // Track selection
22 float minPt = 1.f; // minimum pt required
23 int minITSCls = 7; // minimum number of ITS clusters
24 float maxITSChi2Ndf = 1.2; // maximum ITS track chi2
25
26 // propagation opt
27 double maxSnp = 0.85;
28 double maxStep = 2.0;
29 // o2::base::PropagatorD::MatCorrType matCorrType = o2::base::PropagatorD::MatCorrType::USEMatCorrTGeo;
31
32 bool useStableRef = true; // use input tracks as linearization point
33 float minMS = 1e-6f; // minimum scattering to account for
34 float maxChi2Ndf = 10; // maximum Chi2/Ndf allowed for GBL fit
35
36 // per chip extra error
37 float extraClsErrY[6] = {0};
38 float extraClsErrZ[6] = {0};
39
40 // misalignment simulation
41 bool doMisalignmentLeg = false; // simulate Legendre deformation on ITS3 layers
42 bool doMisalignmentRB = false; // simulate rigid body misalignment on ITS3 layers
43 std::string misAlgJson; // JSON file with deformation and/or rigid body params
44
45 // DOF configuration (JSON file defining which volumes have which DOFs)
46 std::string dofConfigJson; // if empty, no DOFs are configured
47
48 // Ridder options
50 double ridderRelIniStep[5] = {0.01, 0.01, 0.02, 0.02, 0.02};
51 double ridderMaxIniStep[5] = {0.1, 0.1, 0.05, 0.05, 0.05};
52 double ridderShrinkFac = 2.0;
53 double ridderEps = 1e-16;
54
55 // MillePede output
56 std::string milleBinFile = "mp2data.bin";
57 std::string milleConFile = "mp2con.txt";
58 std::string milleParamFile = "mp2param.txt";
59 std::string milleTreeFile = "mp2tree.txt";
60 std::string milleResFile = "millepede.res";
61 std::string milleResOutJson = "result.json";
62
63 O2ParamDef(AlignmentParams, "ITS3AlignmentParams");
64};
65} // namespace o2::its3::align
66
67#endif
O2ParamDef(AlignmentParams, "ITS3AlignmentParams")
o2::base::PropagatorD::MatCorrType corrType