1515// /
1616// / \author Alessandro De Falco <alessandro.de.falco@ca.infn.it>, Cagliari University
1717
18- #include < utility>
19- #include < vector>
18+ #include " PWGHF/Core/HfHelper.h"
19+ #include " PWGHF/DataModel/CandidateReconstructionTables.h"
20+ #include " PWGHF/DataModel/CandidateSelectionTables.h"
21+
22+ #include " ALICE3/DataModel/ECAL.h"
23+ #include " Common/Core/trackUtilities.h"
2024
2125#include " CommonConstants/PhysicsConstants.h"
2226#include " DCAFitter/DCAFitterN.h"
2327#include " Framework/AnalysisTask.h"
2428#include " ReconstructionDataFormats/DCA.h"
2529#include " ReconstructionDataFormats/V0.h"
2630
27- #include " ALICE3/DataModel/ECAL.h"
28- #include " Common/Core/trackUtilities.h"
29-
30- #include " PWGHF/Core/HfHelper.h"
31- #include " PWGHF/DataModel/CandidateReconstructionTables.h"
32- #include " PWGHF/DataModel/CandidateSelectionTables.h"
31+ #include < utility>
32+ #include < vector>
3333
3434using namespace o2 ;
3535using namespace o2 ::analysis;
@@ -109,14 +109,14 @@ struct HfCandidateCreatorChic {
109109 if (!(jpsiCand.hfflag () & 1 << hf_cand_2prong::DecayType::JpsiToEE) && !(jpsiCand.hfflag () & 1 << hf_cand_2prong::DecayType::JpsiToMuMu)) {
110110 continue ;
111111 }
112- if (yCandMax >= 0 . && std::abs (hfHelper. yJpsi (jpsiCand)) > yCandMax) {
112+ if (yCandMax >= 0 . && std::abs (HfHelper:: yJpsi (jpsiCand)) > yCandMax) {
113113 continue ;
114114 }
115115 if (jpsiCand.isSelJpsiToEE () > 0 ) {
116- hMassJpsiToEE->Fill (hfHelper. invMassJpsiToEE (jpsiCand));
116+ hMassJpsiToEE->Fill (HfHelper:: invMassJpsiToEE (jpsiCand));
117117 }
118118 if (jpsiCand.isSelJpsiToMuMu () > 0 ) {
119- hMassJpsiToMuMu->Fill (hfHelper. invMassJpsiToMuMu (jpsiCand));
119+ hMassJpsiToMuMu->Fill (HfHelper:: invMassJpsiToMuMu (jpsiCand));
120120 }
121121 hPtJpsi->Fill (jpsiCand.pt ());
122122 hCPAJpsi->Fill (jpsiCand.cpa ());
@@ -189,7 +189,7 @@ struct HfCandidateCreatorChic {
189189 impactParameter0.getY (), 0 .f , // impactParameter1.getY(),
190190 std::sqrt (impactParameter0.getSigmaY2 ()), 0 .f , // std::sqrt(impactParameter1.getSigmaY2()),
191191 jpsiCand.globalIndex (), ecal.globalIndex (),
192- hfFlag, hfHelper. invMassJpsiToMuMu (jpsiCand));
192+ hfFlag, HfHelper:: invMassJpsiToMuMu (jpsiCand));
193193
194194 // calculate invariant mass
195195 auto arrayMomenta = std::array{pvecJpsi, pvecGamma};
@@ -201,9 +201,9 @@ struct HfCandidateCreatorChic {
201201 hMassChicToJpsiToMuMuGamma->Fill (massJpsiGamma);
202202 }
203203 } // ecal loop
204- } // Jpsi loop
205- } // process
206- }; // struct
204+ } // Jpsi loop
205+ } // process
206+ }; // struct
207207
208208// / Extends the base table with expression columns.
209209struct HfCandidateCreatorChicExpressions {
@@ -249,7 +249,7 @@ struct HfCandidateCreatorChicMc {
249249 // chi_c → J/ψ gamma
250250 indexRec = RecoDecay::getMatchedMCRec (mcParticles, arrayJpsiDaughters, Pdg::kJPsi , std::array{+kMuonPlus , -kMuonPlus }, true );
251251 if (indexRec > -1 ) {
252- hMassJpsiToMuMuMatched->Fill (hfHelper. invMassJpsiToMuMu (candidate.prong0 ()));
252+ hMassJpsiToMuMuMatched->Fill (HfHelper:: invMassJpsiToMuMu (candidate.prong0 ()));
253253
254254 int indexMother = RecoDecay::getMother (mcParticles, mcParticles.rawIteratorAt (indexRec), Pdg::kChiC1 );
255255 int indexMotherGamma = RecoDecay::getMother (mcParticles, mcParticles.rawIteratorAt (candidate.prong1 ().mcparticleId ()), Pdg::kChiC1 );
@@ -262,7 +262,7 @@ struct HfCandidateCreatorChicMc {
262262 RecoDecay::getDaughters (particleMother, &arrAllDaughtersIndex, std::array{static_cast <int >(kGamma ), static_cast <int >(Pdg::kJPsi )}, 1 );
263263 if (arrAllDaughtersIndex.size () == 2 ) {
264264 flag = 1 << hf_cand_chic::DecayType::ChicToJpsiToMuMuGamma;
265- hMassChicToJpsiToMuMuGammaMatched->Fill (hfHelper. invMassChicToJpsiGamma (candidate));
265+ hMassChicToJpsiToMuMuGammaMatched->Fill (HfHelper:: invMassChicToJpsiGamma (candidate));
266266 }
267267 }
268268 }
@@ -299,8 +299,8 @@ struct HfCandidateCreatorChicMc {
299299
300300 rowMcMatchGen (flag, origin, channel);
301301 } // candidate loop
302- } // process
303- }; // struct
302+ } // process
303+ }; // struct
304304
305305WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
306306{
0 commit comments