Skip to content

Commit 52437d1

Browse files
committed
Update ccdb object retrieval v3
1 parent 1469a27 commit 52437d1

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

PWGLF/Tasks/GlobalEventProperties/uccZdc.cxx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ struct UccZdc {
110110

111111
Configurable<double> nSigmaNchCut{"nSigmaNchCut", 1., "nSigma Nch selection"};
112112
Configurable<double> minNchSel{"minNchSel", 5., "min Nch Selection"};
113-
// Configurable<float> znBasedCut{"znBasedCut", 100, "ZN-based cut"};
113+
// Configurable<float> znBasedCut{"znBasedCut", 100, "ZN-based cut"};
114114
Configurable<float> zemCut{"zemCut", 1000., "ZEM cut"};
115115
Configurable<float> tdcCut{"tdcCut", 1., "TDC cut"};
116116
Configurable<float> minOccCut{"minOccCut", 0, "min Occu cut"};
117117
Configurable<float> maxOccCut{"maxOccCut", 500, "max Occu cut"};
118-
// Configurable<int> minITSnCls{"minITSnCls", 5, "min ITSnCls"};
118+
// Configurable<int> minITSnCls{"minITSnCls", 5, "min ITSnCls"};
119119

120120
Configurable<int> itsRequirement{"itsRequirement", TrackSelection::GlobalTrackRun3ITSMatching::Run3ITSall7Layers, "0: Global Tracks, 2: Hits in the 7 ITS layers"};
121121
Configurable<bool> requireITS{"requireITS", true, "Additional cut on the ITS requirement"};
@@ -511,7 +511,7 @@ struct UccZdc {
511511
float tZEM1{zdc.timeZEM1()};
512512
float tZEM2{zdc.timeZEM2()};
513513
float sumZNs{znA + znC};
514-
514+
515515
int itsTracks = 0, glbTracks = 0;
516516
float et = 0., meanpt = 0.;
517517
for (const auto& track : tracks) {
@@ -582,7 +582,7 @@ struct UccZdc {
582582
void processZdcCollAss(o2::aod::ColEvSels::iterator const& collision, o2::aod::BCsRun3 const& /*bcs*/, aod::Zdcs const& /*zdcs*/, aod::FV0As const& /*fv0as*/, aod::FT0s const& /*ft0s*/, TheFilteredTracks const& tracks)
583583
{
584584
const double ePerNucleon{2.68};
585-
585+
586586
if (!isEventSelected(collision)) { return; }
587587

588588
const auto& foundBC = collision.foundBC_as<o2::aod::BCsRun3>();
@@ -626,7 +626,7 @@ struct UccZdc {
626626
if (sumZEMs < zemCut) { return; }
627627
registry.fill(HIST("hEventCounter"), EvCutLabel::Zem);
628628
}
629-
629+
630630
// Load Efficiency correction
631631
bool isEffLoaded{false};
632632
if (useTimeStamps) { isEffLoaded = loadEfficiencyCorrection(foundBC.timestamp()); }
@@ -666,7 +666,7 @@ struct UccZdc {
666666
const double sigmaNch{fSigmaNch->Eval(normT0M)};
667667
const double nSigmaSelection{nSigmaNchCut * sigmaNch};
668668
const double diffMeanNch{meanNch - glbTracks};
669-
669+
670670
if (!(std::abs(diffMeanNch) < nSigmaSelection)) {
671671
registry.fill(HIST("RejectedEvtsVsFT0M"), normT0M);
672672
registry.fill(HIST("RejectedEvtsVsNch"), glbTracks);
@@ -737,7 +737,7 @@ struct UccZdc {
737737
for (const auto& collision : collisions) {
738738

739739
const auto& foundBC = collision.foundBC_as<o2::aod::BCsRun3>();
740-
740+
741741
// Event selection
742742
if (!isEventSelected(collision)) {
743743
continue;
@@ -1000,12 +1000,12 @@ struct UccZdc {
10001000
LOGF(fatal, "Could not load fSigmaNch from %s", paTHsigmaNch.value.c_str());
10011001
return false;
10021002
}
1003-
// if (fMeanNch) {
1004-
// LOGF(info, "Loaded fMeanNch from %s (%p)", paTHmeanNch.value.c_str(), (void*)fMeanNch);
1005-
// }
1006-
// if (fSigmaNch) {
1007-
// LOGF(info, "Loaded fSigmaNch from %s (%p)", paTHsigmaNch.value.c_str(), (void*)fSigmaNch);
1008-
// }
1003+
// if (fMeanNch) {
1004+
// LOGF(info, "Loaded fMeanNch from %s (%p)", paTHmeanNch.value.c_str(), (void*)fMeanNch);
1005+
// }
1006+
// if (fSigmaNch) {
1007+
// LOGF(info, "Loaded fSigmaNch from %s (%p)", paTHsigmaNch.value.c_str(), (void*)fSigmaNch);
1008+
// }
10091009
if(!fMeanNch || !fSigmaNch) { return false; }
10101010
else{ return true; }
10111011
}
@@ -1024,9 +1024,9 @@ struct UccZdc {
10241024
LOGF(fatal, "Could not load efficiency from %s", paTH.value.c_str());
10251025
return false;
10261026
}
1027-
// if (efficiency) {
1028-
// LOGF(info, "Loaded efficiency from %s (%p)", paTH.value.c_str(), (void*)efficiency);
1029-
// }
1027+
// if (efficiency) {
1028+
// LOGF(info, "Loaded efficiency from %s (%p)", paTH.value.c_str(), (void*)efficiency);
1029+
// }
10301030
if(!efficiency) { return false; }
10311031
else{ return true; }
10321032
}

0 commit comments

Comments
 (0)