|
15 | 15 | /// \author Alberto Caliva (alberto.caliva@cern.ch), Francesca Ercolessi (francesca.ercolessi@cern.ch), Nicolò Jacazio (nicolo.jacazio@cern.ch), Sara Pucillo (sara.pucillo@cern.ch) |
16 | 16 | /// \since May 22, 2024 |
17 | 17 |
|
18 | | -#include <TMath.h> |
19 | | -#include <TObjArray.h> |
20 | | -#include <TPDGCode.h> |
21 | | -#include <TVector2.h> |
22 | | -#include <TVector3.h> |
23 | | -#include <cmath> |
24 | | -#include <vector> |
25 | | -#include <string> |
26 | | -#include "CCDB/BasicCCDBManager.h" |
27 | | -#include "CCDB/CcdbApi.h" |
| 18 | +#include "PWGJE/Core/JetBkgSubUtils.h" |
| 19 | +#include "PWGJE/Core/JetDerivedDataUtilities.h" |
| 20 | +#include "PWGJE/DataModel/Jet.h" |
| 21 | +#include "PWGJE/DataModel/JetReducedData.h" |
| 22 | +#include "PWGLF/DataModel/LFStrangenessTables.h" |
| 23 | + |
28 | 24 | #include "Common/Core/RecoDecay.h" |
29 | 25 | #include "Common/Core/trackUtilities.h" |
30 | 26 | #include "Common/DataModel/EventSelection.h" |
31 | 27 | #include "Common/DataModel/Multiplicity.h" |
32 | 28 | #include "Common/DataModel/PIDResponse.h" |
33 | 29 | #include "Common/DataModel/TrackSelectionTables.h" |
| 30 | +#include "EventFiltering/Zorro.h" |
| 31 | +#include "EventFiltering/ZorroSummary.h" |
| 32 | + |
| 33 | +#include "CCDB/BasicCCDBManager.h" |
| 34 | +#include "CCDB/CcdbApi.h" |
34 | 35 | #include "Framework/ASoAHelpers.h" |
35 | 36 | #include "Framework/AnalysisDataModel.h" |
36 | 37 | #include "Framework/AnalysisTask.h" |
37 | 38 | #include "Framework/runDataProcessing.h" |
38 | | -#include "PWGLF/DataModel/LFStrangenessTables.h" |
39 | 39 | #include "ReconstructionDataFormats/Track.h" |
40 | 40 |
|
| 41 | +#include <TMath.h> |
| 42 | +#include <TObjArray.h> |
| 43 | +#include <TPDGCode.h> |
| 44 | +#include <TVector2.h> |
| 45 | +#include <TVector3.h> |
| 46 | + |
| 47 | +#include <fastjet/AreaDefinition.hh> |
41 | 48 | #include <fastjet/ClusterSequence.hh> |
42 | 49 | #include <fastjet/ClusterSequenceArea.hh> |
| 50 | +#include <fastjet/GhostedAreaSpec.hh> |
| 51 | +#include <fastjet/PseudoJet.hh> |
| 52 | +#include <fastjet/Selector.hh> |
43 | 53 | #include <fastjet/tools/JetMedianBackgroundEstimator.hh> |
44 | 54 | #include <fastjet/tools/Subtractor.hh> |
45 | | -#include <fastjet/Selector.hh> |
46 | | -#include <fastjet/PseudoJet.hh> |
47 | | -#include <fastjet/AreaDefinition.hh> |
48 | | -#include <fastjet/GhostedAreaSpec.hh> |
49 | | -#include "PWGJE/Core/JetBkgSubUtils.h" |
50 | | -#include "PWGJE/Core/JetDerivedDataUtilities.h" |
51 | | -#include "PWGJE/DataModel/JetReducedData.h" |
52 | | -#include "PWGJE/DataModel/Jet.h" |
53 | 55 |
|
54 | | -#include "EventFiltering/Zorro.h" |
55 | | -#include "EventFiltering/ZorroSummary.h" |
| 56 | +#include <cmath> |
| 57 | +#include <string> |
| 58 | +#include <vector> |
56 | 59 |
|
57 | 60 | using namespace std; |
58 | 61 | using namespace o2; |
@@ -198,6 +201,7 @@ struct StrangenessInJets { |
198 | 201 | { |
199 | 202 | if (cfgSkimmedProcessing) { |
200 | 203 | zorro.initCCDB(ccdb.service, bc.runNumber(), bc.timestamp(), "fOmega"); |
| 204 | + zorro.populateHistRegistry(registryData, bc.runNumber()); |
201 | 205 | } |
202 | 206 | } |
203 | 207 |
|
@@ -1058,7 +1062,8 @@ struct StrangenessInJets { |
1058 | 1062 | void processData(SelCollisions::iterator const& collision, |
1059 | 1063 | aod::V0Datas const& fullV0s, |
1060 | 1064 | aod::CascDataExt const& Cascades, |
1061 | | - StrHadronDaughterTracks const& tracks) |
| 1065 | + StrHadronDaughterTracks const& tracks, |
| 1066 | + aod::BCsWithTimestamps const&) |
1062 | 1067 | { |
1063 | 1068 | // event counter: before event selection |
1064 | 1069 | registryData.fill(HIST("number_of_events_data"), 0.5); |
@@ -1107,7 +1112,7 @@ struct StrangenessInJets { |
1107 | 1112 | std::vector<TVector3> ue1; |
1108 | 1113 | std::vector<TVector3> ue2; |
1109 | 1114 |
|
1110 | | - for (auto& jet : jets) { // o2-linter: disable=const-ref-in-for-loop (required by backgroundSub) |
| 1115 | + for (const auto& jet : jets) { // o2-linter: disable=const-ref-in-for-loop (required by backgroundSub) |
1111 | 1116 |
|
1112 | 1117 | // jet must be fully contained in the acceptance |
1113 | 1118 | if ((std::fabs(jet.eta()) + rJet) > (etaMax - deltaEtaEdge)) |
@@ -2095,7 +2100,7 @@ struct StrangenessInJets { |
2095 | 2100 | std::vector<TVector3> ue1; |
2096 | 2101 | std::vector<TVector3> ue2; |
2097 | 2102 |
|
2098 | | - for (auto& jet : jets) { // o2-linter: disable=const-ref-in-for-loop (required by backgroundSub) |
| 2103 | + for (const auto& jet : jets) { // o2-linter: disable=const-ref-in-for-loop (required by backgroundSub) |
2099 | 2104 |
|
2100 | 2105 | // jet must be fully contained in the acceptance |
2101 | 2106 | if ((std::fabs(jet.eta()) + rJet) > (etaMax - deltaEtaEdge)) |
|
0 commit comments