|
15 | 15 | /// \author Abhi Modak (abhi.modak@cern.ch) |
16 | 16 | /// \since September 15, 2023 |
17 | 17 |
|
18 | | -#include <cmath> |
19 | | -#include <cstdlib> |
20 | | -#include <TPDGCode.h> |
21 | | -#include <vector> |
22 | | - |
| 18 | +#include "PWGLF/DataModel/LFStrangenessTables.h" |
| 19 | +#include "PWGMM/Mult/DataModel/Index.h" |
23 | 20 | #include "PWGMM/Mult/DataModel/bestCollisionTable.h" |
24 | | -#include "CCDB/BasicCCDBManager.h" |
25 | | -#include "Common/Core/trackUtilities.h" |
| 21 | + |
26 | 22 | #include "Common/CCDB/EventSelectionParams.h" |
27 | 23 | #include "Common/Core/TrackSelection.h" |
| 24 | +#include "Common/Core/trackUtilities.h" |
28 | 25 | #include "Common/DataModel/Centrality.h" |
29 | | -#include "Common/DataModel/Multiplicity.h" |
30 | 26 | #include "Common/DataModel/EventSelection.h" |
| 27 | +#include "Common/DataModel/Multiplicity.h" |
| 28 | +#include "Common/DataModel/PIDResponse.h" |
31 | 29 | #include "Common/DataModel/TrackSelectionTables.h" |
| 30 | + |
| 31 | +#include "CCDB/BasicCCDBManager.h" |
32 | 32 | #include "CommonConstants/MathConstants.h" |
33 | 33 | #include "Framework/ASoAHelpers.h" |
34 | 34 | #include "Framework/AnalysisDataModel.h" |
|
38 | 38 | #include "Framework/runDataProcessing.h" |
39 | 39 | #include "ReconstructionDataFormats/GlobalTrackID.h" |
40 | 40 | #include "ReconstructionDataFormats/Track.h" |
41 | | -#include "PWGMM/Mult/DataModel/Index.h" |
42 | | -#include "Common/DataModel/PIDResponse.h" |
43 | | -#include "PWGLF/DataModel/LFStrangenessTables.h" |
| 41 | + |
| 42 | +#include <TPDGCode.h> |
| 43 | + |
| 44 | +#include <cmath> |
| 45 | +#include <cstdlib> |
| 46 | +#include <vector> |
44 | 47 |
|
45 | 48 | using namespace o2; |
46 | 49 | using namespace o2::framework; |
47 | 50 | using namespace o2::framework::expressions; |
48 | 51 | using namespace o2::aod::track; |
49 | 52 | using namespace o2::aod::evsel; |
50 | 53 |
|
51 | | -using CollisionDataTable = soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Cs, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentNGlobals, aod::CentMFTs>; |
| 54 | +using CollisionDataTable = soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Cs, aod::CentFV0As, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentNGlobals, aod::CentMFTs>; |
52 | 55 | using ColDataTablepp = soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Ms>; |
53 | 56 | using TrackDataTable = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::TrackSelection>; |
54 | 57 | using FilTrackDataTable = soa::Filtered<TrackDataTable>; |
55 | 58 | using CollisionMCTrueTable = aod::McCollisions; |
56 | 59 | using TrackMCTrueTable = aod::McParticles; |
57 | | -using CollisionMCRecTable = soa::SmallGroups<soa::Join<aod::McCollisionLabels, aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Cs, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentNGlobals, aod::CentMFTs>>; |
| 60 | +using CollisionMCRecTable = soa::SmallGroups<soa::Join<aod::McCollisionLabels, aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Cs, aod::CentFV0As, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentNGlobals, aod::CentMFTs>>; |
58 | 61 | using ColMCRecTablepp = soa::SmallGroups<soa::Join<aod::McCollisionLabels, aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Ms>>; |
59 | 62 | using TrackMCRecTable = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::McTrackLabels, aod::TrackSelection>; |
60 | 63 | using FilTrackMCRecTable = soa::Filtered<TrackMCRecTable>; |
@@ -160,6 +163,7 @@ struct HeavyionMultiplicity { |
160 | 163 | Configurable<bool> isApplyNoHighMultCollInPrevRof{"isApplyNoHighMultCollInPrevRof", false, "Enable NoHighMultCollInPrevRof cut"}; |
161 | 164 | Configurable<bool> isApplyFT0CbasedOccupancy{"isApplyFT0CbasedOccupancy", false, "Enable FT0CbasedOccupancy cut"}; |
162 | 165 | Configurable<bool> isApplyCentFT0C{"isApplyCentFT0C", true, "Centrality based on FT0C"}; |
| 166 | + Configurable<bool> isApplyCentFV0A{"isApplyCentFV0A", false, "Centrality based on FV0A"}; |
163 | 167 | Configurable<bool> isApplyCentFT0CVariant1{"isApplyCentFT0CVariant1", false, "Centrality based on FT0C variant1"}; |
164 | 168 | Configurable<bool> isApplyCentFT0M{"isApplyCentFT0M", false, "Centrality based on FT0A + FT0C"}; |
165 | 169 | Configurable<bool> isApplyCentNGlobal{"isApplyCentNGlobal", false, "Centrality based on global tracks"}; |
@@ -318,6 +322,9 @@ struct HeavyionMultiplicity { |
318 | 322 | if (isApplyCentFT0C) { |
319 | 323 | cent = col.centFT0C(); |
320 | 324 | } |
| 325 | + if (isApplyCentFV0A) { |
| 326 | + cent = col.centFV0A(); |
| 327 | + } |
321 | 328 | if (isApplyCentFT0CVariant1) { |
322 | 329 | cent = col.centFT0CVariant1(); |
323 | 330 | } |
|
0 commit comments