Skip to content

Commit 34fb7ae

Browse files
committed
Fixing some coding convenction
1 parent 86b2512 commit 34fb7ae

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

DPG/Tasks/AOTTrack/PID/HMPID/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ o2physics_add_dpl_workflow(pid-hmpid-qa-pp
1414
SOURCES qaHMPID_pp.cxx
1515
PUBLIC_LINK_LIBRARIES O2::HMPIDBase O2Physics::AnalysisCore
1616
COMPONENT_NAME Analysis)
17-
17+
1818
o2physics_add_dpl_workflow(pid-hmpid-qa-pb
1919
SOURCES qaHMPID_pb.cxx
2020
PUBLIC_LINK_LIBRARIES O2::HMPIDBase O2Physics::AnalysisCore

DPG/Tasks/AOTTrack/PID/HMPID/analysisHMPID_pb.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// or submit itself to any jurisdiction.
1111

1212
// O2 includes
13+
1314
#include "tableHMPIDPb.h"
1415

1516
#include "Common/Core/PID/PIDTOF.h"
@@ -37,6 +38,8 @@
3738

3839
#include <TTree.h>
3940

41+
#include <string>
42+
4043
// CREATE AND FILL TABLE FOR PBPB COLLISIONS
4144

4245
using namespace o2;

DPG/Tasks/AOTTrack/PID/HMPID/qaHMPID_pb.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ struct pidHmpidQaPb {
382382

383383
histos.fill(HIST("hmpidNPhotons"), hmpid.nphotons());
384384

385-
sin2changle = (float)TMath::Power(TMath::Sin(hmpid.chAngle()), 2);
385+
sin2changle = static_cast<float>(TMath::Power(TMath::Sin(hmpid.chAngle()), 2));
386386
if (hmpid.xmip() <= 100. && hmpid.xmip() >= 40. && hmpid.ymip() <= 100. && hmpid.ymip() >= 40.) {
387387
histos.fill(HIST("nPhotons_vs_sin2Ch"), sin2changle, hmpid.nphotons());
388388
}

DPG/Tasks/AOTTrack/PID/HMPID/tableHMPID.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#ifndef O2_ANALYSIS_HMPIDTABLE_H
13-
#define O2_ANALYSIS_HMPIDTABLE_H
12+
#ifndef DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPID_H_
13+
#define DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPID_H_
1414

1515
#include "Framework/ASoA.h"
1616
#include "Framework/AnalysisDataModel.h"
@@ -78,4 +78,4 @@ DECLARE_SOA_TABLE(HMPID_analysis, "AOD", "HMPIDANALYSIS",
7878
variables_table::TPCNSigmaPr, variables_table::TOFNSigmaPr, variables_table::TPCNSigmaDe, variables_table::TOFNSigmaDe);
7979
} // namespace o2::aod
8080

81-
#endif // O2_ANALYSIS_HMPIDTABLE_H
81+
#endif //DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPID_H_

DPG/Tasks/AOTTrack/PID/HMPID/tableHMPIDPb.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#ifndef O2_ANALYSIS_HMPIDTABLEPB_H
13-
#define O2_ANALYSIS_HMPIDTABLEPB_H
12+
#ifndef DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPIDPB_H_
13+
#define DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPIDPB_H_
1414

1515
#include "Framework/ASoA.h"
1616
#include "Framework/AnalysisDataModel.h"
@@ -81,4 +81,4 @@ DECLARE_SOA_TABLE(HMPID_analysisPb, "AOD", "HMPIDANALYSISPB",
8181
variables_table::Centrality);
8282
} // namespace o2::aod
8383

84-
#endif // O2_ANALYSIS_HMPIDTABLEPB_H
84+
#endif // DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPIDPB_H_

0 commit comments

Comments
 (0)