@@ -151,6 +151,8 @@ struct HfCandidateCreatorXicToXiPiPi {
151151 HistogramRegistry registry{" registry" };
152152 OutputObj<ZorroSummary> zorroSummary{" zorroSummary" };
153153
154+ static constexpr float cmToMicrometer{10000 .};
155+
154156 void init (InitContext const &)
155157 {
156158 if ((doprocessNoCentXicplusWithDcaFitter + doprocessCentFT0CXicplusWithDcaFitter + doprocessCentFT0MXicplusWithDcaFitter + doprocessNoCentXicplusWithKFParticle + doprocessCentFT0CXicplusWithKFParticle + doprocessCentFT0MXicplusWithKFParticle) != 1 ) {
@@ -541,12 +543,12 @@ struct HfCandidateCreatorXicToXiPiPi {
541543 registry.fill (HIST (" hCovSVXZ" ), covMatrixSV[3 ]);
542544 registry.fill (HIST (" hCovSVZZ" ), covMatrixSV[5 ]);
543545 // DCAs of prongs
544- registry.fill (HIST (" hDcaXYProngs" ), trackCasc.getPt (), impactParameterCasc.getY () * 10000 . f );
545- registry.fill (HIST (" hDcaXYProngs" ), trackCharmBachelor0.pt (), impactParameter0.getY () * 10000 . f );
546- registry.fill (HIST (" hDcaXYProngs" ), trackCharmBachelor1.pt (), impactParameter1.getY () * 10000 . f );
547- registry.fill (HIST (" hDcaZProngs" ), trackCasc.getPt (), impactParameterCasc.getZ () * 10000 . f );
548- registry.fill (HIST (" hDcaZProngs" ), trackCharmBachelor0.pt (), impactParameter0.getZ () * 10000 . f );
549- registry.fill (HIST (" hDcaZProngs" ), trackCharmBachelor1.pt (), impactParameter1.getZ () * 10000 . f );
546+ registry.fill (HIST (" hDcaXYProngs" ), trackCasc.getPt (), impactParameterCasc.getY () * cmToMicrometer );
547+ registry.fill (HIST (" hDcaXYProngs" ), trackCharmBachelor0.pt (), impactParameter0.getY () * cmToMicrometer );
548+ registry.fill (HIST (" hDcaXYProngs" ), trackCharmBachelor1.pt (), impactParameter1.getY () * cmToMicrometer );
549+ registry.fill (HIST (" hDcaZProngs" ), trackCasc.getPt (), impactParameterCasc.getZ () * cmToMicrometer );
550+ registry.fill (HIST (" hDcaZProngs" ), trackCharmBachelor0.pt (), impactParameter0.getZ () * cmToMicrometer );
551+ registry.fill (HIST (" hDcaZProngs" ), trackCharmBachelor1.pt (), impactParameter1.getZ () * cmToMicrometer );
550552 }
551553
552554 // ---------------------------------fill candidate table rows-------------------------------------------------------------------------------------------
@@ -873,9 +875,9 @@ struct HfCandidateCreatorXicToXiPiPi {
873875 registry.fill (HIST (" hCovSVXZ" ), covMatrixXicPlus[3 ]);
874876 registry.fill (HIST (" hCovSVZZ" ), covMatrixXicPlus[5 ]);
875877 // DCAs of prongs
876- registry.fill (HIST (" hDcaXYProngs" ), kfXi.GetPt (), impactParameterXiXY * 10000 . f );
877- registry.fill (HIST (" hDcaXYProngs" ), kfCharmBachelor0.GetPt (), impactParameterPi0XY * 10000 . f );
878- registry.fill (HIST (" hDcaXYProngs" ), kfCharmBachelor1.GetPt (), impactParameterPi1XY * 10000 . f );
878+ registry.fill (HIST (" hDcaXYProngs" ), kfXi.GetPt (), impactParameterXiXY * cmToMicrometer );
879+ registry.fill (HIST (" hDcaXYProngs" ), kfCharmBachelor0.GetPt (), impactParameterPi0XY * cmToMicrometer );
880+ registry.fill (HIST (" hDcaXYProngs" ), kfCharmBachelor1.GetPt (), impactParameterPi1XY * cmToMicrometer );
879881 }
880882
881883 // ------------------------------fill candidate table rows--------------------------------------
0 commit comments