Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions PWGCF/TwoParticleCorrelations/DataModel/LongRangeDerived.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ namespace lrcorrcolltable
DECLARE_SOA_COLUMN(Zvtx, zvtx, float);
DECLARE_SOA_COLUMN(Multiplicity, multiplicity, float);
DECLARE_SOA_COLUMN(Centrality, centrality, float);
DECLARE_SOA_COLUMN(TotalFT0AmplitudeA, totalFT0AmplitudeA, float); //! sum of amplitudes on A side of FT0
DECLARE_SOA_COLUMN(TotalFT0AmplitudeC, totalFT0AmplitudeC, float); //! sum of amplitudes on C side of FT0
DECLARE_SOA_COLUMN(TotalFV0AmplitudeA, totalFV0AmplitudeA, float); //! sum of amplitudes on A side of FDD
DECLARE_SOA_COLUMN(GapSide, gapSide, uint8_t); // 0 for side A, 1 for side C, 2 for both sides
} // namespace lrcorrcolltable

DECLARE_SOA_TABLE(CollLRTables, "AOD", "COLLLRTABLE",
Expand All @@ -39,9 +43,39 @@ DECLARE_SOA_TABLE(CollLRTables, "AOD", "COLLLRTABLE",
timestamp::Timestamp);
using CollLRTable = CollLRTables::iterator;

DECLARE_SOA_TABLE(UpcCollLRTables, "AOD", "UPCCOLLLRTABLE",
o2::soa::Index<>,
bc::GlobalBC,
bc::RunNumber,
lrcorrcolltable::Zvtx,
lrcorrcolltable::Multiplicity,
lrcorrcolltable::TotalFT0AmplitudeA,
lrcorrcolltable::TotalFT0AmplitudeC,
lrcorrcolltable::TotalFV0AmplitudeA);
using UpcCollLRTable = UpcCollLRTables::iterator;

DECLARE_SOA_TABLE(UpcSgCollLRTables, "AOD", "UPCSGCOLLLRTABLE",
lrcorrcolltable::GapSide);
using UpcSgCollLRTable = UpcSgCollLRTables::iterator;

namespace lrcorrzdctable
{
DECLARE_SOA_INDEX_COLUMN(UpcCollLRTable, upcCollLRTable);
DECLARE_SOA_COLUMN(EnergyCommonZNA, energyCommonZNA, float);
DECLARE_SOA_COLUMN(EnergyCommonZNC, energyCommonZNC, float);
} // namespace lrcorrzdctable

DECLARE_SOA_TABLE(ZdcLRTables, "AOD", "ZDCLRTABLE",
o2::soa::Index<>,
lrcorrzdctable::UpcCollLRTableId,
lrcorrzdctable::EnergyCommonZNA,
lrcorrzdctable::EnergyCommonZNC);
using ZdcLRTable = ZdcLRTables::iterator;

namespace lrcorrtrktable
{
DECLARE_SOA_INDEX_COLUMN(CollLRTable, collLRTable);
DECLARE_SOA_INDEX_COLUMN(UpcCollLRTable, upcCollLRTable);
DECLARE_SOA_COLUMN(Pt, pt, float);
DECLARE_SOA_COLUMN(Eta, eta, float);
DECLARE_SOA_COLUMN(Phi, phi, float);
Expand Down Expand Up @@ -120,6 +154,61 @@ DECLARE_SOA_TABLE(MftBestTrkLRTables, "AOD", "MFTBESTTRKLRTABLE",
lrcorrtrktable::Phi);
using MftBestTrkLRTable = MftBestTrkLRTables::iterator;

DECLARE_SOA_TABLE(TrkLRUpcTables, "AOD", "TRKLRUPCTABLE",
o2::soa::Index<>,
lrcorrtrktable::UpcCollLRTableId,
lrcorrtrktable::Pt,
lrcorrtrktable::Eta,
lrcorrtrktable::Phi,
lrcorrtrktable::TrackType);
using TrkLRUpcTable = TrkLRUpcTables::iterator;

DECLARE_SOA_TABLE(Ft0aLRUpcTables, "AOD", "FT0ALRUpcTABLE",
o2::soa::Index<>,
lrcorrtrktable::UpcCollLRTableId,
lrcorrtrktable::ChannelID,
lrcorrtrktable::Amplitude,
lrcorrtrktable::Eta,
lrcorrtrktable::Phi);
using Ft0aLRUpcTable = Ft0aLRUpcTables::iterator;

DECLARE_SOA_TABLE(Ft0cLRUpcTables, "AOD", "FT0CLRUpcTABLE",
o2::soa::Index<>,
lrcorrtrktable::UpcCollLRTableId,
lrcorrtrktable::ChannelID,
lrcorrtrktable::Amplitude,
lrcorrtrktable::Eta,
lrcorrtrktable::Phi);
using Ft0cLRUpcTable = Ft0cLRUpcTables::iterator;

DECLARE_SOA_TABLE(V0TrkLRUpcTables, "AOD", "V0TRKLRUPCTABLE",
o2::soa::Index<>,
lrcorrtrktable::UpcCollLRTableId,
lrcorrtrktable::IdPos,
lrcorrtrktable::IdNeg,
lrcorrtrktable::Pt,
lrcorrtrktable::Eta,
lrcorrtrktable::Phi,
lrcorrtrktable::InvMass,
lrcorrtrktable::V0Type);
using V0TrkLRUpcTable = V0TrkLRUpcTables::iterator;

DECLARE_SOA_TABLE(MftTrkLRUpcTables, "AOD", "MFTTRKLRUPCTABLE",
o2::soa::Index<>,
lrcorrtrktable::UpcCollLRTableId,
lrcorrtrktable::Pt,
lrcorrtrktable::Eta,
lrcorrtrktable::Phi);
using MftTrkLRUpcTable = MftTrkLRUpcTables::iterator;

DECLARE_SOA_TABLE(MftBestTrkLRUpcTables, "AOD", "MFTBESTTRKLRUPCTABLE",
o2::soa::Index<>,
lrcorrtrktable::UpcCollLRTableId,
lrcorrtrktable::Pt,
lrcorrtrktable::Eta,
lrcorrtrktable::Phi);
using MftBestTrkLRUpcTable = MftBestTrkLRUpcTables::iterator;

} // namespace o2::aod

#endif // PWGCF_TWOPARTICLECORRELATIONS_DATAMODEL_LONGRANGEDERIVED_H_
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ o2physics_add_dpl_workflow(two-particle-correlations-filtering

o2physics_add_dpl_workflow(longrange-maker
SOURCES longrangeMaker.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::TwoPartCorrCore
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::TwoPartCorrCore O2Physics::SGCutParHolder
COMPONENT_NAME Analysis)
Loading
Loading