Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions PWGDQ/Tasks/dqEfficiency_withAssoc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#include <TString.h>

#include <algorithm>
#include <iostream>

Check failure on line 50 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[include-iostream]

Do not include iostream. Use O2 logging instead.
#include <map>
#include <memory>
#include <string>
Expand Down Expand Up @@ -395,7 +395,7 @@
if ((bc2 > bc1 ? bc2 - bc1 : bc1 - bc2) > fConfigSplitCollisionsDeltaBC) {
break;
}
auto const& bc2Events = bc2It->second;

Check failure on line 398 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.

// loop over events in the first BC
for (auto ev1It : bc1Events) {
Expand All @@ -420,7 +420,7 @@
for (auto& event : events) {
evSel = 0;
if (fSelMap[event.globalIndex()]) { // event passed the user cuts
evSel |= (static_cast<uint32_t>(1) << 0);

Check failure on line 423 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
}
std::vector<int64_t> sameBunchEvents = fBCCollMap[event.globalBC()];
if (sameBunchEvents.size() > 1) { // event with in-bunch pileup
Expand Down Expand Up @@ -1987,13 +1987,6 @@
t2.pt(), t2.eta(), t2.phi(),
t2.pt(), t2.eta(), t2.phi());
}
dileptonMiniTreeRec(mcDecision,
VarManager::fgValues[VarManager::kMass],
VarManager::fgValues[VarManager::kPt], VarManager::fgValues[VarManager::kEta], VarManager::fgValues[VarManager::kPhi], VarManager::fgValues[VarManager::kCentFT0C],
t1.reducedMCTrack().pt(), t1.reducedMCTrack().eta(), t1.reducedMCTrack().phi(),
t2.reducedMCTrack().pt(), t2.reducedMCTrack().eta(), t2.reducedMCTrack().phi(),
VarManager::fgValues[VarManager::kPt1], VarManager::fgValues[VarManager::kEta1], VarManager::fgValues[VarManager::kPhi1],
VarManager::fgValues[VarManager::kPt2], VarManager::fgValues[VarManager::kEta2], VarManager::fgValues[VarManager::kPhi2]);
}
}
}
Expand Down Expand Up @@ -2525,14 +2518,14 @@
std::unique_ptr<TObjArray> objArrayLegs(legCutsStr.Tokenize(","));
if (objArrayLegs->GetEntries() == 0 && !isMCGen) {
LOG(fatal) << "No cuts defining legs. Check the config!";
}

Check failure on line 2521 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
fNLegCuts = objArrayLegs->GetEntries();

Check failure on line 2522 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
std::vector<bool> isThreeProng;
int legAIdx;

Check failure on line 2524 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
int legBIdx;

Check failure on line 2525 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
int legCIdx;
// Loop over leg defining cuts

Check failure on line 2527 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
for (int icut = 0; icut < fNLegCuts; ++icut) {

Check failure on line 2528 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
TString legsStr = objArrayLegs->At(icut)->GetName();
std::unique_ptr<TObjArray> legs(legsStr.Tokenize(":"));
if (legs->GetEntries() == 3) {
Expand Down Expand Up @@ -4177,7 +4170,7 @@
if (classStr.Contains("Barrel")) {
dqhistograms::DefineHistograms(histMan, objArray->At(iclass)->GetName(), "track", histName);
if (classStr.Contains("PIDCalibElectron")) {
dqhistograms::DefineHistograms(histMan, objArray->At(iclass)->GetName(), "track", "postcalib_electron");

Check failure on line 4173 in PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
}
if (classStr.Contains("PIDCalibPion")) {
dqhistograms::DefineHistograms(histMan, objArray->At(iclass)->GetName(), "track", "postcalib_pion");
Expand Down
Loading