-
Notifications
You must be signed in to change notification settings - Fork 650
Expand file tree
/
Copy pathElectronSelectionTable.h
More file actions
148 lines (134 loc) · 8.77 KB
/
ElectronSelectionTable.h
File metadata and controls
148 lines (134 loc) · 8.77 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
138
139
140
141
142
143
144
145
146
147
148
// 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.
/// \file ElectronSelectionTable.h
/// \brief Definitions of tables produced by Electron Selection
/// \author Rashi Gupta <rashi.gupta@cern.ch>, IIT Indore
/// \author Ravindra Singh <ravindra.singh@cern.ch>, IIT Indore
#ifndef PWGHF_HFL_DATAMODEL_ELECTRONSELECTIONTABLE_H_
#define PWGHF_HFL_DATAMODEL_ELECTRONSELECTIONTABLE_H_
#include <Framework/ASoA.h>
#include <Framework/AnalysisDataModel.h>
#include <cstdint>
#include <vector>
namespace o2::aod
{
// definition of columns and tables for electron selection
namespace hf_sel_electron
{
DECLARE_SOA_INDEX_COLUMN(Collision, collision); //! collisioniD of the electron track
DECLARE_SOA_INDEX_COLUMN(Track, track); //! trackid of of the electron track
DECLARE_SOA_COLUMN(EtaTrack, etaTrack, float); //! pseudorapidity of the electron track
DECLARE_SOA_COLUMN(PhiTrack, phiTrack, float); //! azimuth of the electron track
DECLARE_SOA_COLUMN(PtTrack, ptTrack, float); //! transverse momentum of the electron track
DECLARE_SOA_COLUMN(PTrack, pTrack, float); //! momentum of the electron track
DECLARE_SOA_COLUMN(RapidityTrack, rapidityTrack, float); //! rapidity of the electron track
DECLARE_SOA_COLUMN(DcaXYTrack, dcaXYTrack, float); //! dca of the electron in xy direction
DECLARE_SOA_COLUMN(DcaZTrack, dcaZTrack, float); //! dca of the electron in z direction
DECLARE_SOA_COLUMN(TpcNSigmaElTrack, tpcNSigmaElTrack, float); //! tpcNSigma of the electron track(TPC PID)
DECLARE_SOA_COLUMN(TofNSigmaElTrack, tofNSigmaElTrack, float); //! tofNSigma of the electron track(TOF PID)
// EMCal cluster values
DECLARE_SOA_COLUMN(EnergyEmcCluster, energyEmcCluster, float); //! energy of the EMCal cluster
DECLARE_SOA_COLUMN(EtaEmcCluster, etaEmcCluster, float); //! pseudorapidity of the EMCal cluster
DECLARE_SOA_COLUMN(PhiEmcCluster, phiEmcCluster, float); //! azimuth of the EMCal cluster
DECLARE_SOA_COLUMN(M02EmcCluster, m02EmcCluster, float); //! shower shape long axis of the EMCal cluster
DECLARE_SOA_COLUMN(M20EmcCluster, m20EmcCluster, float); //! shower shape short axis of the EMCal cluster
DECLARE_SOA_COLUMN(NCellsEmcCluster, nCellsEmcCluster, uint8_t); //! number of cells of the EMCal cluster
DECLARE_SOA_COLUMN(TimeEmcCluster, timeEmcCluster, float); //! time of the EMCal cluster (ns)
DECLARE_SOA_COLUMN(DeltaEtaMatch, deltaEtaMatch, float); //! dEta matched track to EMCal cluster
DECLARE_SOA_COLUMN(DeltaPhiMatch, deltaPhiMatch, float); //! dPhi matched track to EMCal cluster
DECLARE_SOA_COLUMN(IsEmcal, isEmcal, bool); //! electron information with Emcal
} // namespace hf_sel_electron
DECLARE_SOA_TABLE(HfSelEl, "AOD", "HFSELEL", //! Electron Informations
hf_sel_electron::CollisionId,
hf_sel_electron::TrackId,
hf_sel_electron::EtaTrack,
hf_sel_electron::PhiTrack,
hf_sel_electron::PtTrack,
hf_sel_electron::PTrack,
hf_sel_electron::RapidityTrack,
hf_sel_electron::DcaXYTrack,
hf_sel_electron::DcaZTrack,
hf_sel_electron::TpcNSigmaElTrack,
hf_sel_electron::TofNSigmaElTrack,
hf_sel_electron::EnergyEmcCluster,
hf_sel_electron::EtaEmcCluster,
hf_sel_electron::PhiEmcCluster,
hf_sel_electron::M02EmcCluster,
hf_sel_electron::M20EmcCluster,
hf_sel_electron::NCellsEmcCluster,
hf_sel_electron::TimeEmcCluster,
hf_sel_electron::DeltaEtaMatch,
hf_sel_electron::DeltaPhiMatch,
hf_sel_electron::IsEmcal);
// definition of columns and tables for HfcorrElectron Selection
namespace hf_corr_sel_electron
{
DECLARE_SOA_INDEX_COLUMN(Collision, collision); //! collisioniD of the electron track
DECLARE_SOA_INDEX_COLUMN(Track, track); //! trackid of of the electron track
DECLARE_SOA_COLUMN(EtaTrack, etaTrack, float); //! pseudorapidity of the electron track
DECLARE_SOA_COLUMN(PhiTrack, phiTrack, float); //! azimuth of the electron track
DECLARE_SOA_COLUMN(PtTrack, ptTrack, float); //! transverse momentum of the electron track
DECLARE_SOA_COLUMN(TpcNSigmaElTrack, tpcNSigmaElTrack, float); //! tpcNSigma of the electron track(TPC PID)
DECLARE_SOA_COLUMN(TofNSigmaElTrack, tofNSigmaElTrack, float); //! tofNSigma of the electron track(TOF PID)
DECLARE_SOA_COLUMN(TpcNClsCrRowsTrack, tpcNClsCrRowsTrack, float); //! Number of crossed TPC Rows in electron track
DECLARE_SOA_COLUMN(TpcCrRowsRatioTrack, tpcCrRowsRatioTrack, float); //! Ratio crossed rows over findable clusters electron track
DECLARE_SOA_COLUMN(ItsChi2NClTrack, itsChi2NClTrack, float); //! Chi2 / cluster for the ITS electron track
DECLARE_SOA_COLUMN(TpcChi2NClTrack, tpcChi2NClTrack, float); //! Chi2 / cluster for the TPC electron track
DECLARE_SOA_COLUMN(DcaXYTrack, dcaXYTrack, float); //! dca of the electron in xy direction
DECLARE_SOA_COLUMN(DcaZTrack, dcaZTrack, float); //! dca of the electron in z direction
DECLARE_SOA_COLUMN(M02El, m02El, float); //! M02 of the electron cluster
DECLARE_SOA_COLUMN(EopEl, eopEl, float); //! energy momentum ratio of the electron
DECLARE_SOA_COLUMN(LSMassEE, lSMassEE, std::vector<float>); //! mass of the Like sign electron pair
DECLARE_SOA_COLUMN(ULSMassEE, uLSMassEE, std::vector<float>); //! mass of UnLike sign electron pair
DECLARE_SOA_COLUMN(NElPairLS, nElPairLS, int); //! Number of Like sign electron pair
DECLARE_SOA_COLUMN(NElPairUS, nElPairUS, int); //! Number of UnLike sign electron pair
DECLARE_SOA_COLUMN(IsEmcal, isEmcal, bool); //! electron information
} // namespace hf_corr_sel_electron
DECLARE_SOA_TABLE(HfCorrSelEl, "AOD", "HfCORRSELEL", //! Electron Informations
hf_corr_sel_electron::CollisionId,
hf_corr_sel_electron::TrackId,
hf_corr_sel_electron::EtaTrack,
hf_corr_sel_electron::PhiTrack,
hf_corr_sel_electron::PtTrack,
hf_corr_sel_electron::TpcNSigmaElTrack,
hf_corr_sel_electron::TofNSigmaElTrack,
hf_corr_sel_electron::TpcNClsCrRowsTrack,
hf_corr_sel_electron::TpcCrRowsRatioTrack,
hf_corr_sel_electron::ItsChi2NClTrack,
hf_corr_sel_electron::TpcChi2NClTrack,
hf_corr_sel_electron::DcaXYTrack,
hf_corr_sel_electron::DcaZTrack,
hf_corr_sel_electron::EopEl,
hf_corr_sel_electron::M02El,
hf_corr_sel_electron::LSMassEE,
hf_corr_sel_electron::ULSMassEE,
hf_corr_sel_electron::NElPairLS,
hf_corr_sel_electron::NElPairUS,
hf_corr_sel_electron::IsEmcal);
// definition of columns and tables for Mc Gen HfElectron Selection
namespace hf_mcgen_sel_electron
{
DECLARE_SOA_INDEX_COLUMN(McCollision, mcCollision); //! collisioniD of the electron track
DECLARE_SOA_INDEX_COLUMN(Track, track); //! trackid of of the electron track
DECLARE_SOA_COLUMN(EtaTrackMc, etaTrackMc, float); //! pseudorapidity of the electron track
DECLARE_SOA_COLUMN(PhiTrackMc, phiTrackMc, float); //! azimuth of the electron track
DECLARE_SOA_COLUMN(PtTrackMc, ptTrackMc, float); //! transverse momentum of the electron track
DECLARE_SOA_COLUMN(IsNonHfeMc, isNonHfeMc, bool); //! Non-Heavy flavour electron information
} // namespace hf_mcgen_sel_electron
DECLARE_SOA_TABLE(HfMcGenSelEl, "AOD", "HFMCGENSELEL", //! Electron Informations
hf_mcgen_sel_electron::McCollisionId,
hf_mcgen_sel_electron::TrackId,
hf_mcgen_sel_electron::EtaTrackMc,
hf_mcgen_sel_electron::PhiTrackMc,
hf_mcgen_sel_electron::PtTrackMc,
hf_mcgen_sel_electron::IsNonHfeMc);
} // namespace o2::aod
#endif // PWGHF_HFL_DATAMODEL_ELECTRONSELECTIONTABLE_H_