@@ -109,11 +109,9 @@ T getCompatibleBCs(aod::AmbiguousMFTTrack const& atrack, aod::Collision const& c
109109 }
110110
111111 int64_t maxBCId = bcIt.globalIndex ();
112- auto maxGlobalBC = bcIt.globalBC ();
113112
114113 while (bcIt != bcs.end () && bcIt.globalBC () < lastBC + deltaBC) {
115114 maxBCId = bcIt.globalIndex ();
116- maxGlobalBC = bcIt.globalBC ();
117115
118116 ++bcIt;
119117 }
@@ -149,12 +147,10 @@ T getCompatibleBCs(aod::MFTTracks::iterator const& track, aod::Collision const&
149147 // int64_t collLastBC = collFirstBC + 2*collOrig.collisionTimeRes()/o2::constants::lhc::LHCBunchSpacingNS +1;
150148
151149 int64_t minBCId = bcIt.globalIndex ();
152- uint64_t minGlobalBC = bcIt.globalBC ();
153150
154151 if ((int64_t )bcIt.globalBC () < firstBC + deltaBC) {
155152 while (bcIt != bcs.end () && (int64_t )bcIt.globalBC () < firstBC + deltaBC) {
156153 minBCId = bcIt.globalIndex ();
157- minGlobalBC = bcIt.globalBC ();
158154
159155 ++bcIt;
160156 }
@@ -164,19 +160,16 @@ T getCompatibleBCs(aod::MFTTracks::iterator const& track, aod::Collision const&
164160 }
165161 // minGlobalBC needs to be >= to firstBC+deltaBC
166162 minBCId = bcIt.globalIndex ();
167- minGlobalBC = bcIt.globalBC ();
168163
169164 } else {
170165 // here bcIt.globalBC() >= firstBC + deltaBC
171166
172167 while (bcIt != bcs.begin () && (int64_t )bcIt.globalBC () >= (int64_t )firstBC + deltaBC) {
173168 minBCId = bcIt.globalIndex ();
174- minGlobalBC = bcIt.globalBC ();
175169 --bcIt;
176170 }
177171 if (bcIt == bcs.begin () && (int64_t )bcIt.globalBC () >= (int64_t )firstBC + deltaBC) {
178172 minBCId = bcIt.globalIndex ();
179- minGlobalBC = bcIt.globalBC ();
180173 }
181174 ++bcIt; // retrieve the pointer which gave minBCId and minGlobalBC
182175 if (bcIt == bcs.end ()) {
@@ -185,7 +178,6 @@ T getCompatibleBCs(aod::MFTTracks::iterator const& track, aod::Collision const&
185178 }
186179
187180 int64_t maxBCId = bcIt.globalIndex ();
188- uint64_t maxGlobalBC = bcIt.globalBC ();
189181
190182 if ((int64_t )bcIt.globalBC () > (int64_t )lastBC + deltaBC) {
191183 // the previous minimum is actually bigger than the right boundary
@@ -218,7 +210,6 @@ T getCompatibleBCs(aod::MFTTracks::iterator const& track, aod::Collision const&
218210
219211 while (bcIt != bcs.end () && (int64_t )bcIt.globalBC () <= (int64_t )lastBC + deltaBC) {
220212 maxBCId = bcIt.globalIndex ();
221- maxGlobalBC = bcIt.globalBC ();
222213
223214 ++bcIt;
224215 }
0 commit comments