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
+92-9Lines changed: 92 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -17,17 +17,43 @@
17
17
#ifndef PWGJE_DATAMODEL_GAMMAJETANALYSISTREE_H_
18
18
#definePWGJE_DATAMODEL_GAMMAJETANALYSISTREE_H_
19
19
20
-
#include<Framework/ASoA.h>
21
-
22
-
#include<sys/types.h>
23
-
24
-
#include<cstdint>
20
+
#include"Framework/AnalysisDataModel.h"
21
+
#include"PWGJE/DataModel/EMCALClusters.h"
22
+
#include"PWGJE/Core/JetDerivedDataUtilities.h"
23
+
#include"PWGJE/DataModel/Jet.h"
25
24
25
+
namespaceo2::aod::gjanalysis{
26
+
enumclassClusterOrigin{
27
+
kUnknown = 0,
28
+
kPhoton, // dominant amount of energy from the cluster is from a photon
29
+
kPromptPhoton,
30
+
kDirectPromptPhoton,
31
+
kFragmentationPhoton,
32
+
kDecayPhoton, // the particle that produced the cluster is a decay product
33
+
kDecayPhotonPi0, // the cluster was produced by a pi0 decay
34
+
kDecayPhotonEta, // the cluster was produced by a eta decay
35
+
kMergedPi0, // the cluster was produced by a merged pi0, i.e. two photons contribute to the cluster that both come from pi0 decay
36
+
kMergedEta, // the cluster was produced by a merged eta, i.e. two photons contribute to the cluster that both come from eta decay
37
+
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
69
+
namespacegjmcevent
70
+
{
71
+
DECLARE_SOA_INDEX_COLUMN(GjEvent, gjevent);
72
+
DECLARE_SOA_COLUMN(Weight, weight, double);
73
+
DECLARE_SOA_COLUMN(Rho, rho, float); // gen level rho
74
+
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
111
+
namespacegjmcparticle
65
112
{
66
113
DECLARE_SOA_INDEX_COLUMN(GjEvent, gjevent);
114
+
DECLARE_SOA_COLUMN(Energy, energy, float);
115
+
DECLARE_SOA_COLUMN(Eta, eta, float);
116
+
DECLARE_SOA_COLUMN(Phi, phi, float);
117
+
DECLARE_SOA_COLUMN(Pt, pt, float);
118
+
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)
119
+
DECLARE_SOA_COLUMN(MCIsolation, mcIsolation, float); // isolation in cone on mc gen level
120
+
DECLARE_SOA_COLUMN(Origin, origin, uint16_t); // origin of particle
0 commit comments