Skip to content

Commit 48242e7

Browse files
committed
Fix
1 parent e86d466 commit 48242e7

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

Tutorials/Skimming/DataModel/JEDerived.h

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
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

1921
namespace o2::aod
2022
{
@@ -29,7 +31,7 @@ DECLARE_SOA_COLUMN(Area, area, float);
2931
DECLARE_SOA_DYNAMIC_COLUMN(Px, px, [](float pt, float phi) { return pt * TMath::Cos(phi); });
3032
DECLARE_SOA_DYNAMIC_COLUMN(Py, py, [](float pt, float phi) { return pt * TMath::Sin(phi); });
3133
DECLARE_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

3537
DECLARE_SOA_TABLE(JEJets, "AOD", "JEJET",
@@ -56,7 +58,7 @@ DECLARE_SOA_COLUMN(Phi, phi, float);
5658
DECLARE_SOA_DYNAMIC_COLUMN(Px, px, [](float pt, float phi) { return pt * TMath::Cos(phi); });
5759
DECLARE_SOA_DYNAMIC_COLUMN(Py, py, [](float pt, float phi) { return pt * TMath::Sin(phi); });
5860
DECLARE_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

6264
DECLARE_SOA_TABLE(JEConstituents, "AOD", "JECONSTITUENT", o2::soa::Index<>,
@@ -69,4 +71,4 @@ DECLARE_SOA_TABLE(JEConstituents, "AOD", "JECONSTITUENT", o2::soa::Index<>,
6971
using JEConstituent = JEConstituents::iterator;
7072
} // namespace o2::aod
7173

72-
#endif // O2_ANALYSIS_JEDERIVED_H
74+
#endif // TUTORIALS_SKIMMING_DATAMODEL_JEDERIVED_H_

Tutorials/Skimming/DataModel/LFDerived.h

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
// or submit itself to any jurisdiction.
1111
/// \author Nima Zardoshti <nima.zardoshti@cern.ch>, CERN
1212

13-
#ifndef O2_ANALYSIS_LFDERIVED_H
14-
#define O2_ANALYSIS_LFDERIVED_H
13+
#ifndef TUTORIALS_SKIMMING_DATAMODEL_LFDERIVED_H_
14+
#define TUTORIALS_SKIMMING_DATAMODEL_LFDERIVED_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

1921
namespace o2::aod
2022
{
@@ -92,4 +94,4 @@ using LFNucleiTrack = LFNucleiTracks::iterator;
9294

9395
} // namespace o2::aod
9496

95-
#endif // O2_ANALYSIS_LFDERIVED_H
97+
#endif // TUTORIALS_SKIMMING_DATAMODEL_LFDERIVED_H_

0 commit comments

Comments
 (0)