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
4 changes: 2 additions & 2 deletions PWGCF/Core/CorrelationContainer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

ClassImp(CorrelationContainer);

const Int_t CorrelationContainer::fgkCFSteps = 11;

Check failure on line 39 in PWGCF/Core/CorrelationContainer.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

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

CorrelationContainer::CorrelationContainer() : TNamed(),
mPairHist(nullptr),
Expand Down Expand Up @@ -225,7 +225,7 @@
}

//____________________________________________________________________
Long64_t CorrelationContainer::Merge(TCollection* list)

Check failure on line 228 in PWGCF/Core/CorrelationContainer.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
{
// Merge a list of CorrelationContainer objects with this (needed for
// PROOF).
Expand All @@ -243,14 +243,14 @@
TObject* obj = nullptr;

// collections of objects
const UInt_t kMaxLists = 4;

Check failure on line 246 in PWGCF/Core/CorrelationContainer.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
TList** lists = new TList*[kMaxLists];

for (UInt_t i = 0; i < kMaxLists; i++) {

Check failure on line 249 in PWGCF/Core/CorrelationContainer.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
lists[i] = new TList;
}

Int_t count = 0;

Check failure on line 253 in PWGCF/Core/CorrelationContainer.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
while ((obj = iter->Next())) {

CorrelationContainer* entry = dynamic_cast<CorrelationContainer*>(obj);
Expand All @@ -276,7 +276,7 @@
mTrackHistEfficiency->Merge(lists[2]);
mEventCount->Merge(lists[3]);

for (UInt_t i = 0; i < kMaxLists; i++) {

Check failure on line 279 in PWGCF/Core/CorrelationContainer.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
delete lists[i];
}

Expand Down Expand Up @@ -307,7 +307,7 @@
max_dimension = grid->GetNdimensions();
}

for (Int_t i = 0; i < max_dimension; i++) {

Check failure on line 310 in PWGCF/Core/CorrelationContainer.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 (grid->GetAxis(i)->TestBit(TAxis::kAxisRange)) {
grid->GetAxis(i)->SetRange(0, 0); // reset range
}
Expand All @@ -315,12 +315,12 @@
}

//____________________________________________________________________
void CorrelationContainer::countEmptyBins(CorrelationContainer::CFStep step, Float_t ptTriggerMin, Float_t ptTriggerMax)

Check failure on line 318 in PWGCF/Core/CorrelationContainer.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/entity]

Replace ROOT entities with equivalents from standard C++ or from O2.
{
// prints the number of empty bins in the track end event histograms in the given step

Int_t binBegin[4];

Check failure on line 322 in PWGCF/Core/CorrelationContainer.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_t binEnd[4];

Check failure on line 323 in PWGCF/Core/CorrelationContainer.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_t i = 0; i < 4; i++) {
binBegin[i] = 1;
Expand Down Expand Up @@ -681,8 +681,8 @@
Double_t sums[] = {0, 0, 0};
Double_t errors[] = {0, 0, 0};

Int_t checkBinYBegin = 1; //tracksSame->GetXaxis()->FindBin(-0.79);
Int_t checkBinYEnd = tracksSame->GetNbinsY(); //tracksSame->GetXaxis()->FindBin(0.79);
Int_t checkBinYBegin = 1; // tracksSame->GetXaxis()->FindBin(-0.79);
Int_t checkBinYEnd = tracksSame->GetNbinsY(); // tracksSame->GetXaxis()->FindBin(0.79);

for (Int_t x = 1; x <= tracksSame->GetNbinsX(); x++) {
for (Int_t y = checkBinYBegin; y <= checkBinYEnd; y++) {
Expand Down
Loading