You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGCF/Flow/Tasks/flowGFWOmegaXi.cxx
+45-24Lines changed: 45 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -112,8 +112,8 @@ struct FlowGFWOmegaXi {
112
112
113
113
// Connect to ccdb
114
114
Service<ccdb::BasicCCDBManager> ccdb;
115
-
O2_DEFINE_CONFIGURABLE(nolaterthan, int64_t, std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(), "latest acceptable timestamp of creation for the object")
116
-
O2_DEFINE_CONFIGURABLE(url, std::string, "http://ccdb-test.cern.ch", "url of the ccdb repository")
115
+
O2_DEFINE_CONFIGURABLE(cfgnolaterthan, int64_t, std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(), "latest acceptable timestamp of creation for the object")
116
+
O2_DEFINE_CONFIGURABLE(cfgurl, std::string, "http://alice-ccdb.cern.ch", "url of the ccdb repository")
117
117
118
118
// Define output
119
119
HistogramRegistry registry{"registry"};
@@ -140,47 +140,43 @@ struct FlowGFWOmegaXi {
140
140
using aodCollisions = soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Cs, aod::Mults>>; // collisions filter
141
141
using DaughterTracks = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::pidTPCPi, aod::pidTPCPr, aod::pidTPCKa>;
142
142
143
-
// Set the pt, mult and phi Axis;
144
-
o2::framework::AxisSpec axisPt = cfgaxisPt;
145
-
int nPtBins = axisPt.binEdges.size() - 1;
146
-
TAxis* fPtAxis = new TAxis(nPtBins, &(axisPt.binEdges)[0]);
143
+
// Declare the pt, mult and phi Axis;
144
+
int nPtBins = 0;
145
+
TAxis* fPtAxis = nullptr;
147
146
148
-
o2::framework::AxisSpec axisXiPt = cfgaxisPtXi;
149
-
int nXiPtBins = axisXiPt.binEdges.size() - 1;
150
-
TAxis* fXiPtAxis = new TAxis(nXiPtBins, &(axisXiPt.binEdges)[0]);
147
+
int nXiPtBins = 0;
148
+
TAxis* fXiPtAxis = nullptr;
151
149
152
-
o2::framework::AxisSpec axisV0Pt = cfgaxisPtV0;
153
-
int nV0PtBins = axisV0Pt.binEdges.size() - 1;
154
-
TAxis* fV0PtAxis = new TAxis(nV0PtBins, &(axisV0Pt.binEdges)[0]);
0 commit comments