Skip to content

Commit 4141857

Browse files
committed
To solve the O2-lineter error
1 parent ede44af commit 4141857

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

PWGLF/Tasks/Resonances/chargedkstaranalysis.cxx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ struct Chargedkstaranalysis {
8585
FT0C = 1,
8686
FT0M = 2
8787
};
88+
std::unordered_set<int64_t> allowedMcIds;
89+
std::unordered_map<int64_t, float> centTruthByAllowed;
8890

8991
SliceCache cache;
9092
Preslice<aod::Tracks> perCollision = aod::track::collisionId;
@@ -570,10 +572,6 @@ struct Chargedkstaranalysis {
570572
LOG(info) << "Size of the histograms in chK(892) Analysis Task";
571573
histos.print();
572574
}
573-
// For reco MC
574-
std::unordered_set<int64_t> allowedMcIds;
575-
std::unordered_map<int64_t, float> centTruthByAllowed;
576-
577575
float lMultiplicity;
578576
template <typename CollisionType>
579577
float getCentrality(CollisionType const& collision)
@@ -1234,6 +1232,7 @@ struct Chargedkstaranalysis {
12341232

12351233
void processMC(soa::Join<aod::McCollisions, aod::McCentFT0Ms> const& mcCollisions, aod::McParticles& mcParticles, soa::Join<EventCandidates, aod::McCollisionLabels> const& events, MCV0Candidates const& v0s, MCTrackCandidates const& tracks)
12361234
{
1235+
12371236
// Event Selections
12381237
allowedMcIds.clear();
12391238
centTruthByAllowed.clear();

0 commit comments

Comments
 (0)