Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Common/DataModel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ o2physics_add_header_only_library(DataModel
EventSelection.h
FT0Corrected.h
Multiplicity.h
PIDResponse.h
PIDResponseITS.h
PIDResponseTOF.h
PIDResponseTPC.h
Expand Down
45 changes: 0 additions & 45 deletions Common/DataModel/PIDResponse.h

This file was deleted.

6 changes: 3 additions & 3 deletions DPG/Tasks/AOTTrack/qaEventTrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
/// \brief Header file for QA tasks for the track and the event properties.
///

#include "Framework/AnalysisDataModel.h"
#include "Framework/ASoAHelpers.h"
#include "Common/DataModel/TrackSelectionTables.h"
#include "Common/DataModel/PIDResponse.h"

#include "Framework/ASoAHelpers.h"
#include "Framework/AnalysisDataModel.h"

// Output table declaration
namespace o2::aod
Expand All @@ -28,7 +28,7 @@

namespace dpgcollision
{
DECLARE_SOA_INDEX_COLUMN(BC, bc);

Check failure on line 31 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(IsEventReject, isEventReject, int);
DECLARE_SOA_COLUMN(IsEventSelected, isEventSelected, int);
DECLARE_SOA_COLUMN(RunNumber, runNumber, int);
Expand All @@ -46,8 +46,8 @@
DECLARE_SOA_COLUMN(PosYMC, posYMC, float);
DECLARE_SOA_COLUMN(PosZMC, posZMC, float);
DECLARE_SOA_COLUMN(CollisionTimeMC, collisionTimeMC, float);
DECLARE_SOA_COLUMN(RecoPVsPerMcColl, recoPVsPerMcColls, int); // from LF MCcollisionExtra

Check failure on line 49 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(IsPvHighestContribForMcColl, IsPvHighestContribForMcColls, int); // from LF MCcollisionExtra

Check failure on line 50 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(DpgCounterCollision, dpgCounterCollision, int);
DECLARE_SOA_COLUMN(DpgCounterDF, dpgCounterDF, int);
DECLARE_SOA_COLUMN(IsFakeCollision, isFakeCollision, int);
Expand Down Expand Up @@ -97,7 +97,7 @@

namespace dpgtrack
{
DECLARE_SOA_INDEX_COLUMN(DPGCollision, dpgCollision); //! Index to move from track to collision

Check failure on line 100 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(Pt, pt, float); //! Pt
DECLARE_SOA_COLUMN(Eta, eta, float); //! Eta
DECLARE_SOA_COLUMN(Phi, phi, float); //! Phi
Expand All @@ -107,11 +107,11 @@
DECLARE_SOA_COLUMN(HasTPC, hasTPC, bool); //! Track has the TPC
DECLARE_SOA_COLUMN(HasTRD, hasTRD, bool); //! Track has the TRD
DECLARE_SOA_COLUMN(HasTOF, hasTOF, bool); //! Track has the TOF
DECLARE_SOA_COLUMN(TPCNClsFound, tpcNClsFound, int16_t); //! Clusters found in TPC

Check failure on line 110 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(TPCNClsCrossedRows, tpcNClsCrossedRows, int16_t); //! Crossed rows found in TPC

Check failure on line 111 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(TPCCrossedRowsOverFindableCls, tpcCrossedRowsOverFindableCls, float); //! Crossed rows over findable clusters in TPC

Check failure on line 112 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(TPCFoundOverFindableCls, tpcFoundOverFindableCls, float); //! Found over findable clusters in TPC

Check failure on line 113 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(TPCFractionSharedCls, tpcFractionSharedCls, float); //! Fraction of shared clusters in TPC

Check failure on line 114 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(ITSNCls, itsNCls, uint8_t); //! Clusters found in ITS
DECLARE_SOA_COLUMN(ITSNClsInnerBarrel, itsNClsInnerBarrel, uint8_t); //! Clusters found in the inner barrel of the ITS
DECLARE_SOA_COLUMN(TOFSignal, tofSignal, float); //! TOF Signal (Ev. Time subtracted)
Expand Down Expand Up @@ -143,7 +143,7 @@
DECLARE_SOA_DYNAMIC_COLUMN(IsFromWeakDecay, isFromWeakDecay, //! True if particle is considered from a weak decay
[](int mode) -> bool { return mode == 1; });
DECLARE_SOA_DYNAMIC_COLUMN(IsFromMaterial, isFromMaterial, //! True if particle is considered from a weak decay
[](int mode) -> bool { return mode == 2; });

Check failure on line 146 in DPG/Tasks/AOTTrack/qaEventTrack.h

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.

} // namespace dpgparticles

Expand Down
24 changes: 13 additions & 11 deletions DPG/Tasks/AOTTrack/qaEventTrackLiteProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,24 @@

#include "qaEventTrack.h"

#include <vector>
#include "Common/Core/TrackSelection.h"
#include "Common/Core/TrackSelectionDefaults.h"
#include "Common/Core/trackUtilities.h"
#include "Common/DataModel/EventSelection.h"
#include "Common/DataModel/McCollisionExtra.h"
#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/PIDResponseTOF.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "TRandom.h"
#include "Framework/AnalysisDataModel.h"
#include "Framework/AnalysisTask.h"
#include "Framework/HistogramRegistry.h"
#include "Framework/runDataProcessing.h"
#include "Framework/AnalysisDataModel.h"
#include "ReconstructionDataFormats/DCA.h"
#include "Common/Core/trackUtilities.h"
#include "Common/DataModel/McCollisionExtra.h"
#include "Common/DataModel/EventSelection.h"
#include "Common/DataModel/TrackSelectionTables.h"
#include "Common/DataModel/Multiplicity.h"
#include "Common/Core/TrackSelection.h"
#include "Common/Core/TrackSelectionDefaults.h"
#include "Common/TableProducer/PID/pidTOFBase.h"

#include "TRandom.h"

#include <vector>

using namespace o2;
using namespace o2::framework;
Expand Down
5 changes: 3 additions & 2 deletions DPG/Tasks/TOF/tofSkimsTableCreator.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
#ifndef DPG_TASKS_TOF_TOFSKIMSTABLECREATOR_H_
#define DPG_TASKS_TOF_TOFSKIMSTABLECREATOR_H_

#include "Common/TableProducer/PID/pidTOFBase.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/FT0Corrected.h"
#include "Common/DataModel/PIDResponseTOF.h"
#include "Common/TableProducer/PID/pidTOFBase.h"

#include "Framework/AnalysisDataModel.h"

namespace o2::aod
Expand Down
1 change: 1 addition & 0 deletions DPG/Tasks/TPC/tpcSkimsTableCreator.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#ifndef DPG_TASKS_TPC_TPCSKIMSTABLECREATOR_H_
#define DPG_TASKS_TPC_TPCSKIMSTABLECREATOR_H_

#include "Common/Core/trackUtilities.h"
#include "Common/DataModel/OccupancyTables.h"

#include <Framework/AnalysisDataModel.h>
Expand Down
6 changes: 3 additions & 3 deletions DPG/Tasks/TPC/tpcTreeCreatorLight.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
#ifndef DPG_TASKS_TPC_TPCTREECREATORLIGHT_H_
#define DPG_TASKS_TPC_TPCTREECREATORLIGHT_H_

#include "Framework/AnalysisTask.h"
#include "Framework/AnalysisDataModel.h"
#include "Common/Core/trackUtilities.h"
#include "Common/DataModel/PIDResponse.h"

#include "Framework/AnalysisDataModel.h"
#include "Framework/AnalysisTask.h"

enum ParticleSpecies {
kPionTrack = BIT(0),
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/DataModel/FemtoDerived.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
#include "PWGHF/DataModel/CandidateSelectionTables.h"

#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/PIDResponseTOF.h"
#include "Common/DataModel/PIDResponseTPC.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/ASoA.h"
Expand Down
1 change: 0 additions & 1 deletion PWGCF/DataModel/SPTableZDC.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#define PWGCF_DATAMODEL_SPTABLEZDC_H_

#include "Common/Core/RecoDecay.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/AnalysisDataModel.h"
Expand Down
12 changes: 6 additions & 6 deletions PWGCF/Femto3D/Core/femto3dPairTask.h
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@
// #include "Framework/ASoA.h"
// #include "Framework/DataTypes.h"
// #include "Framework/AnalysisDataModel.h"
// #include "Common/DataModel/PIDResponse.h"
// #include "Framework/Logger.h"
// #include "Common/DataModel/Multiplicity.h"

#include <vector>
#include <memory>
#include "CommonConstants/MathConstants.h"
#include "CommonConstants/PhysicsConstants.h"

#include "TDatabasePDG.h"
#include "TLorentzVector.h"
#include "TVector3.h"
#include "TDatabasePDG.h"

#include "CommonConstants/PhysicsConstants.h"
#include "CommonConstants/MathConstants.h"
#include <memory>
#include <vector>

double particle_mass(const int PDGcode)
{
Expand Down
4 changes: 3 additions & 1 deletion PWGCF/Femto3D/DataModel/PIDutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
#ifndef PWGCF_FEMTO3D_DATAMODEL_PIDUTILS_H_
#define PWGCF_FEMTO3D_DATAMODEL_PIDUTILS_H_

#include "Common/DataModel/PIDResponseTOF.h"
#include "Common/DataModel/PIDResponseTPC.h"

#include <type_traits>
#include <utility>
#include <vector>
#include "Common/DataModel/PIDResponse.h"

namespace o2::aod::singletrackselector
{
Expand Down
13 changes: 7 additions & 6 deletions PWGCF/Femto3D/DataModel/singletrackselector.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@
#define PWGCF_FEMTO3D_DATAMODEL_SINGLETRACKSELECTOR_H_

// #include <experimental/type_traits>
#include <utility>
#include <vector>
#include "PWGCF/Femto3D/DataModel/PIDutils.h"

#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/PIDResponseITS.h"

#include "Framework/ASoA.h"
#include "Framework/AnalysisDataModel.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/PIDResponseITS.h"
#include "Framework/Logger.h"
#include "Common/DataModel/Multiplicity.h"
#include "PWGCF/Femto3D/DataModel/PIDutils.h"

#include <utility>
#include <vector>

namespace o2::aod
{
Expand Down
1 change: 0 additions & 1 deletion PWGCF/FemtoDream/Core/femtoDreamTrackSelection.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

#include "Common/Core/TrackSelection.h"
#include "Common/Core/TrackSelectionDefaults.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/PIDResponseITS.h"
#include "Common/DataModel/TrackSelectionTables.h"

Expand Down
2 changes: 2 additions & 0 deletions PWGCF/FemtoUniverse/Core/FemtoUniverseTrackSelection.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

#include "Common/Core/TrackSelection.h"
#include "Common/Core/TrackSelectionDefaults.h"
#include "Common/DataModel/PIDResponseTOF.h"
#include "Common/DataModel/PIDResponseTPC.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/HistogramRegistry.h"
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FemtoUniverse/DataModel/FemtoDerived.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
#define PWGCF_FEMTOUNIVERSE_DATAMODEL_FEMTODERIVED_H_

#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/PIDResponseTOF.h"
#include "Common/DataModel/PIDResponseTPC.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/ASoA.h"
Expand Down
12 changes: 8 additions & 4 deletions PWGCF/FemtoWorld/Core/FemtoWorldTrackSelection.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@
#ifndef FEMTOWORLDTRACKSELECTION_H_
#define FEMTOWORLDTRACKSELECTION_H_

#include "PWGCF/FemtoWorld/Core/FemtoWorldObjectSelection.h"
#include "PWGCF/FemtoWorld/DataModel/FemtoWorldDerived.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Common/Core/TrackSelection.h"
#include "Common/Core/TrackSelectionDefaults.h"
#include "PWGCF/FemtoWorld/Core/FemtoWorldObjectSelection.h"
#include "Common/DataModel/PIDResponseTOF.h"
#include "Common/DataModel/PIDResponseTPC.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "ReconstructionDataFormats/PID.h"
#include "Framework/HistogramRegistry.h"
#include "ReconstructionDataFormats/PID.h"

#include <cmath>
#include <iostream>

Expand Down Expand Up @@ -278,7 +282,7 @@ class FemtoWorldTrackSelection : public FemtoWorldObjectSelection<float, femtoWo
"Maximal DCA_z (cm)",
"Minimal DCA (cm)",
"Maximal PID (nSigma)"}; ///< Helper information for the different selections
}; // namespace femtoWorld
}; // namespace femtoWorld

template <o2::aod::femtoworldparticle::ParticleType part, o2::aod::femtoworldparticle::TrackType tracktype, typename cutContainerType>
void FemtoWorldTrackSelection::init(HistogramRegistry* registry)
Expand Down
17 changes: 10 additions & 7 deletions PWGCF/FemtoWorld/DataModel/FemtoWorldDerived.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@
#ifndef PWGCF_FEMTOWORLD_DATAMODEL_FEMTOWORLDDERIVED_H_
#define PWGCF_FEMTOWORLD_DATAMODEL_FEMTOWORLDDERIVED_H_

#include <cmath>
#include "Framework/ASoA.h"
#include "MathUtils/Utils.h"
#include "Framework/DataTypes.h"
#include "Common/DataModel/Centrality.h"
#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/PIDResponseTOF.h"
#include "Common/DataModel/PIDResponseTPC.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/ASoA.h"
#include "Framework/AnalysisDataModel.h"
#include "Framework/DataTypes.h"
#include "Framework/Expressions.h"
#include "Common/DataModel/TrackSelectionTables.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/Centrality.h"
#include "MathUtils/Utils.h"

#include <cmath>

namespace o2::aod
{
Expand Down
1 change: 0 additions & 1 deletion PWGDQ/DataModel/ReducedInfoTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "Common/DataModel/Centrality.h"
#include "Common/DataModel/EventSelection.h"
#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/Qvectors.h"

#include "Framework/ASoA.h"
Expand Down
6 changes: 3 additions & 3 deletions PWGLF/DataModel/EPCalibrationTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
#ifndef PWGLF_DATAMODEL_EPCALIBRATIONTABLES_H_
#define PWGLF_DATAMODEL_EPCALIBRATIONTABLES_H_

#include <cmath>

#include "Common/DataModel/PIDResponse.h"
#include "Common/Core/RecoDecay.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/AnalysisDataModel.h"

#include <cmath>

namespace o2::aod
{
namespace epcalibrationtable
Expand Down
6 changes: 3 additions & 3 deletions PWGLF/DataModel/FilterF1ProtonTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
#ifndef PWGLF_DATAMODEL_FILTERF1PROTONTABLES_H_
#define PWGLF_DATAMODEL_FILTERF1PROTONTABLES_H_

#include <cmath>

#include "Common/DataModel/PIDResponse.h"
#include "Common/Core/RecoDecay.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/AnalysisDataModel.h"

#include <cmath>

namespace o2::aod
{
namespace filtering
Expand Down
1 change: 0 additions & 1 deletion PWGLF/DataModel/LFCKSSpinalignmentTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "Common/Core/RecoDecay.h"
#include "Common/DataModel/Centrality.h"
#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/ASoA.h"
Expand Down
6 changes: 3 additions & 3 deletions PWGLF/DataModel/LFF1Tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
#ifndef PWGLF_DATAMODEL_LFF1TABLES_H_
#define PWGLF_DATAMODEL_LFF1TABLES_H_

#include <cmath>

#include "Common/DataModel/PIDResponse.h"
#include "Common/Core/RecoDecay.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/AnalysisDataModel.h"

#include <cmath>

namespace o2::aod
{
/// F1 Collisions
Expand Down
7 changes: 1 addition & 6 deletions PWGLF/DataModel/LFParticleIdentification.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@
#ifndef PWGLF_DATAMODEL_LFPARTICLEIDENTIFICATION_H_
#define PWGLF_DATAMODEL_LFPARTICLEIDENTIFICATION_H_

// O2 includes
#include "Framework/ASoA.h"
#include "Framework/AnalysisDataModel.h"
#include "Common/DataModel/PIDResponse.h"
#include "ReconstructionDataFormats/PID.h"
#include "Framework/Logger.h"
#include "Common/DataModel/PIDResponseTPC.h"

namespace o2::aod
{
Expand Down
Loading
Loading