1717// / \author Valerio DI BELLA <valerio.di.bella@cern.ch>, IPHC Strasbourg
1818// / Based on the code of Alexandre Bigot <alexandre.bigot@cern.ch>, IPHC Strasbourg
1919
20-
2120#include " PWGHF/Core/DecayChannels.h"
22-
2321#include " PWGHF/HFC/DataModel/ReducedDMesonPairsTables.h"
2422
25-
2623#include " Framework/runDataProcessing.h"
2724
2825using namespace o2 ;
@@ -42,11 +39,9 @@ struct HfTaskCorrelationDplusDplusReduced {
4239 HistogramConfigSpec hTH1NMcGen{HistType::kTH1F , {{7 , -0.5 , 6.5 }}};
4340 HistogramRegistry registry{
4441 " registry" ,
45- {
46- {" hNCand" , " Number of D candidates per event;N" , hTH1NCand},
47- {" hNMcRec" , " Number of reconstructed Mc D mesons per event;N" , hTH1NMcRec},
48- {" hNMcGen" , " Number of generated Mc D mesons per event;N" , hTH1NMcGen}}
49- };
42+ {{" hNCand" , " Number of D candidates per event;N" , hTH1NCand},
43+ {" hNMcRec" , " Number of reconstructed Mc D mesons per event;N" , hTH1NMcRec},
44+ {" hNMcGen" , " Number of generated Mc D mesons per event;N" , hTH1NMcGen}}};
5045 void init (InitContext const &)
5146 {
5247 registry.add (" hMassDplus" , " D+ candidates;inv. mass (#pi#pi K) (GeV/#it{c}^{2}))" , {HistType::kTH1F , {{120 , 1.5848 , 2.1848 }}});
@@ -71,7 +66,7 @@ struct HfTaskCorrelationDplusDplusReduced {
7166 PROCESS_SWITCH (HfTaskCorrelationDplusDplusReduced, processLocalData, " Process local data" , true );
7267
7368 void processLocalDataMcRec (o2::aod::HfCandDpFullEvs::iterator const & localCollision,
74- SelectedCandidates const & localCandidates)
69+ SelectedCandidates const & localCandidates)
7570 {
7671 registry.fill (HIST (" hNMcRec" ), localCandidates.size ());
7772
@@ -84,19 +79,18 @@ struct HfTaskCorrelationDplusDplusReduced {
8479 }
8580 PROCESS_SWITCH (HfTaskCorrelationDplusDplusReduced, processLocalDataMcRec, " Process local MC data" , false );
8681
87-
8882 void processLocalDataMcGen (o2::aod::HfCandDpMcEvs::iterator const & localMcCollision,
89- SelectedMcParticles const & localMcParticles)
83+ SelectedMcParticles const & localMcParticles)
9084 {
9185 registry.fill (HIST (" hNMcGen" ), localMcParticles.size ());
9286
9387 for (const auto & part1 : localMcParticles) {
9488 for (auto part2 = part1 + 1 ; part2 != localMcParticles.end (); ++part2) {
95- registry.fill (HIST (" hDltPhiMcGen" ), part2.phi ()- part1.phi ());
89+ registry.fill (HIST (" hDltPhiMcGen" ), part2.phi () - part1.phi ());
9690 }
9791 }
9892 }
99- PROCESS_SWITCH (HfTaskCorrelationDplusDplusReduced, processLocalDataMcGen, " Process local MC data at the gen level" , false );
93+ PROCESS_SWITCH (HfTaskCorrelationDplusDplusReduced, processLocalDataMcGen, " Process local MC data at the gen level" , false );
10094};
10195
10296WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
0 commit comments