Skip to content

Commit 43b02da

Browse files
authored
Add UPC event selection table
1 parent 7df2ff2 commit 43b02da

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

PWGCF/TwoParticleCorrelations/DataModel/LongRangeDerived.h

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ namespace lrcorrcolltable
2828
DECLARE_SOA_COLUMN(Zvtx, zvtx, float);
2929
DECLARE_SOA_COLUMN(Multiplicity, multiplicity, float);
3030
DECLARE_SOA_COLUMN(Centrality, centrality, float);
31+
DECLARE_SOA_COLUMN(TotalFT0AmplitudeA, totalFT0AmplitudeA, float); //! sum of amplitudes on A side of FT0
32+
DECLARE_SOA_COLUMN(TotalFT0AmplitudeC, totalFT0AmplitudeC, float); //! sum of amplitudes on C side of FT0
33+
DECLARE_SOA_COLUMN(TotalFV0AmplitudeA, totalFV0AmplitudeA, float); //! sum of amplitudes on A side of FDD
34+
DECLARE_SOA_COLUMN(GapSide, gapSide, uint8_t); // 0 for side A, 1 for side C, 2 for both sides
3135
} // namespace lrcorrcolltable
3236

3337
DECLARE_SOA_TABLE(CollLRTables, "AOD", "COLLLRTABLE",
@@ -39,6 +43,35 @@ DECLARE_SOA_TABLE(CollLRTables, "AOD", "COLLLRTABLE",
3943
timestamp::Timestamp);
4044
using CollLRTable = CollLRTables::iterator;
4145

46+
DECLARE_SOA_TABLE(UpcCollLRTables, "AOD", "UPCCOLLLRTABLE",
47+
o2::soa::Index<>,
48+
bc::GlobalBC,
49+
bc::RunNumber,
50+
lrcorrcolltable::Zvtx,
51+
lrcorrcolltable::Multiplicity,
52+
lrcorrcolltable::TotalFT0AmplitudeA,
53+
lrcorrcolltable::TotalFT0AmplitudeC,
54+
lrcorrcolltable::TotalFV0AmplitudeA);
55+
using UpcCollLRTable = UpcCollLRTables::iterator;
56+
57+
DECLARE_SOA_TABLE(UpcSgCollLRTables, "AOD", "UPCSGCOLLLRTABLE",
58+
lrcorrcolltable::GapSide);
59+
using UpcSgCollLRTable = UpcSgCollLRTables::iterator;
60+
61+
namespace lrcorrzdctable
62+
{
63+
DECLARE_SOA_INDEX_COLUMN(UpcCollLRTable, upcCollLRTable);
64+
DECLARE_SOA_COLUMN(EnergyCommonZNA, energyCommonZNA, float);
65+
DECLARE_SOA_COLUMN(EnergyCommonZNC, energyCommonZNC, float);
66+
} // namespace lrcorrzdctable
67+
68+
DECLARE_SOA_TABLE(zdcLRTables, "AOD", "ZDCLRTABLE",
69+
o2::soa::Index<>,
70+
lrcorrzdctable::UpcCollLRTableId,
71+
lrcorrzdctable::EnergyCommonZNA,
72+
lrcorrzdctable::EnergyCommonZNC);
73+
using zdcLRTable = zdcLRTables::iterator;
74+
4275
namespace lrcorrtrktable
4376
{
4477
DECLARE_SOA_INDEX_COLUMN(CollLRTable, collLRTable);

0 commit comments

Comments
 (0)