Skip to content

Commit 8d5822c

Browse files
authored
Add optional residuals from IB/OB tracks extrapolations to OB/IB clusters (#16003)
1 parent 25a9d44 commit 8d5822c

3 files changed

Lines changed: 258 additions & 162 deletions

File tree

‎Detectors/GlobalTrackingWorkflow/study/include/GlobalTrackingStudy/CheckResidConfig.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ struct CheckResidConfig : o2::conf::ConfigurableParamHelper<CheckResidConfig> {
2828
bool addPVAsCluster = true;
2929
bool useStableRef = true;
3030
bool doIBOB = true;
31+
bool doIBOBresiduals = true; ///< fill residuals of OB(IB) points wrt extrapolation of the IB(OB) sub-track, w/o intermediate updates
3132
bool doResid = true;
3233
bool useITSGloContributors = false;
3334

@@ -48,6 +49,7 @@ struct CheckResidConfig : o2::conf::ConfigurableParamHelper<CheckResidConfig> {
4849
float zranges[8] = {10.f, 15.f, 15.f, 15.f, 40.f, 40.f, 74.f, 74.f};
4950
float maxDYZ[8] = {0.03, 0.015, 0.01, 0.01, 0.08, 0.08, 0.12, 0.1};
5051
float maxDPar[5] = {0.15, 0.15, 0.015, 0.015, 1.};
52+
float IOBScaleFactor = 5.f; ///< multiplier applied to maxDYZ, resMMLrY, resMMLrZ when booking/drawing the (larger range) IOB residuals
5153
float maxHPVXY = 0.5;
5254
float maxHPVZ = 20.;
5355
float maxHPVN = 200.;

‎Detectors/GlobalTrackingWorkflow/study/include/GlobalTrackingStudy/CheckResidTypes.h‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@ struct Point {
2121
float dz = 0.f;
2222
float sig2y = 0.f;
2323
float sig2z = 0.f;
24+
float dyIOB = 0.f; ///< residual wrt extrapolation of the IB (for OB points) or OB (for IB points) sub-track, no intermediate updates
25+
float dzIOB = 0.f;
26+
float sig2yIOB = 0.f; ///< <= 0 means IOB residual was not computed for this point
27+
float sig2zIOB = 0.f;
2428
float phi = 0.f;
2529
float z = 0.f;
2630
float snp = 0.f;
2731
int16_t clSize = 0;
2832
int16_t sens = -1;
2933
int8_t lr = -1; // -1 = vtx
30-
ClassDefNV(Point, 2)
34+
ClassDefNV(Point, 3)
3135
};
3236

3337
struct Track {

0 commit comments

Comments
 (0)