Skip to content

Commit 2115ef8

Browse files
committed
align
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent fee6e44 commit 2115ef8

File tree

6 files changed

+102
-130
lines changed

6 files changed

+102
-130
lines changed

Detectors/Upgrades/ITS3/alignment/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ o2_add_library(ITS3Align
2121
O2::Steer
2222
O2::ITSBase
2323
O2::ITSMFTSimulation
24+
O2::ITS3Reconstruction
2425
O2::Framework
2526
O2::GlobalTrackingWorkflowReaders
2627
O2::GlobalTrackingWorkflowHelpers

Detectors/Upgrades/ITS3/alignment/include/ITS3Align/AlignmentParams.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,22 @@ struct AlignmentParams : public o2::conf::ConfigurableParamHelper<AlignmentParam
2727
double maxSnp = 0.85;
2828
double maxStep = 2.0;
2929
// o2::base::PropagatorD::MatCorrType matCorrType = o2::base::PropagatorD::MatCorrType::USEMatCorrTGeo;
30-
o2::base::PropagatorD::MatCorrType matCorrType = o2::base::PropagatorD::MatCorrType::USEMatCorrLUT;
30+
o2::base::PropagatorD::MatCorrType corrType = o2::base::PropagatorD::MatCorrType::USEMatCorrLUT;
3131

32-
bool useStableRefit = 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
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+
float extraClsErrY[7] = {0};
37+
float extraClsErrZ[7] = {0};
3538

3639
// Ridder options
3740
int ridderMaxExtrap = 10;
3841
double ridderRelIniStep[5] = {0.01, 0.01, 0.02, 0.02, 0.02};
3942
double ridderMaxIniStep[5] = {0.1, 0.1, 0.05, 0.05, 0.05};
4043
double ridderShrinkFac = 2.0;
4144
double ridderEps = 1e-16;
42-
double ridderMaxJacDiagTol = 0.1; // max tolerance of diagonal elements away from 1
45+
double ridderMaxJacDiagTol = 0.2; // max tolerance of diagonal elements away from 1
4346

4447
// MillePede output
4548
std::string milleBinFile = "mp2data.bin";

Detectors/Upgrades/ITS3/alignment/include/ITS3Align/AlignmentTypes.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,8 @@ struct Measurement final {
3232
struct FrameInfoExt final {
3333
int16_t sens = -1;
3434
int8_t lr = -1; // -1 = vtx
35-
o2::math_utils::Point3D<float> trk;
36-
o2::math_utils::Point3D<float> loc;
37-
o2::math_utils::Point3D<float> glo;
38-
float x{-999.f};
39-
float alpha{-999.f};
35+
double x{-999.f};
36+
double alpha{-999.f};
4037
std::array<double, 2> positionTrackingFrame = {999., 999.};
4138
std::array<double, 3> covarianceTrackingFrame = {999., 999., 999.};
4239

@@ -48,7 +45,7 @@ struct FrameInfoExt final {
4845
struct FitInfo final {
4946
float chi2Ndf{-1}; // Chi2/Ndf of track refit
5047
float chi2{-1}; // Chi2
51-
int ndf; // ndf
48+
int ndf{-1}; // ndf
5249
ClassDefNV(FitInfo, 1)
5350
};
5451

Detectors/Upgrades/ITS3/alignment/src/AlignmentSensors.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// or submit itself to any jurisdiction.
1111

1212
#include <numbers>
13+
#include <format>
1314

1415
#include <TGeoManager.h>
1516
#include <TGeoPhysicalNode.h>

0 commit comments

Comments
 (0)