Skip to content

Commit

Permalink
deleted comments 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcellocosti committed Dec 27, 2024
1 parent 89d7d70 commit acac74d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
2 changes: 0 additions & 2 deletions EventFiltering/PWGHF/HFFilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,6 @@ struct HfFilter { // Main struct for HF triggers
aod::V0PhotonsKF const& photons,
aod::V0Legs const&)
{
LOG(info) << "[process] CIAO";
LOG(info) << "[process] Number of collisions: " << collisions.size();
for (const auto& collision : collisions) {

bool keepEvent[kNtriggersHF]{false};
Expand Down
20 changes: 10 additions & 10 deletions PWGHF/TableProducer/trackIndexSkimCreator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
registry.fill(HIST("hRejTracks"), (nCuts + 1) * CandidateType::Cand3Prong + iCut);
}
}

if (trackPt < config.ptMinTrackBach) {
CLRBIT(statusProng, CandidateType::CandV0bachelor);
if (config.fillHistograms) {
Expand All @@ -493,7 +493,7 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
registry.fill(HIST("hRejTracks"), (nCuts + 1) * CandidateType::CandCascadeBachelor + iCut);
}
}

iCut = 3;
// eta cut
if (TESTBIT(statusProng, CandidateType::Cand2Prong) && (trackEta > config.etaMaxTrack2Prong || trackEta < config.etaMinTrack2Prong)) {
Expand All @@ -508,28 +508,28 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
registry.fill(HIST("hRejTracks"), (nCuts + 1) * CandidateType::Cand3Prong + iCut);
}
}

if (TESTBIT(statusProng, CandidateType::CandV0bachelor) && (trackEta > config.etaMaxTrackBach || trackEta < config.etaMinTrackBach)) {
CLRBIT(statusProng, CandidateType::CandV0bachelor);
if (config.fillHistograms) {
registry.fill(HIST("hRejTracks"), (nCuts + 1) * CandidateType::CandV0bachelor + iCut);
}
}

if (TESTBIT(statusProng, CandidateType::CandDstar) && (trackEta > config.etaMaxSoftPionForDstar || trackEta < config.etaMinSoftPionForDstar)) {
CLRBIT(statusProng, CandidateType::CandDstar);
if (config.fillHistograms) {
registry.fill(HIST("hRejTracks"), (nCuts + 1) * CandidateType::CandDstar + iCut);
}
}

if (TESTBIT(statusProng, CandidateType::CandCascadeBachelor) && (trackEta > config.etaMaxTrackBachLfCasc || trackEta < config.etaMinTrackBachLfCasc)) {
CLRBIT(statusProng, CandidateType::CandCascadeBachelor);
if (config.fillHistograms) {
registry.fill(HIST("hRejTracks"), (nCuts + 1) * CandidateType::CandCascadeBachelor + iCut);
}
}

// quality cut
iCut = 4;
bool hasGoodQuality = true;
Expand Down Expand Up @@ -562,7 +562,7 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
}
}
}

// quality cut for soft pion
hasGoodQuality = true;
if (config.doCutQuality.value && TESTBIT(statusProng, CandidateType::CandDstar)) {
Expand Down Expand Up @@ -591,7 +591,7 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
}
}
}

// quality cut for bachelor in cascade + bachelor decays
hasGoodQuality = true;
if (config.doCutQuality.value && TESTBIT(statusProng, CandidateType::CandCascadeBachelor)) {
Expand Down Expand Up @@ -620,7 +620,7 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
}
}
}

// DCA cut
iCut = 5;
if (statusProng > 0) {
Expand All @@ -633,7 +633,7 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
}
}
}

// fill histograms
if (config.fillHistograms) {
iCut = 1;
Expand Down
2 changes: 0 additions & 2 deletions PWGHF/Utils/utilsEvSelHf.h
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,7 @@ struct HfEventSelection : o2::framework::ConfigurableGroup {
hPosYAfterEvSel->Fill(collision.posY());
hPosZAfterEvSel->Fill(posZ);
hNumPvContributorsAfterSel->Fill(collision.numContrib());
// LOG(info) << "Fillng centrality: " << centrality;
hSelCollisionsCent->Fill(centrality);
// LOG(info) << "Fillng centrality/occupancy: " << centrality << "/" << occupancy;
hCollisionsCentOcc->Fill(centrality, occupancy);
}
};
Expand Down

0 comments on commit acac74d

Please sign in to comment.