Skip to content

Commit 3232b73

Browse files
committed
Solve the o2-linter error
1 parent 4141857 commit 3232b73

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

PWGLF/Tasks/Resonances/chargedkstaranalysis.cxx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ struct Chargedkstaranalysis {
8585
FT0C = 1,
8686
FT0M = 2
8787
};
88-
std::unordered_set<int64_t> allowedMcIds;
89-
std::unordered_map<int64_t, float> centTruthByAllowed;
90-
9188
SliceCache cache;
9289
Preslice<aod::Tracks> perCollision = aod::track::collisionId;
9390

@@ -1232,10 +1229,9 @@ struct Chargedkstaranalysis {
12321229

12331230
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)
12341231
{
1232+
std::unordered_set<int64_t> allowedMcIds;
1233+
std::unordered_map<int64_t, float> centTruthByAllowed;
12351234

1236-
// Event Selections
1237-
allowedMcIds.clear();
1238-
centTruthByAllowed.clear();
12391235
// To apply event selection and store the collision IDs of reconstructed tracks that pass the selection criteria
12401236
for (const auto& coll : events) {
12411237

0 commit comments

Comments
 (0)