-
Notifications
You must be signed in to change notification settings - Fork 652
Expand file tree
/
Copy pathLFSpincorrelationTables.h
More file actions
137 lines (125 loc) · 6.56 KB
/
LFSpincorrelationTables.h
File metadata and controls
137 lines (125 loc) · 6.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
///
/// \author Sourav Kundu <sourav.kundu@cern.ch>
#ifndef PWGLF_DATAMODEL_LFSPINCORRELATIONTABLES_H_
#define PWGLF_DATAMODEL_LFSPINCORRELATIONTABLES_H_
#include "Common/Core/RecoDecay.h"
#include "Common/DataModel/Centrality.h"
#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/TrackSelectionTables.h"
#include "Framework/ASoA.h"
#include "Framework/AnalysisDataModel.h"
#include <cmath>
namespace o2::aod
{
namespace lambdaevent
{
DECLARE_SOA_COLUMN(Cent, cent, float);
DECLARE_SOA_COLUMN(Posz, posz, float);
} // namespace lambdaevent
DECLARE_SOA_TABLE(LambdaEvents, "AOD", "LAMBDAEVENT",
o2::soa::Index<>,
lambdaevent::Cent,
lambdaevent::Posz)
using LambdaEvent = LambdaEvents::iterator;
namespace lambdapair
{
DECLARE_SOA_INDEX_COLUMN(LambdaEvent, lambdaevent);
DECLARE_SOA_COLUMN(V0Status, v0Status, int); //! Lambda or Anti-Lambda status
DECLARE_SOA_COLUMN(DoubleStatus, doubleStatus, bool); //! Double status
DECLARE_SOA_COLUMN(V0Cospa, v0Cospa, float); //! V0 Cospa
DECLARE_SOA_COLUMN(V0Radius, v0Radius, float); //! V0 Radius
DECLARE_SOA_COLUMN(DcaPositive, dcaPositive, float); //! DCA Positive
DECLARE_SOA_COLUMN(DcaNegative, dcaNegative, float); //! DCA Negative
DECLARE_SOA_COLUMN(DcaBetweenDaughter, dcaBetweenDaughter, float); //! DCA between daughters
DECLARE_SOA_COLUMN(LambdaPt, lambdaPt, float); //! Lambda Pt
DECLARE_SOA_COLUMN(LambdaEta, lambdaEta, float); //! Lambda Eta
DECLARE_SOA_COLUMN(LambdaPhi, lambdaPhi, float); //! Lambda Phi
DECLARE_SOA_COLUMN(LambdaMass, lambdaMass, float); //! Lambda Mass
DECLARE_SOA_COLUMN(ProtonPt, protonPt, float); //! Proton Pt
DECLARE_SOA_COLUMN(ProtonEta, protonEta, float); //! Proton Eta
DECLARE_SOA_COLUMN(ProtonPhi, protonPhi, float); //! Proton Phi
DECLARE_SOA_COLUMN(ProtonIndex, protonIndex, int); //! Proton index
DECLARE_SOA_COLUMN(PionIndex, pionIndex, int); //! Pion index
} // namespace lambdapair
DECLARE_SOA_TABLE(LambdaPairs, "AOD", "LAMBDAPAIR",
o2::soa::Index<>,
lambdapair::LambdaEventId,
lambdapair::V0Status,
lambdapair::DoubleStatus,
lambdapair::V0Cospa,
lambdapair::V0Radius,
lambdapair::DcaPositive,
lambdapair::DcaNegative,
lambdapair::DcaBetweenDaughter,
lambdapair::LambdaPt,
lambdapair::LambdaEta,
lambdapair::LambdaPhi,
lambdapair::LambdaMass,
lambdapair::ProtonPt,
lambdapair::ProtonEta,
lambdapair::ProtonPhi,
lambdapair::ProtonIndex,
lambdapair::PionIndex);
using LambdaPair = LambdaPairs::iterator;
namespace lambdaeventmc
{
DECLARE_SOA_COLUMN(Centmc, centmc, float);
DECLARE_SOA_COLUMN(Poszmc, poszmc, float);
} // namespace lambdaeventmc
DECLARE_SOA_TABLE(LambdaEventmcs, "AOD", "LAMBDAEVENTMC",
o2::soa::Index<>,
lambdaeventmc::Centmc,
lambdaeventmc::Poszmc)
using LambdaEventmc = LambdaEventmcs::iterator;
namespace lambdapairmc
{
DECLARE_SOA_INDEX_COLUMN(LambdaEventmc, lambdaeventmc);
DECLARE_SOA_COLUMN(V0Statusmc, v0Statusmc, int); //! Lambda or Anti-Lambda status in montecarlo
DECLARE_SOA_COLUMN(DoubleStatusmc, doubleStatusmc, bool); //! Double status in montecarlo
DECLARE_SOA_COLUMN(V0Cospamc, v0Cospamc, float); //! V0 Cospa in montecarlo
DECLARE_SOA_COLUMN(V0Radiusmc, v0Radiusmc, float); //! V0 Radius in montecarlo
DECLARE_SOA_COLUMN(DcaPositivemc, dcaPositivemc, float); //! DCA Positive in montecarlo
DECLARE_SOA_COLUMN(DcaNegativemc, dcaNegativemc, float); //! DCA Negative in montecarlo
DECLARE_SOA_COLUMN(DcaBetweenDaughtermc, dcaBetweenDaughtermc, float); //! DCA between daughters in montecarlo
DECLARE_SOA_COLUMN(LambdaPtmc, lambdaPtmc, float); //! Lambda Pt in montecarlo
DECLARE_SOA_COLUMN(LambdaEtamc, lambdaEtamc, float); //! Lambda Eta in montecarlo
DECLARE_SOA_COLUMN(LambdaPhimc, lambdaPhimc, float); //! Lambda Phi in montecarlo
DECLARE_SOA_COLUMN(LambdaMassmc, lambdaMassmc, float); //! Lambda Mass in montecarlo
DECLARE_SOA_COLUMN(ProtonPtmc, protonPtmc, float); //! Proton Pt in montecarlo
DECLARE_SOA_COLUMN(ProtonEtamc, protonEtamc, float); //! Proton Eta in montecarlo
DECLARE_SOA_COLUMN(ProtonPhimc, protonPhimc, float); //! Proton Phi in montecarlo
DECLARE_SOA_COLUMN(ProtonIndexmc, protonIndexmc, int); //! Proton index in montecarlo
DECLARE_SOA_COLUMN(PionIndexmc, pionIndexmc, int); //! Pion index in montecarlo
} // namespace lambdapairmc
DECLARE_SOA_TABLE(LambdaPairmcs, "AOD", "LAMBDAPAIRMC",
o2::soa::Index<>,
lambdapairmc::LambdaEventmcId,
lambdapairmc::V0Statusmc,
lambdapairmc::DoubleStatusmc,
lambdapairmc::V0Cospamc,
lambdapairmc::V0Radiusmc,
lambdapairmc::DcaPositivemc,
lambdapairmc::DcaNegativemc,
lambdapairmc::DcaBetweenDaughtermc,
lambdapairmc::LambdaPtmc,
lambdapairmc::LambdaEtamc,
lambdapairmc::LambdaPhimc,
lambdapairmc::LambdaMassmc,
lambdapairmc::ProtonPtmc,
lambdapairmc::ProtonEtamc,
lambdapairmc::ProtonPhimc,
lambdapairmc::ProtonIndexmc,
lambdapairmc::PionIndexmc);
using LambdaPairmc = LambdaPairmcs::iterator;
} // namespace o2::aod
#endif // PWGLF_DATAMODEL_LFSPINCORRELATIONTABLES_H_