You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGMM/UE/Tasks/uecharged.cxx
+42-24Lines changed: 42 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,15 @@
13
13
/// \file uecharged.cxx
14
14
/// \brief Underlying event analysis task
15
15
/// \since November 2021
16
-
/// \last update: April 2026
16
+
/// \last update: June 2026
17
17
18
18
#include"PWGLF/Utils/inelGt.h"
19
19
20
20
#include"Common/CCDB/EventSelectionParams.h"
21
21
#include"Common/Core/TrackSelection.h"
22
22
#include"Common/Core/TrackSelectionDefaults.h"
23
23
#include"Common/DataModel/EventSelection.h"
24
+
#include"Common/DataModel/McCollisionExtra.h"
24
25
#include"Common/DataModel/Multiplicity.h"
25
26
#include"Common/DataModel/TrackSelectionTables.h"
26
27
@@ -62,6 +63,7 @@ struct ueCharged {
62
63
Configurable<bool> removeITSROFBorder{"event_removeITSROFBorder", false, "Remove ITS Read-Out Frame border and only apply kIsTriggerTVX & kNoTimeFrameBorder (recommended for MC)"};
Configurable<float> CollPosZ{"event_CollPosZ", 10.f, "Cut on the z component of the vertex position"};
66
+
Configurable<bool> GoodITS{"event_GoodITS", true, "Numbers of inactive chips on all ITS layers are below maximum allowed values"};
65
67
Configurable<bool> analyzeEvandTracksel{"analyzeEvandTracksel", true, "Analyze the event and track selection"};
66
68
67
69
// Track selection configurables
@@ -72,16 +74,16 @@ struct ueCharged {
72
74
Configurable<float> minPt{"trkcfg_minPt", 0.1f, "Set minimum pT of tracks"};
73
75
Configurable<float> maxPt{"trkcfg_maxPt", 1e10f, "Set maximum pT of tracks"};
74
76
Configurable<float> requireEta{"trkcfg_requireEta", 0.8f, "Set eta range of tracks"};
75
-
Configurable<bool> requireITSRefit{"trkcfg_requireITSRefit", true, "Additional cut on the ITS requirement"};
76
-
Configurable<bool> requireTPCRefit{"trkcfg_requireTPCRefit", true, "Additional cut on the TPC requirement"};
77
77
Configurable<bool> requireGoldenChi2{"trkcfg_requireGoldenChi2", true, "Additional cut on the GoldenChi2"};
78
78
Configurable<float> maxChi2PerClusterTPC{"trkcfg_maxChi2PerClusterTPC", 4.f, "Additional cut on the maximum value of the chi2 per cluster in the TPC"};
79
79
Configurable<float> maxChi2PerClusterITS{"trkcfg_maxChi2PerClusterITS", 36.f, "Additional cut on the maximum value of the chi2 per cluster in the ITS"};
80
-
// Configurable<int> minITSnClusters{"trkcfg_minITSnClusters", 5, "minimum number of found ITS clusters"};
81
80
Configurable<float> minNCrossedRowsTPC{"trkcfg_minNCrossedRowsTPC", 70.f, "Additional cut on the minimum number of crossed rows in the TPC"};
82
-
Configurable<float> minNCrossedRowsOverFindableClustersTPC{"trkcfg_minNCrossedRowsOverFindableClustersTPC", 0.8f, "Additional cut on the minimum value of the ratio between crossed rows and findable clusters in the TPC"};
83
81
Configurable<float> maxDcaXYFactor{"trkcfg_maxDcaXYFactor", 1.f, "Multiplicative factor on the maximum value of the DCA xy"};
84
82
Configurable<float> maxDcaZ{"trkcfg_maxDcaZ", 0.1f, "Additional cut on the maximum value of the DCA z"};
83
+
// Configurable<bool> requireITSRefit{"trkcfg_requireITSRefit", true, "Additional cut on the ITS requirement"};
84
+
// Configurable<bool> requireTPCRefit{"trkcfg_requireTPCRefit", true, "Additional cut on the TPC requirement"};
85
+
// Configurable<float> minNCrossedRowsOverFindableClustersTPC{"trkcfg_minNCrossedRowsOverFindableClustersTPC", 0.8f, "Additional cut on the minimum value of the ratio between crossed rows and findable clusters in the TPC"};
86
+
// Configurable<int> minITSnClusters{"trkcfg_minITSnClusters", 5, "minimum number of found ITS clusters"};
85
87
86
88
Service<o2::framework::O2DatabasePDG> pdg;
87
89
@@ -94,6 +96,7 @@ struct ueCharged {
94
96
using TrackMCTrueTable = aod::McParticles;
95
97
96
98
// reconstructed collisions associated to MC collisions (small groups keyed by mcCollisionId)
99
+
using ColMCTrueTableWithExtra = soa::Join<aod::McCollisions, aod::McCollsExtra>;
97
100
using ColMCRecTable = soa::SmallGroups<soa::Join<aod::McCollisionLabels, aod::Collisions, aod::EvSels, aod::Mults, aod::PVMults>>;
98
101
using TrackMCRecTable = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::TrackSelection, aod::McTrackLabels>;
99
102
using FilTrackMCRecTable = soa::Filtered<TrackMCRecTable>;
0 commit comments