Skip to content

Commit 6358064

Browse files
committed
[PWGLF] Table producer for photonDe correlation study
1 parent aee06da commit 6358064

File tree

3 files changed

+417
-0
lines changed

3 files changed

+417
-0
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2+
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3+
// All rights not expressly granted are reserved.
4+
//
5+
// This software is distributed under the terms of the GNU General Public
6+
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7+
//
8+
// In applying this license CERN does not waive the privileges and immunities
9+
// granted to it by virtue of its status as an Intergovernmental Organization
10+
// or submit itself to any jurisdiction.
11+
12+
///
13+
/// \file LFPhotonDeuteronTables.h
14+
/// \brief Tables for photon-deuteron correlation analysis
15+
/// \author Arvind Khuntia <arvind.khuntia@cern.ch> and Francesco Noferini <francesco.noferini@cern.ch>
16+
17+
#ifndef PWGLF_DATAMODEL_LFPHOTONDEUTERONTABLES_H_
18+
#define PWGLF_DATAMODEL_LFPHOTONDEUTERONTABLES_H_
19+
20+
#include "Framework/AnalysisDataModel.h"
21+
22+
namespace o2::aod
23+
{
24+
namespace photondeuteron
25+
{
26+
DECLARE_SOA_COLUMN(PhotonPt, photonPt, float); //! Photon transverse momentum
27+
DECLARE_SOA_COLUMN(PhotonEta, photonEta, float); //! Photon pseudorapidity
28+
DECLARE_SOA_COLUMN(PhotonPhi, photonPhi, float); //! Photon azimuthal angle
29+
DECLARE_SOA_COLUMN(PhotonMass, photonMass, float); //! Photon invariant mass
30+
DECLARE_SOA_COLUMN(PhotonPosPt, photonPosPt, float); //! Positive daughter (e+) transverse momentum
31+
DECLARE_SOA_COLUMN(PhotonPosEta, photonPosEta, float); //! Positive daughter (e+) pseudorapidity
32+
DECLARE_SOA_COLUMN(PhotonPosPhi, photonPosPhi, float); //! Positive daughter (e+) azimuthal angle
33+
DECLARE_SOA_COLUMN(PhotonPosNSigmaElTPC, photonPosNSigmaElTPC, float); //! Positive daughter (e+) NSigma electron TPC
34+
DECLARE_SOA_COLUMN(PhotonNegPt, photonNegPt, float); //! Negative daughter (e-) transverse momentum
35+
DECLARE_SOA_COLUMN(PhotonNegEta, photonNegEta, float); //! Negative daughter (e-) pseudorapidity
36+
DECLARE_SOA_COLUMN(PhotonNegPhi, photonNegPhi, float); //! Negative daughter (e-) azimuthal angle
37+
DECLARE_SOA_COLUMN(PhotonNegNSigmaElTPC, photonNegNSigmaElTPC, float); //! Negative daughter (e-) NSigma electron TPC
38+
DECLARE_SOA_COLUMN(DeuteronPt, deuteronPt, float); //! Deuteron transverse momentum
39+
DECLARE_SOA_COLUMN(DeuteronEta, deuteronEta, float); //! Deuteron pseudorapidity
40+
DECLARE_SOA_COLUMN(DeuteronPhi, deuteronPhi, float); //! Deuteron azimuthal angle
41+
DECLARE_SOA_COLUMN(DeuteronNSigmaTPC, deuteronNSigmaTPC, float); //! Deuteron NSigma TPC
42+
DECLARE_SOA_COLUMN(DeuteronNSigmaTOF, deuteronNSigmaTOF, float); //! Deuteron NSigma TOF
43+
DECLARE_SOA_COLUMN(DeltaPhi, deltaPhi, float); //! Delta phi between photon and deuteron
44+
DECLARE_SOA_COLUMN(DeltaEta, deltaEta, float); //! Delta eta between photon and deuteron
45+
DECLARE_SOA_COLUMN(InvMass, invMass, float); //! Photon-deuteron invariant mass
46+
DECLARE_SOA_COLUMN(RelativeMomentum, relativeMomentum, float); //! Relative momentum k*_pn
47+
} // namespace photondeuteron
48+
49+
DECLARE_SOA_TABLE(PhotonDeuteronPairs, "AOD", "PHOTONDPAIRS", //! Table for photon-deuteron pairs
50+
photondeuteron::PhotonPt,
51+
photondeuteron::PhotonEta,
52+
photondeuteron::PhotonPhi,
53+
photondeuteron::PhotonMass,
54+
photondeuteron::PhotonPosPt,
55+
photondeuteron::PhotonPosEta,
56+
photondeuteron::PhotonPosPhi,
57+
photondeuteron::PhotonPosNSigmaElTPC,
58+
photondeuteron::PhotonNegPt,
59+
photondeuteron::PhotonNegEta,
60+
photondeuteron::PhotonNegPhi,
61+
photondeuteron::PhotonNegNSigmaElTPC,
62+
photondeuteron::DeuteronPt,
63+
photondeuteron::DeuteronEta,
64+
photondeuteron::DeuteronPhi,
65+
photondeuteron::DeuteronNSigmaTPC,
66+
photondeuteron::DeuteronNSigmaTOF,
67+
photondeuteron::DeltaPhi,
68+
photondeuteron::DeltaEta,
69+
photondeuteron::InvMass,
70+
photondeuteron::RelativeMomentum);
71+
} // namespace o2::aod
72+
73+
#endif // PWGLF_DATAMODEL_LFPHOTONDEUTERONTABLES_H_

PWGLF/TableProducer/Nuspex/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,8 @@ o2physics_add_dpl_workflow(particle-composition-correction
113113
SOURCES particleCompositionCorrection.cxx
114114
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::MLCore
115115
COMPONENT_NAME Analysis)
116+
117+
o2physics_add_dpl_workflow(photon-deuteron-corr
118+
SOURCES photonDeuteron.cxx
119+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
120+
COMPONENT_NAME Analysis)

0 commit comments

Comments
 (0)