Skip to content

Commit d104881

Browse files
mpuccioshahor02
authored andcommitted
First version of misaligned selections
1 parent 3aa67df commit d104881

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Detectors/ITSMFT/ITS/workflow/src/TrackerSpec.cxx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,25 @@ void TrackerDPL::init(InitContext& ic)
103103
} else if (mMode == "sync") {
104104

105105
trackParams.resize(1);
106+
trackParams[0].TrackletMaxDeltaPhi *= 4;
107+
for (float& dZ : trackParams[0].TrackletMaxDeltaZ) {
108+
dZ = std::hypot(dZ, 0.3);
109+
}
110+
trackParams[0].CellMaxDeltaPhi = 0.5;
111+
for (float& dca : trackParams[0].CellMaxDCA) {
112+
dca = std::hypot(dca, 1.);
113+
}
114+
for (float& dca : trackParams[0].CellMaxDeltaZ) {
115+
dca = std::hypot(dca, 1.);
116+
}
117+
trackParams[0].CellMaxDeltaTanLambda = 0.2;
118+
for (int iLayer = 0; iLayer < 4; ++iLayer) {
119+
trackParams[0].NeighbourMaxDeltaCurvature[iLayer] *= 16;
120+
trackParams[0].NeighbourMaxDeltaN[iLayer] *= 16;
121+
}
122+
trackParams[0].FitIterationMaxChi2[0] = 1.e28;
123+
trackParams[0].FitIterationMaxChi2[1] = 1.e28;
124+
trackParams[0].MinTrackLength = 4;
106125
memParams.resize(1);
107126
LOG(info) << "Initializing tracker in sync. phase reconstruction with " << trackParams.size() << " passes";
108127

@@ -283,6 +302,14 @@ void TrackerDPL::run(ProcessingContext& pc)
283302
mTimeFrame.setMultiplicityCutMask(processingMask);
284303
mTracker->clustersToTracks(logger);
285304

305+
for (int iL{0}; iL < mTimeFrame.getTracklets().size(); ++iL) {
306+
LOG(info) << fmt::format("\t\t - Tracklets between layers {}-{}: {}",iL, iL+1, mTimeFrame.getTracklets()[iL].size());
307+
}
308+
309+
for (int iL{0}; iL < mTimeFrame.getCells().size(); ++iL) {
310+
LOG(info) << fmt::format("\t\t - Cells between layers {}-{}-{}: {}",iL, iL+1, iL + 2, mTimeFrame.getCells()[iL].size());
311+
}
312+
286313
for (unsigned int iROF{0}; iROF < rofs.size(); ++iROF) {
287314

288315
auto& rof{rofs[iROF]};

0 commit comments

Comments
 (0)