You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGJE/DataModel/GammaJetAnalysisTree.h
+91-7Lines changed: 91 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -17,17 +17,45 @@
17
17
#ifndef PWGJE_DATAMODEL_GAMMAJETANALYSISTREE_H_
18
18
#definePWGJE_DATAMODEL_GAMMAJETANALYSISTREE_H_
19
19
20
-
#include<Framework/ASoA.h>
20
+
#include"PWGJE/Core/JetDerivedDataUtilities.h"
21
+
#include"PWGJE/DataModel/EMCALClusters.h"
22
+
#include"PWGJE/DataModel/Jet.h"
21
23
22
-
#include<sys/types.h>
23
-
24
-
#include<cstdint>
24
+
#include"Framework/AnalysisDataModel.h"
25
25
26
+
namespaceo2::aod::gjanalysis
27
+
{
28
+
enumclassClusterOrigin {
29
+
kUnknown = 0,
30
+
kPhoton, // dominant amount of energy from the cluster is from a photon
31
+
kPromptPhoton,
32
+
kDirectPromptPhoton,
33
+
kFragmentationPhoton,
34
+
kDecayPhoton, // the particle that produced the cluster is a decay product
35
+
kDecayPhotonPi0, // the cluster was produced by a pi0 decay
36
+
kDecayPhotonEta, // the cluster was produced by a eta decay
37
+
kMergedPi0, // the cluster was produced by a merged pi0, i.e. two photons contribute to the cluster that both come from pi0 decay
38
+
kMergedEta, // the cluster was produced by a merged eta, i.e. two photons contribute to the cluster that both come from eta decay
39
+
kConvertedPhoton, // the cluster was produced by a converted photon, i.e. a photon that converted to an electron-positron pair and one of the electrons was detected in the cluster
// Information about the MC collision that was matched to the reconstructed collision
71
+
namespacegjmcevent
72
+
{
73
+
DECLARE_SOA_INDEX_COLUMN(GjEvent, gjevent);
74
+
DECLARE_SOA_COLUMN(Weight, weight, double);
75
+
DECLARE_SOA_COLUMN(Rho, rho, float); // gen level rho
76
+
DECLARE_SOA_COLUMN(IsMultipleAssigned, isMultipleAssigned, bool); // if the corresponding MC collision matched to this rec collision was also matched to other rec collisions (allows to skip those on analysis level )
// Generator level particle information from the MC collision that was matched to the reconstructed collision
112
+
namespacegjmcparticle
65
113
{
66
114
DECLARE_SOA_INDEX_COLUMN(GjEvent, gjevent);
115
+
DECLARE_SOA_COLUMN(Energy, energy, float);
116
+
DECLARE_SOA_COLUMN(Eta, eta, float);
117
+
DECLARE_SOA_COLUMN(Phi, phi, float);
118
+
DECLARE_SOA_COLUMN(Pt, pt, float);
119
+
DECLARE_SOA_COLUMN(PdgCode, pdgCode, ushort); // TODO also add smoe origin of particle? maybe only save original pi0 and eta and photon (not decay photons)
120
+
DECLARE_SOA_COLUMN(MCIsolation, mcIsolation, float); // isolation in cone on mc gen level
121
+
DECLARE_SOA_COLUMN(Origin, origin, uint16_t); // origin of particle
0 commit comments