@@ -30,7 +30,7 @@ using namespace o2;
3030using namespace o2 ::framework;
3131using namespace o2 ::framework::expressions;
3232
33- template <typename BaseJetCollection, typename TagJetCollection,
33+ template <typename BaseJetCollection, typename TagJetCollection,
3434 typename BaseToTagMatchingTable, typename TagToBaseMatchingTable, typename HfCandidates>
3535struct JetMatchingHF {
3636 Configurable<float > maxMatchingDistance{" maxMatchingDistance" , 0 .4f , " Max matching distance" };
@@ -88,8 +88,8 @@ struct JetMatchingHF {
8888 const auto mother0Id = daughter0.template mcParticle_as <McParticles>().template mothers_as <McParticles>().front ().globalIndex ();
8989 const auto mother1Id = daughter1.template mcParticle_as <McParticles>().template mothers_as <McParticles>().front ().globalIndex ();
9090 LOGF (debug, " MC candidate %d with prongs: %d (MC %d), %d (MC %d)" , cand.globalIndex (),
91- daughter0.globalIndex (), daughter0.template mcParticle_as <McParticles>().globalIndex (),
92- daughter1.globalIndex (), daughter1.template mcParticle_as <McParticles>().globalIndex ());
91+ daughter0.globalIndex (), daughter0.template mcParticle_as <McParticles>().globalIndex (),
92+ daughter1.globalIndex (), daughter1.template mcParticle_as <McParticles>().globalIndex ());
9393 LOGF (info, " MC ids of mothers: %d - %d" , mother0Id, mother1Id);
9494 if ((mother0Id == mother1Id) &&
9595 std::abs (daughter0.template mcParticle_as <McParticles>().template mothers_as <McParticles>().front ().flagMcMatchGen ()) & (1 << aod::hf_cand_2prong::DecayType::D0ToPiK)) {
@@ -99,7 +99,7 @@ struct JetMatchingHF {
9999 if (mother0Id == cand.globalIndex ()) {
100100 matchedIdx = pjet.globalIndex ();
101101 LOGF (info, " Found match det to part: %d (pt %g) -> %d (pt %g)" ,
102- jet.globalIndex (), jet.pt (), matchedIdx, pjet.pt ());
102+ jet.globalIndex (), jet.pt (), matchedIdx, pjet.pt ());
103103 }
104104 }
105105 }
@@ -160,8 +160,8 @@ struct JetMatchingHF {
160160WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
161161{
162162 return WorkflowSpec{
163- adaptAnalysisTask<JetMatchingHF<soa::Join<aod::D0MCDJets, aod::D0MCDJetConstituents>,
164- soa::Join<aod::D0MCPJets, aod::D0MCPJetConstituents>,
165- aod::NewMatchedD0MCDJets, aod::NewMatchedD0MCPJets,
166- soa::Join<aod::HfCand2Prong, aod::HfSelD0, aod::HfCand2ProngMcRec> > >(cfgc, TaskName{" jet-matching-hf" })};
163+ adaptAnalysisTask<JetMatchingHF<soa::Join<aod::D0MCDJets, aod::D0MCDJetConstituents>,
164+ soa::Join<aod::D0MCPJets, aod::D0MCPJetConstituents>,
165+ aod::NewMatchedD0MCDJets, aod::NewMatchedD0MCPJets,
166+ soa::Join<aod::HfCand2Prong, aod::HfSelD0, aod::HfCand2ProngMcRec>> >(cfgc, TaskName{" jet-matching-hf" })};
167167}
0 commit comments