Skip to content

Commit 71d3629

Browse files
cnkosteralibuild
andauthored
[PWGCF] FlowSP: Update table to hold timestamp, all event selections and different centrality estimators (#13701)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 7def0d2 commit 71d3629

File tree

3 files changed

+541
-404
lines changed

3 files changed

+541
-404
lines changed

PWGCF/DataModel/SPTableZDC.h

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,44 +14,42 @@
1414
#ifndef PWGCF_DATAMODEL_SPTABLEZDC_H_
1515
#define PWGCF_DATAMODEL_SPTABLEZDC_H_
1616

17-
#include <cmath>
18-
19-
#include "Common/DataModel/PIDResponse.h"
2017
#include "Common/Core/RecoDecay.h"
18+
#include "Common/DataModel/PIDResponse.h"
2119
#include "Common/DataModel/TrackSelectionTables.h"
20+
2221
#include "Framework/AnalysisDataModel.h"
2322

23+
#include <cmath>
24+
#include <vector>
25+
2426
namespace o2::aod
2527
{
2628
namespace sptablezdc
2729
{
2830
DECLARE_SOA_COLUMN(Runnumber, runnumber, int);
29-
DECLARE_SOA_COLUMN(Cent, cent, float);
30-
DECLARE_SOA_COLUMN(Vx, vx, float);
31-
DECLARE_SOA_COLUMN(Vy, vy, float);
32-
DECLARE_SOA_COLUMN(Vz, vz, float);
33-
DECLARE_SOA_COLUMN(QXA, qxA, float);
34-
DECLARE_SOA_COLUMN(QYA, qyA, float);
35-
DECLARE_SOA_COLUMN(QXC, qxC, float);
36-
DECLARE_SOA_COLUMN(QYC, qyC, float);
31+
DECLARE_SOA_COLUMN(Cents, cents, std::vector<float>);
32+
DECLARE_SOA_COLUMN(Vertex, vertex, std::vector<float>);
33+
DECLARE_SOA_COLUMN(Timestamp, timestamp, int64_t);
34+
DECLARE_SOA_COLUMN(QxA, qxA, float);
35+
DECLARE_SOA_COLUMN(QyA, qyA, float);
36+
DECLARE_SOA_COLUMN(QxC, qxC, float);
37+
DECLARE_SOA_COLUMN(QyC, qyC, float);
3738
DECLARE_SOA_COLUMN(IsSelected, isSelected, bool);
38-
DECLARE_SOA_COLUMN(Iteration, iteration, int);
39-
DECLARE_SOA_COLUMN(Step, step, int);
39+
DECLARE_SOA_COLUMN(EventSelectionFlags, eventSelectionFlags, uint16_t);
4040

4141
} // namespace sptablezdc
4242

4343
DECLARE_SOA_TABLE(SPTableZDC, "AOD", "SPZDC",
4444
sptablezdc::Runnumber,
45-
sptablezdc::Cent,
46-
sptablezdc::Vx,
47-
sptablezdc::Vy,
48-
sptablezdc::Vz,
49-
sptablezdc::QXA,
50-
sptablezdc::QYA,
51-
sptablezdc::QXC,
52-
sptablezdc::QYC,
45+
sptablezdc::Cents,
46+
sptablezdc::Vertex,
47+
sptablezdc::Timestamp,
48+
sptablezdc::QxA,
49+
sptablezdc::QyA,
50+
sptablezdc::QxC,
51+
sptablezdc::QyC,
5352
sptablezdc::IsSelected,
54-
sptablezdc::Iteration,
55-
sptablezdc::Step);
53+
sptablezdc::EventSelectionFlags);
5654
} // namespace o2::aod
5755
#endif // PWGCF_DATAMODEL_SPTABLEZDC_H_

0 commit comments

Comments
 (0)