@@ -177,7 +177,7 @@ class TrackPropagationModule
177177 // / to understand whether the TrackTuner::getDcaGraphs function can be called here (input path from string/configurables)
178178 // / or inside the process function, to "auto-detect" the input file based on the run number
179179 const auto & workflows = initContext.services ().template get <o2::framework::RunningWorkflowInfo const >();
180- for (const o2::framework::DeviceSpec& device : workflows.devices ) { // / loop over devices
180+ for (o2::framework::DeviceSpec const & device : workflows.devices ) { // / loop over devices
181181 if (device.name == " propagation-service" ) {
182182 // loop over the options
183183 // to find the value of TrackTuner::autoDetectDcaCalib
@@ -208,6 +208,11 @@ class TrackPropagationModule
208208 registry.template add <TH2 >(" hDCAxyVsPtMC" , " hDCAxyVsPtMC" , o2::framework::HistType::kTH2F , {axisBinsDCA, cGroup.axisPtQA });
209209 registry.template add <TH2 >(" hDCAzVsPtRec" , " hDCAzVsPtRec" , o2::framework::HistType::kTH2F , {axisBinsDCA, cGroup.axisPtQA });
210210 registry.template add <TH2 >(" hDCAzVsPtMC" , " hDCAzVsPtMC" , o2::framework::HistType::kTH2F , {axisBinsDCA, cGroup.axisPtQA });
211+
212+ registry.template add <TH1 >(" hPropagation" , " hPropagation" , o2::framework::HistType::kTH1D , {{3 , 0 .f , 3 .f }});
213+ registry.template get <TH1 >(HIST (" hPropagation" ))->GetXaxis ()->SetBinLabel (1 , " All" );
214+ registry.template get <TH1 >(HIST (" hPropagation" ))->GetXaxis ()->SetBinLabel (2 , Form (" TracksIU, x < %g cm" , cGroup.minPropagationRadius .value ));
215+ registry.template get <TH1 >(HIST (" hPropagation" ))->GetXaxis ()->SetBinLabel (3 , " Propagation OK" );
211216 }
212217
213218 template <bool isMc, typename TConfigurableGroup, typename TCCDBLoader, typename TCollisions, typename TTracks, typename TOutputGroup, typename THistoRegistry>
@@ -279,6 +284,7 @@ class TrackPropagationModule
279284 // std::array<float, 3> trackPxPyPzTuned = {0.0, 0.0, 0.0};
280285 double q2OverPtNew = -9999 .;
281286 // Only propagate tracks which have passed the innermost wall of the TPC (e.g. skipping loopers etc). Others fill unpropagated.
287+ registry.fill (HIST (" hPropagation" ), 0.5 );
282288 if (track.trackType () == o2::aod::track::TrackIU && track.x () < cGroup.minPropagationRadius .value ) {
283289 if (fillTracksCov) {
284290 if constexpr (isMc) { // checking MC and fillCovMat block begins
@@ -295,6 +301,7 @@ class TrackPropagationModule
295301 } // MC and fillCovMat block ends
296302 }
297303 bool isPropagationOK = true ;
304+ registry.fill (HIST (" hPropagation" ), 1.5 );
298305
299306 if (track.has_collision ()) {
300307 auto const & collision = collisions.rawIteratorAt (track.collisionId ());
@@ -316,6 +323,7 @@ class TrackPropagationModule
316323 }
317324 if (isPropagationOK) {
318325 trackType = o2::aod::track::Track;
326+ registry.fill (HIST (" hPropagation" ), 2.5 );
319327 }
320328 // filling some QA histograms for track tuner test purpose
321329 if (fillTracksCov) {
0 commit comments