1010// or submit itself to any jurisdiction.
1111// / \author Nima Zardoshti <nima.zardoshti@cern.ch>, CERN
1212
13- #ifndef O2_ANALYSIS_JEDERIVED_H
14- #define O2_ANALYSIS_JEDERIVED_H
13+ #ifndef TUTORIALS_SKIMMING_DATAMODEL_JEDERIVED_H_
14+ #define TUTORIALS_SKIMMING_DATAMODEL_JEDERIVED_H_
1515
16- #include " Framework/ASoA.h"
17- #include " Framework/AnalysisDataModel.h"
16+ #include < Framework/ASoA.h>
17+ #include < Framework/AnalysisDataModel.h>
18+
19+ #include < TMath.h>
1820
1921namespace o2 ::aod
2022{
@@ -29,7 +31,7 @@ DECLARE_SOA_COLUMN(Area, area, float);
2931DECLARE_SOA_DYNAMIC_COLUMN (Px, px, [](float pt, float phi) { return pt * TMath::Cos (phi); });
3032DECLARE_SOA_DYNAMIC_COLUMN (Py, py, [](float pt, float phi) { return pt * TMath::Sin (phi); });
3133DECLARE_SOA_DYNAMIC_COLUMN (Pz, pz, [](float pt, float eta) { return pt * TMath::SinH (eta); });
32- DECLARE_SOA_DYNAMIC_COLUMN (P, p, [](float pt, float eta) { return pt * TMath::CosH (eta); }); // absolute p
34+ DECLARE_SOA_DYNAMIC_COLUMN (P, p, [](float pt, float eta) { return pt * TMath::CosH (eta); }); // absolute p
3335} // namespace jejet
3436
3537DECLARE_SOA_TABLE (JEJets, " AOD" , " JEJET" ,
@@ -56,7 +58,7 @@ DECLARE_SOA_COLUMN(Phi, phi, float);
5658DECLARE_SOA_DYNAMIC_COLUMN (Px, px, [](float pt, float phi) { return pt * TMath::Cos (phi); });
5759DECLARE_SOA_DYNAMIC_COLUMN (Py, py, [](float pt, float phi) { return pt * TMath::Sin (phi); });
5860DECLARE_SOA_DYNAMIC_COLUMN (Pz, pz, [](float pt, float eta) { return pt * TMath::SinH (eta); });
59- DECLARE_SOA_DYNAMIC_COLUMN (P, p, [](float pt, float eta) { return pt * TMath::CosH (eta); }); // absolute p
61+ DECLARE_SOA_DYNAMIC_COLUMN (P, p, [](float pt, float eta) { return pt * TMath::CosH (eta); }); // absolute p
6062} // namespace jeconstituent
6163
6264DECLARE_SOA_TABLE (JEConstituents, " AOD" , " JECONSTITUENT" , o2::soa::Index<>,
@@ -69,4 +71,4 @@ DECLARE_SOA_TABLE(JEConstituents, "AOD", "JECONSTITUENT", o2::soa::Index<>,
6971using JEConstituent = JEConstituents::iterator;
7072} // namespace o2::aod
7173
72- #endif // O2_ANALYSIS_JEDERIVED_H
74+ #endif // TUTORIALS_SKIMMING_DATAMODEL_JEDERIVED_H_
0 commit comments