Skip to content

Commit 411a3d2

Browse files
committed
Please consider the following formatting changes
1 parent f67616c commit 411a3d2

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

PWGHF/HFL/Tasks/taskSingleMuonMult.cxx

+9-8
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ struct HfTaskSingleMuonMult {
6666
Configurable<bool> reduceOrphMft{"reduceOrphMft", true, "reduce orphan MFT tracks"};
6767

6868
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"};
7070
uint8_t globalMuonTrack = o2::aod::fwdtrack::GlobalMuonTrack;
7171

7272
void init(InitContext&)
@@ -171,8 +171,8 @@ struct HfTaskSingleMuonMult {
171171

172172
int nCh = 0.;
173173
int nMu = 0.;
174-
const int nTypes = 5;
175-
int nMuTrackType[nTypes] = {0};
174+
const int nTypes = 5;
175+
int nMuTrackType[nTypes] = {0};
176176

177177
std::vector<typename std::decay_t<decltype(tracks)>::iterator> chTracks;
178178
for (const auto& track : tracks) {
@@ -261,14 +261,15 @@ struct HfTaskSingleMuonMult {
261261
registry.fill(HIST("h3MultNchNmu"), cent, nCh, nMu);
262262

263263
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+
});
267268
chTracks.clear();
268269
}
269270
void process(MyCollisions::iterator const& collision,
270-
MyTracks const& tracks,
271-
MyMuons const& muons)
271+
MyTracks const& tracks,
272+
MyMuons const& muons)
272273
{
273274
runMuonSel(collision, tracks, muons);
274275
}

0 commit comments

Comments
 (0)