Skip to content

Commit 49a5803

Browse files
committed
Task for D+ and Ds correlations in small systems
1 parent 32bb261 commit 49a5803

File tree

3 files changed

+384
-10
lines changed

3 files changed

+384
-10
lines changed

PWGHF/HFC/DataModel/DerivedDataCorrelationTables.h

Lines changed: 56 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace hf_collisions_reduced
2424
{
2525
DECLARE_SOA_COLUMN(NumPvContrib, numPvContrib, int); //! Event multiplicity from PV contributors
2626
DECLARE_SOA_COLUMN(Multiplicity, multiplicity, float); //! Event multiplicity
27+
DECLARE_SOA_COLUMN(Centrality, centrality, float); //! Event centrality
2728
DECLARE_SOA_COLUMN(PosZ, posZ, float); //! Primary vertex z position
2829

2930
} // namespace hf_collisions_reduced
@@ -34,23 +35,34 @@ DECLARE_SOA_TABLE(HfcRedCollisions, "AOD", "HFCREDCOLLISION", //! Table with col
3435
aod::hf_collisions_reduced::NumPvContrib,
3536
aod::hf_collisions_reduced::PosZ);
3637

38+
DECLARE_SOA_TABLE(HfcRedFlowColls, "AOD", "HFCREDFLOWCOLL", //! Table with collision info
39+
soa::Index<>,
40+
aod::hf_collisions_reduced::Multiplicity,
41+
aod::hf_collisions_reduced::NumPvContrib,
42+
aod::hf_collisions_reduced::Centrality,
43+
aod::hf_collisions_reduced::PosZ);
44+
3745
using HfcRedCollision = HfcRedCollisions::iterator;
3846

3947
// DECLARE_SOA_TABLE(HfCandColCounts, "AOD", "HFCANDCOLCOUNT", //! Table with number of collisions which contain at least one candidate
4048
// aod::hf_collisions_reduced::OriginalCollisionCount);
4149

4250
namespace hf_candidate_reduced
4351
{
44-
DECLARE_SOA_INDEX_COLUMN(HfcRedCollision, hfcRedCollision); //! ReducedCollision index
45-
DECLARE_SOA_COLUMN(Prong0Id, prong0Id, int); //! Prong 0 index
46-
DECLARE_SOA_COLUMN(Prong1Id, prong1Id, int); //! Prong 1 index
47-
DECLARE_SOA_COLUMN(Prong2Id, prong2Id, int); //! Prong2 index
48-
DECLARE_SOA_COLUMN(PhiCand, phiCand, float); //! Phi of the candidate
49-
DECLARE_SOA_COLUMN(EtaCand, etaCand, float); //! Eta of the candidate
50-
DECLARE_SOA_COLUMN(PtCand, ptCand, float); //! Pt of the candidate
51-
DECLARE_SOA_COLUMN(InvMassDs, invMassDs, float); //! Invariant mass of Ds candidate
52-
DECLARE_SOA_COLUMN(BdtScorePrompt, bdtScorePrompt, float); //! BDT output score for prompt hypothesis
53-
DECLARE_SOA_COLUMN(BdtScoreBkg, bdtScoreBkg, float); //! BDT output score for backgronud hypothesis
52+
DECLARE_SOA_INDEX_COLUMN(HfcRedCollision, hfcRedCollision); //! ReducedCollision index
53+
DECLARE_SOA_INDEX_COLUMN(HfcRedFlowColl, hfcRedFlowColl); //! ReducedCollision index
54+
DECLARE_SOA_COLUMN(Prong0Id, prong0Id, int); //! Prong 0 index
55+
DECLARE_SOA_COLUMN(Prong1Id, prong1Id, int); //! Prong 1 index
56+
DECLARE_SOA_COLUMN(Prong2Id, prong2Id, int); //! Prong2 index
57+
DECLARE_SOA_COLUMN(PhiCand, phiCand, float); //! Phi of the candidate
58+
DECLARE_SOA_COLUMN(EtaCand, etaCand, float); //! Eta of the candidate
59+
DECLARE_SOA_COLUMN(PtCand, ptCand, float); //! Pt of the candidate
60+
DECLARE_SOA_COLUMN(InvMassDs, invMassDs, float); //! Invariant mass of Ds candidate
61+
DECLARE_SOA_COLUMN(InvMassCharmHad, invMassCharmHad, float); //! Invariant mass of CharmHad candidate
62+
DECLARE_SOA_COLUMN(BdtScorePrompt, bdtScorePrompt, float); //! BDT output score for prompt hypothesis
63+
DECLARE_SOA_COLUMN(BdtScoreBkg, bdtScoreBkg, float); //! BDT output score for backgronud hypothesis
64+
DECLARE_SOA_COLUMN(BdtScore0, bdtScore0, float); //! First BDT output score
65+
DECLARE_SOA_COLUMN(BdtScore1, bdtScore1, float); //! Second BDT output score
5466
} // namespace hf_candidate_reduced
5567
DECLARE_SOA_TABLE(DsCandReduceds, "AOD", "DSCANDREDUCED", //! Table with Ds candidate info
5668
soa::Index<>,
@@ -69,6 +81,23 @@ DECLARE_SOA_TABLE(DsCandSelInfos, "AOD", "DSCANDSELINFO", //! Table with Ds cand
6981
aod::hf_candidate_reduced::BdtScorePrompt,
7082
aod::hf_candidate_reduced::BdtScoreBkg);
7183

84+
DECLARE_SOA_TABLE(HfcRedCharmHads, "AOD", "HFCREDCHARMHAD", //! Table with charm hadron candidate info
85+
soa::Index<>,
86+
aod::hf_candidate_reduced::HfcRedFlowCollId,
87+
aod::hf_candidate_reduced::PhiCand,
88+
aod::hf_candidate_reduced::EtaCand,
89+
aod::hf_candidate_reduced::PtCand,
90+
aod::hf_candidate_reduced::InvMassCharmHad,
91+
aod::hf_candidate_reduced::Prong0Id,
92+
aod::hf_candidate_reduced::Prong1Id,
93+
aod::hf_candidate_reduced::Prong2Id);
94+
95+
DECLARE_SOA_TABLE(HfcRedCharmMls, "AOD", "HFCREDCHARMML", //! Table with charm hadron candidate selection info
96+
soa::Index<>,
97+
aod::hf_candidate_reduced::HfcRedFlowCollId,
98+
aod::hf_candidate_reduced::BdtScore0,
99+
aod::hf_candidate_reduced::BdtScore1);
100+
72101
namespace hf_assoc_track_reduced
73102
{
74103
DECLARE_SOA_COLUMN(OriginTrackId, originTrackId, int); //! Original track index
@@ -97,6 +126,23 @@ DECLARE_SOA_TABLE(AssocTrackSels, "AOD", "ASSOCTRACKSEL", //! Table with associa
97126
aod::hf_assoc_track_reduced::ItsNCls,
98127
aod::hf_assoc_track_reduced::DcaXY,
99128
aod::hf_assoc_track_reduced::DcaZ)
129+
130+
DECLARE_SOA_TABLE(HfcRedTrkAssoc, "AOD", "HFCREDTRKASSOC", //! Table with associated track info
131+
soa::Index<>,
132+
aod::hf_candidate_reduced::HfcRedFlowCollId,
133+
aod::hf_assoc_track_reduced::OriginTrackId,
134+
aod::hf_assoc_track_reduced::PhiAssocTrack,
135+
aod::hf_assoc_track_reduced::EtaAssocTrack,
136+
aod::hf_assoc_track_reduced::PtAssocTrack);
137+
138+
DECLARE_SOA_TABLE(HfcRedTrkSels, "AOD", "HFCREDTRKSELS", //! Table with associated track info
139+
soa::Index<>,
140+
aod::hf_candidate_reduced::HfcRedFlowCollId,
141+
aod::hf_assoc_track_reduced::NTpcCrossedRows,
142+
aod::hf_assoc_track_reduced::ItsClusterMap,
143+
aod::hf_assoc_track_reduced::ItsNCls,
144+
aod::hf_assoc_track_reduced::DcaXY,
145+
aod::hf_assoc_track_reduced::DcaZ)
100146
} // namespace o2::aod
101147

102148
#endif // PWGHF_HFC_DATAMODEL_DERIVEDDATACORRELATIONTABLES_H_

PWGHF/HFC/TableProducer/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ o2physics_add_dpl_workflow(correlator-ds-hadrons
4444
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
4545
COMPONENT_NAME Analysis)
4646

47+
o2physics_add_dpl_workflow(correlator-flow-charm-hadrons
48+
SOURCES correlatorFlowCharmHadrons.cxx
49+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
50+
COMPONENT_NAME Analysis)
51+
4752
o2physics_add_dpl_workflow(correlator-ds-hadrons-reduced
4853
SOURCES correlatorDsHadronsReduced.cxx
4954
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore

0 commit comments

Comments
 (0)