Skip to content

Commit 8edba32

Browse files
author
David Dobrigkeit Chinellato
committed
Minor fixes and adjustments
1 parent 3385eae commit 8edba32

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Common/TableProducer/eventSelectionService.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ struct eventselectionRun2 {
9696
aod::FDDs const&,
9797
FullTracks const&)
9898
{
99-
auto bcselbuffer = bcselmodule.processRun2(ccdb, bcs, bcsel);
100-
evselmodule.processRun2(ccdb, histos, collisions, tracklets, cache, bcselbuffer, evsel);
99+
bcselmodule.processRun2(ccdb, bcs, bcselsbuffer, bcsel);
100+
evselmodule.processRun2(ccdb, histos, collisions, tracklets, cache, bcselsbuffer, evsel);
101101
}
102102
};
103103

@@ -151,9 +151,9 @@ struct eventselectionRun3 {
151151
aod::FDDs const&,
152152
FullTracksIU const&)
153153
{
154-
auto bcselbuffer = bcselmodule.processRun3(ccdb, histos, bcs, bcsel);
155-
evselmodule.processRun3(ccdb, histos, bcs, collisions, pvTracks, ft0s, cache, bcselbuffer, evsel);
156-
lumimodule.process(ccdb, histos, bcs, bcselbuffer);
154+
bcselmodule.processRun3(ccdb, histos, bcs, bcselsbuffer, bcsel);
155+
evselmodule.processRun3(ccdb, histos, bcs, collisions, pvTracks, ft0s, cache, bcselsbuffer, evsel);
156+
lumimodule.process(ccdb, histos, bcs, bcselsbuffer);
157157
}
158158
};
159159

Common/Tools/EventSelectionTools.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ class BcSelectionModule
233233
}
234234

235235
//__________________________________________________
236-
template <typename TCCDB, typename TBCs, typename TBcSelCursor>
237-
std::vector<o2::common::eventselection::bcselEntry> processRun2(TCCDB const& ccdb, TBCs const& bcs, TBcSelCursor& bcsel)
236+
template <typename TCCDB, typename TBCs, typename TBcSelBuffer, typename TBcSelCursor>
237+
std::vector<o2::common::eventselection::bcselEntry> processRun2(TCCDB const& ccdb, TBCs const& bcs, TBcSelBuffer const& bcselbuffer, TBcSelCursor& bcsel)
238238
{
239239
std::vector<o2::common::eventselection::bcselEntry> bcselEntries;
240240
for (const auto& bc : bcs) {
@@ -367,8 +367,8 @@ class BcSelectionModule
367367
} // end processRun2
368368

369369
//__________________________________________________
370-
template <typename TCCDB, typename THistoRegistry, typename TBCs, typename TBcSelCursor>
371-
std::vector<o2::common::eventselection::bcselEntry> processRun3(TCCDB const& ccdb, THistoRegistry& histos, TBCs const& bcs, TBcSelCursor& bcsel)
370+
template <typename TCCDB, typename THistoRegistry, typename TBCs, typename TBcSelBuffer, typename TBcSelCursor>
371+
std::vector<o2::common::eventselection::bcselEntry> processRun3(TCCDB const& ccdb, THistoRegistry& histos, TBCs const& bcs, TBcSelBuffer const& bcselbuffer, TBcSelCursor& bcsel)
372372
{
373373
std::vector<o2::common::eventselection::bcselEntry> bcselEntries;
374374
if(!configure(ccdb, bcs))
@@ -741,9 +741,9 @@ class EventSelectionModule
741741

742742
// fill counters
743743
if (evselOpts.isMC == 1 || (!isINT1period && bitcheck(alias, kINT7)) || (isINT1period && bitcheck(alias, kINT1))) {
744-
histos.template get<TH1>(HIST("hColCounterAll"))->Fill(Form("%d", bc.runNumber()), 1);
744+
histos.template get<TH1>(HIST("eventselection/hColCounterAll"))->Fill(Form("%d", bc.runNumber()), 1);
745745
if ((!isINT1period && sel7) || (isINT1period && sel1)) {
746-
histos.template get<TH1>(HIST("hColCounterAcc"))->Fill(Form("%d", bc.runNumber()), 1);
746+
histos.template get<TH1>(HIST("eventselection/hColCounterAcc"))->Fill(Form("%d", bc.runNumber()), 1);
747747
}
748748
}
749749

0 commit comments

Comments
 (0)