@@ -66,7 +66,7 @@ struct HfTaskSingleMuonMult {
66
66
Configurable<bool > reduceOrphMft{" reduceOrphMft" , true , " reduce orphan MFT tracks" };
67
67
68
68
o2::framework::HistogramRegistry registry{" registry" , {}, OutputObjHandlingPolicy::AnalysisObject, true , true };
69
- static constexpr std::string_view kTrackType [] = {" TrackType0" ," TrackType1" ," TrackType2" ," TrackType3" ," TrackType4" };
69
+ static constexpr std::string_view kTrackType [] = {" TrackType0" , " TrackType1" , " TrackType2" , " TrackType3" , " TrackType4" };
70
70
uint8_t globalMuonTrack = o2::aod::fwdtrack::GlobalMuonTrack;
71
71
72
72
void init (InitContext&)
@@ -171,8 +171,8 @@ struct HfTaskSingleMuonMult {
171
171
172
172
int nCh = 0 .;
173
173
int nMu = 0 .;
174
- const int nTypes = 5 ;
175
- int nMuTrackType[nTypes] = {0 };
174
+ const int nTypes = 5 ;
175
+ int nMuTrackType[nTypes] = {0 };
176
176
177
177
std::vector<typename std::decay_t <decltype (tracks)>::iterator> chTracks;
178
178
for (const auto & track : tracks) {
@@ -261,14 +261,15 @@ struct HfTaskSingleMuonMult {
261
261
registry.fill (HIST (" h3MultNchNmu" ), cent, nCh, nMu);
262
262
263
263
static_for<0 , 4 >([&](auto i) {
264
- constexpr int kIndex = i.value ;
265
- if (nMuTrackType[kIndex ] > 0 ) registry.fill (HIST (" h3MultNchNmu_" ) + HIST (kTrackType [kIndex ]) , cent, nCh, nMuTrackType[kIndex ]);
266
- });
264
+ constexpr int kIndex = i.value ;
265
+ if (nMuTrackType[kIndex ] > 0 )
266
+ registry.fill (HIST (" h3MultNchNmu_" ) + HIST (kTrackType [kIndex ]), cent, nCh, nMuTrackType[kIndex ]);
267
+ });
267
268
chTracks.clear ();
268
269
}
269
270
void process (MyCollisions::iterator const & collision,
270
- MyTracks const & tracks,
271
- MyMuons const & muons)
271
+ MyTracks const & tracks,
272
+ MyMuons const & muons)
272
273
{
273
274
runMuonSel (collision, tracks, muons);
274
275
}
0 commit comments