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
O2_DEFINE_CONFIGURABLE(cfgEvSelkNoSameBunchPileup, bool, false, "rejects collisions which are associated with the same found-by-T0 bunch crossing")
72
73
O2_DEFINE_CONFIGURABLE(cfgEvSelkIsGoodZvtxFT0vsPV, bool, false, "removes collisions with large differences between z of PV by tracks and z of PV from FT0 A-C time difference, use this cut at low multiplicities with caution")
73
74
O2_DEFINE_CONFIGURABLE(cfgEvSelkNoCollInTimeRangeStandard, bool, false, "no collisions in specified time range")
@@ -101,6 +102,10 @@ struct FlowRunbyRun {
101
102
ConfigurableAxis axisEta{"axisEta", {40, -1., 1.}, "eta axis for histograms"};
Configurable<int64_t> ccdbNoLaterThan{"ccdbNoLaterThan", std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(), "latest acceptable timestamp of creation for the object"};
117
121
Configurable<std::string> ccdbUrl{"ccdbUrl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
118
122
119
123
// Define output
@@ -129,6 +133,7 @@ struct FlowRunbyRun {
129
133
int lastRunNumer = -1;
130
134
std::vector<int> runNumbers; // vector of run numbers
131
135
std::map<int, std::vector<std::shared_ptr<TH1>>> th1sList; // map of histograms for all runs
136
+
std::map<int, std::vector<std::shared_ptr<TH2>>> th2sList; // map of TH2 histograms for all runs
132
137
std::map<int, std::vector<std::shared_ptr<TH3>>> th3sList; // map of TH3 histograms for all runs
133
138
std::map<int, std::vector<std::shared_ptr<TProfile>>> profilesList; // map of profiles for all runs
134
139
enum OutputTH1Names {
@@ -142,6 +147,14 @@ struct FlowRunbyRun {
142
147
hEventCountSpecific,
143
148
kCount_TH1Names
144
149
};
150
+
enum OutputTH2Names {
151
+
// here are TH2 histograms
152
+
hglobalTracks_centT0C = 0,
153
+
hglobalTracks_PVTracks,
154
+
hglobalTracks_multV0A,
155
+
hcentFV0A_centFT0C,
156
+
kCount_TH2Names
157
+
};
145
158
enum OutputTH3Names {
146
159
hPhiEtaVtxz = 0,
147
160
kCount_TH3Names
@@ -170,14 +183,15 @@ struct FlowRunbyRun {
170
183
TF1* fT0AV0AMean = nullptr;
171
184
TF1* fT0AV0ASigma = nullptr;
172
185
173
-
using AodCollisions = soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Cs, aod::Mults>>;
186
+
using AodCollisions = soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Cs, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentFV0As, aod::Mults>>;
174
187
using AodTracks = soa::Filtered<soa::Join<aod::Tracks, aod::TrackSelection, aod::TracksExtra, aod::TracksDCA>>;
175
188
176
189
voidinit(InitContext const&)
177
190
{
178
191
ccdb->setURL(ccdbUrl.value);
179
192
ccdb->setCaching(true);
180
-
ccdb->setCreatedNotAfter(ccdbNoLaterThan.value);
193
+
auto now = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count();
0 commit comments