Skip to content

Commit bd76ac3

Browse files
mpuccioshahor02
authored andcommitted
Update selections and introduce new mode
1 parent d104881 commit bd76ac3

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

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

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,11 @@ void TrackerDPL::init(InitContext& ic)
100100
memParams.resize(3);
101101
LOG(info) << "Initializing tracker in async. phase reconstruction with " << trackParams.size() << " passes";
102102

103-
} else if (mMode == "sync") {
103+
} else if (mMode == "sync_misaligned") {
104104

105105
trackParams.resize(1);
106+
trackParams[0].PhiBins = 32;
107+
trackParams[0].ZBins = 64;
106108
trackParams[0].TrackletMaxDeltaPhi *= 4;
107109
for (float& dZ : trackParams[0].TrackletMaxDeltaZ) {
108110
dZ = std::hypot(dZ, 0.3);
@@ -123,8 +125,12 @@ void TrackerDPL::init(InitContext& ic)
123125
trackParams[0].FitIterationMaxChi2[1] = 1.e28;
124126
trackParams[0].MinTrackLength = 4;
125127
memParams.resize(1);
126-
LOG(info) << "Initializing tracker in sync. phase reconstruction with " << trackParams.size() << " passes";
128+
LOG(info) << "Initializing tracker in misaligned sync. phase reconstruction with " << trackParams.size() << " passes";
127129

130+
} else if (mMode == "sync") {
131+
memParams.resize(1);
132+
trackParams.resize(1);
133+
LOG(info) << "Initializing tracker in sync. phase reconstruction with " << trackParams.size() << " passes";
128134
} else if (mMode == "cosmics") {
129135
mRunVertexer = false;
130136
trackParams.resize(1);
@@ -302,14 +308,6 @@ void TrackerDPL::run(ProcessingContext& pc)
302308
mTimeFrame.setMultiplicityCutMask(processingMask);
303309
mTracker->clustersToTracks(logger);
304310

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-
313311
for (unsigned int iROF{0}; iROF < rofs.size(); ++iROF) {
314312

315313
auto& rof{rofs[iROF]};

0 commit comments

Comments
 (0)