Skip to content

Commit c9bc55d

Browse files
committed
Fix PID include paths
1 parent 5763e07 commit c9bc55d

22 files changed

Lines changed: 41 additions & 39 deletions

Common/Core/PID/PIDTOFParamService.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include "Common/Core/CollisionTypeHelper.h"
2222
#include "Common/Core/MetadataHelper.h"
23+
#include "Common/Core/PID/PIDTOF.h"
2324

2425
#include <CCDB/BasicCCDBManager.h>
2526
#include <DataFormatsParameters/GRPLHCIFData.h>
@@ -30,7 +31,6 @@
3031
#include <Framework/ServiceHandle.h>
3132
#include <Framework/ServiceSpec.h>
3233
#include <Framework/TypeIdHelpers.h>
33-
#include <PID/PIDTOF.h>
3434

3535
#include <TGraph.h>
3636

@@ -80,7 +80,7 @@ void o2::pid::tof::TOFResponseImpl::initSetup(o2::ccdb::BasicCCDBManager* ccdb,
8080
LOG(fatal) << "CCDB manager is not set, cannot initialize TOFResponseImpl";
8181
}
8282
inheritFromBaseTask(initContext, task); // Gets the configuration parameters from the base task (tof-signal)
83-
mCcdb = ccdb; // Set the CCDB manager
83+
mCcdb = ccdb; // Set the CCDB manager
8484
mCcdb->setURL(mUrl);
8585
mCcdb->setTimestamp(mTimestamp);
8686
mCcdb->setCaching(true);

Common/Core/PID/ParamBase.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
/// These are the basic storage elements to be kept in the CCDB
1818
///
1919

20+
#include "ParamBase.h"
21+
2022
#include <Framework/Logger.h>
21-
#include <PID/ParamBase.h>
2223

2324
#include <TFile.h>
2425
#include <TString.h>

Common/TableProducer/PID/pidTOF.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
/// Only the tables for the mass hypotheses requested are filled, the others are sent empty.
1717
///
1818

19+
#include "Common/Core/PID/PIDTOF.h"
20+
1921
#include "pidTOFBase.h"
2022

2123
#include "Common/Core/TableHelper.h"
@@ -31,7 +33,6 @@
3133
#include <Framework/Configurable.h>
3234
#include <Framework/InitContext.h>
3335
#include <Framework/Variant.h>
34-
#include <PID/PIDTOF.h>
3536
#include <ReconstructionDataFormats/PID.h>
3637

3738
#include <TGraph.h>

Common/TableProducer/PID/pidTOFBase.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
#include "pidTOFBase.h"
1919

20+
#include "Common/Core/PID/PIDTOF.h"
2021
#include "Common/Core/TableHelper.h"
2122
#include "Common/DataModel/EventSelection.h"
2223
#include "Common/DataModel/FT0Corrected.h"
@@ -35,7 +36,6 @@
3536
#include <Framework/InitContext.h>
3637
#include <Framework/OutputObjHeader.h>
3738
#include <Framework/runDataProcessing.h>
38-
#include <PID/PIDTOF.h>
3939
#include <ReconstructionDataFormats/PID.h>
4040
#include <TOFBase/EventTimeMaker.h>
4141

@@ -370,8 +370,8 @@ struct tofEventTime {
370370
tableEvTimeTOFOnly.reserve(tracks.size());
371371
}
372372

373-
int lastCollisionId = -1; // Last collision ID analysed
374-
for (auto const& t : tracks) { // Loop on collisions
373+
int lastCollisionId = -1; // Last collision ID analysed
374+
for (auto const& t : tracks) { // Loop on collisions
375375
if (!t.has_collision() || collisions.size() == 0 || ((sel8TOFEvTime.value == true) && !t.collision_as<EvTimeCollisions>().sel8())) { // Track was not assigned, cannot compute event time or event did not pass the event selection
376376
tableFlags(0);
377377
tableEvTime(0.f, 999.f);
@@ -432,8 +432,8 @@ struct tofEventTime {
432432
tableEvTimeTOFOnly.reserve(tracks.size());
433433
}
434434

435-
int lastCollisionId = -1; // Last collision ID analysed
436-
for (auto const& t : tracks) { // Loop on collisions
435+
int lastCollisionId = -1; // Last collision ID analysed
436+
for (auto const& t : tracks) { // Loop on collisions
437437
if (!t.has_collision() || collisions.size() == 0 || ((sel8TOFEvTime.value == true) && !t.collision_as<EvTimeCollisionsFT0>().sel8())) { // Track was not assigned, cannot compute event time or event did not pass the event selection
438438
tableFlags(0);
439439
tableEvTime(0.f, 999.f);

Common/TableProducer/PID/pidTOFFull.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include "pidTOFBase.h"
2020

21+
#include "Common/Core/PID/PIDTOF.h"
2122
#include "Common/Core/TableHelper.h"
2223
#include "Common/DataModel/PIDResponseTOF.h"
2324

@@ -31,7 +32,6 @@
3132
#include <Framework/Configurable.h>
3233
#include <Framework/InitContext.h>
3334
#include <Framework/Variant.h>
34-
#include <PID/PIDTOF.h>
3535
#include <ReconstructionDataFormats/PID.h>
3636

3737
#include <TGraph.h>
@@ -302,9 +302,9 @@ struct tofPidFull {
302302
reserveTable(pidId, tracks.size());
303303
}
304304

305-
int lastCollisionId = -1; // Last collision ID analysed
306-
float resolution = 1.f; // Last resolution assigned
307-
for (auto const& track : tracks) { // Loop on all tracks
305+
int lastCollisionId = -1; // Last collision ID analysed
306+
float resolution = 1.f; // Last resolution assigned
307+
for (auto const& track : tracks) { // Loop on all tracks
308308
if (!track.has_collision() || collisions.size() == 0) { // Track was not assigned, cannot compute NSigma (no event time) -> filling with empty table
309309
for (auto const& pidId : mEnabledParticles) {
310310
makeTableEmpty(pidId);
@@ -407,8 +407,8 @@ struct tofPidFull {
407407
for (auto const& pidId : mEnabledParticles) {
408408
reserveTable(pidId, tracks.size());
409409
}
410-
float resolution = 1.f; // Last resolution assigned
411-
for (auto const& track : tracks) { // Loop on all tracks
410+
float resolution = 1.f; // Last resolution assigned
411+
for (auto const& track : tracks) { // Loop on all tracks
412412
if (!track.has_collision() || collisions.size() == 0) { // Track was not assigned, cannot compute NSigma (no event time) -> filling with empty table
413413
for (auto const& pidId : mEnabledParticles) {
414414
makeTableEmpty(pidId);

Common/TableProducer/PID/pidTOFMerge.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
#include "Common/Core/CollisionTypeHelper.h"
2323
#include "Common/Core/MetadataHelper.h"
24+
#include "Common/Core/PID/PIDTOF.h"
2425
#include "Common/Core/PID/PIDTOFParamService.h"
2526
#include "Common/Core/TableHelper.h"
2627
#include "Common/DataModel/EventSelection.h"
@@ -40,7 +41,6 @@
4041
#include <Framework/InitContext.h>
4142
#include <Framework/OutputObjHeader.h>
4243
#include <Framework/runDataProcessing.h>
43-
#include <PID/PIDTOF.h>
4444
#include <ReconstructionDataFormats/PID.h>
4545
#include <TOFBase/EventTimeMaker.h>
4646

@@ -345,7 +345,7 @@ struct tofEventTime {
345345
tableEvTime.reserve(tracks.size());
346346
tableFlags.reserve(tracks.size());
347347

348-
for (auto const& t : tracks) { // Loop on collisions
348+
for (auto const& t : tracks) { // Loop on collisions
349349
if (!t.has_collision() || collisions.size() == 0) { // Track was not assigned, cannot compute event time
350350
tableFlags(0);
351351
tableEvTime(0.f, 999.f);
@@ -399,8 +399,8 @@ struct tofEventTime {
399399
LOG(debug) << "Running on " << CollisionSystemType::getCollisionSystemName(tofResponse->cfgCollisionType()) << " mComputeEvTimeWithTOF " << mComputeEvTimeWithTOF.value << " mComputeEvTimeWithFT0 " << mComputeEvTimeWithFT0.value;
400400

401401
if (mComputeEvTimeWithTOF == 1 && mComputeEvTimeWithFT0 == 1) {
402-
int lastCollisionId = -1; // Last collision ID analysed
403-
for (auto const& t : tracks) { // Loop on collisions
402+
int lastCollisionId = -1; // Last collision ID analysed
403+
for (auto const& t : tracks) { // Loop on collisions
404404
if (!t.has_collision() || collisions.size() == 0 || ((sel8TOFEvTime.value == true) && !t.collision_as<EvTimeCollisionsFT0>().sel8())) { // Track was not assigned, cannot compute event time or event did not pass the event selection
405405
tableFlags(0);
406406
tableEvTime(0.f, 999.f);
@@ -475,8 +475,8 @@ struct tofEventTime {
475475
}
476476
}
477477
} else if (mComputeEvTimeWithTOF == 1 && mComputeEvTimeWithFT0 == 0) {
478-
int lastCollisionId = -1; // Last collision ID analysed
479-
for (auto const& t : tracks) { // Loop on collisions
478+
int lastCollisionId = -1; // Last collision ID analysed
479+
for (auto const& t : tracks) { // Loop on collisions
480480
if (!t.has_collision() || collisions.size() == 0 || ((sel8TOFEvTime.value == true) && !t.collision_as<EvTimeCollisions>().sel8())) { // Track was not assigned, cannot compute event time or event did not pass the event selection
481481
tableFlags(0);
482482
tableEvTime(0.f, 999.f);
@@ -906,7 +906,7 @@ struct tofPidMerge {
906906

907907
float resolution = 1.f; // Last resolution assigned
908908
float nsigma = 0;
909-
for (auto const& trk : tracks) { // Loop on all tracks
909+
for (auto const& trk : tracks) { // Loop on all tracks
910910
if (!trk.has_collision() || collisions.size() == 0) { // Track was not assigned, cannot compute NSigma (no event time) -> filling with empty table
911911
for (auto const& pidId : mEnabledParticles) {
912912
makeTableEmpty(pidId, false);
@@ -1068,7 +1068,7 @@ struct tofPidMerge {
10681068

10691069
float resolution = 1.f; // Last resolution assigned
10701070
float nsigma = 0;
1071-
for (auto const& trk : tracks) { // Loop on all tracks
1071+
for (auto const& trk : tracks) { // Loop on all tracks
10721072
if (!trk.has_collision() || collisions.size() == 0) { // Track was not assigned, cannot compute NSigma (no event time) -> filling with empty table
10731073
for (auto const& pidId : mEnabledParticles) {
10741074
makeTableEmpty(pidId, false);

Common/TableProducer/PID/pidTOFbeta.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/// \brief Task to produce TOF beta and TOF mass tables
1616
///
1717

18+
#include "Common/Core/PID/PIDTOF.h"
1819
#include "Common/Core/TableHelper.h"
1920
#include "Common/DataModel/PIDResponseTOF.h"
2021

@@ -27,7 +28,6 @@
2728
#include <Framework/Configurable.h>
2829
#include <Framework/InitContext.h>
2930
#include <Framework/Variant.h>
30-
#include <PID/PIDTOF.h>
3131
#include <ReconstructionDataFormats/PID.h>
3232

3333
#include <chrono>

DPG/Tasks/AOTTrack/PID/TOF/qaPIDTOFDynamic.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/// \brief Implementation for QA tasks of the TOF PID quantities
1616
///
1717

18+
#include "Common/Core/PID/PIDTOFParamService.h"
1819
#include "Common/DataModel/EventSelection.h"
1920
#include "Common/DataModel/PIDResponseTOF.h"
2021
#include "Common/DataModel/TrackSelectionTables.h"
@@ -32,7 +33,6 @@
3233
#include <Framework/OutputObjHeader.h>
3334
#include <Framework/StaticFor.h>
3435
#include <Framework/runDataProcessing.h>
35-
#include <PID/PIDTOFParamService.h>
3636
#include <ReconstructionDataFormats/PID.h>
3737

3838
#include <TH1.h>

DPG/Tasks/AOTTrack/PID/TOF/qaPIDTOFEvTime.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/// \brief Tasks of the TOF PID quantities for the event times
1616
///
1717

18+
#include "Common/Core/PID/PIDTOF.h"
1819
#include "Common/DataModel/EventSelection.h"
1920
#include "Common/DataModel/FT0Corrected.h"
2021
#include "Common/DataModel/PIDResponseTOF.h"
@@ -33,7 +34,6 @@
3334
#include <Framework/InitContext.h>
3435
#include <Framework/OutputObjHeader.h>
3536
#include <Framework/runDataProcessing.h>
36-
#include <PID/PIDTOF.h>
3737

3838
#include <TEfficiency.h>
3939
#include <THashList.h>

DPG/Tasks/TOF/tofOfflineCalib.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include "tofSkimsTableCreator.h"
2020

21+
#include "Common/Core/PID/PIDTOF.h"
2122
#include "Common/DataModel/EventSelection.h"
2223
#include "Common/DataModel/FT0Corrected.h"
2324
#include "Common/DataModel/Multiplicity.h"
@@ -37,7 +38,6 @@
3738
#include <Framework/InitContext.h>
3839
#include <Framework/OutputObjHeader.h>
3940
#include <Framework/runDataProcessing.h>
40-
#include <PID/PIDTOF.h>
4141
#include <ReconstructionDataFormats/PID.h>
4242

4343
#include <TH1.h>

0 commit comments

Comments
 (0)