@@ -102,12 +102,12 @@ struct propagatorQa {
102102 ccdb->setFatalWhenNull (false );
103103
104104 // output objects
105- const AxisSpec axisX{( int ) NbinsX, 0 .0f , +250 .0f , " X value" };
106- const AxisSpec axisDCAxy{( int ) NbinsDCA, -windowDCA, windowDCA, " DCA_{xy} (cm)" };
107- const AxisSpec axisPt{( int ) NbinsPt, 0 .0f , 10 .0f , " #it{p}_{T} (GeV/#it{c})" };
108- const AxisSpec axisPtCoarse{( int ) NbinsPtCoarse, 0 .0f , 10 .0f , " #it{p}_{T} (GeV/#it{c})" };
109- const AxisSpec axisTanLambda{( int ) NbinsTanLambda, -TanLambdaLimit, +TanLambdaLimit, " tan(#lambda)" };
110- const AxisSpec axisDeltaPt{( int ) NbinsDeltaPt, -DeltaPtLimit, +DeltaPtLimit, " #it{p}_{T} (GeV/#it{c})" };
105+ const AxisSpec axisX{NbinsX, 0 .0f , +250 .0f , " X value" };
106+ const AxisSpec axisDCAxy{NbinsDCA, -windowDCA, windowDCA, " DCA_{xy} (cm)" };
107+ const AxisSpec axisPt{NbinsPt, 0 .0f , 10 .0f , " #it{p}_{T} (GeV/#it{c})" };
108+ const AxisSpec axisPtCoarse{NbinsPtCoarse, 0 .0f , 10 .0f , " #it{p}_{T} (GeV/#it{c})" };
109+ const AxisSpec axisTanLambda{NbinsTanLambda, -TanLambdaLimit, +TanLambdaLimit, " tan(#lambda)" };
110+ const AxisSpec axisDeltaPt{NbinsDeltaPt, -DeltaPtLimit, +DeltaPtLimit, " #it{p}_{T} (GeV/#it{c})" };
111111
112112 // All tracks
113113 histos.add (" hTrackX" , " hTrackX" , kTH1F , {axisX});
@@ -147,8 +147,8 @@ struct propagatorQa {
147147 histos.add (" hdcaXYusedInSVertexer" , " hdcaXYusedInSVertexer" , kTH1F , {axisDCAxy});
148148 histos.add (" hUpdateRadiiusedInSVertexer" , " hUpdateRadiiusedInSVertexer" , kTH1F , {axisX});
149149 // bit packed ITS cluster map
150- const AxisSpec axisITSCluMap{( int ) 128 , -0 .5f , +127 .5f , " Packed ITS map" };
151- const AxisSpec axisRadius{( int ) dQANBinsRadius, 0 .0f , +50 .0f , " Radius (cm)" };
150+ const AxisSpec axisITSCluMap{128 , -0 .5f , +127 .5f , " Packed ITS map" };
151+ const AxisSpec axisRadius{dQANBinsRadius, 0 .0f , +50 .0f , " Radius (cm)" };
152152
153153 // Histogram to bookkeep cluster maps
154154 histos.add (" h2dITSCluMap" , " h2dITSCluMap" , kTH3D , {axisITSCluMap, axisRadius, axisPtCoarse});
@@ -275,7 +275,7 @@ struct propagatorQa {
275275 // ITS cluster map
276276 float lMCCreation = TMath::Sqrt (mctrack.vx () * mctrack.vx () + mctrack.vy () * mctrack.vy ());
277277
278- histos.fill (HIST (" h2dITSCluMap" ), ( float ) track.itsClusterMap (), lMCCreation, track.pt ());
278+ histos.fill (HIST (" h2dITSCluMap" ), static_cast < float >( track.itsClusterMap () ), lMCCreation, track.pt ());
279279
280280 if (lIsPrimary) {
281281 histos.fill (HIST (" hPrimaryDeltaTanLambdaVsPt" ), track.tgl (), track.tgl () - lTrackParametrization.getTgl ());
@@ -293,7 +293,7 @@ struct propagatorQa {
293293 histos.fill (HIST (" hPrimaryDeltaDCAs" ), lCircleDCA - lDCA);
294294 histos.fill (HIST (" hPrimaryDeltaDCAsVsPt" ), track.pt (), lCircleDCA - lDCA);
295295 histos.fill (HIST (" hPrimaryRecalculatedDeltaDCAsVsPt" ), track.pt (), lRecalculatedDCA - lDCA);
296- histos.fill (HIST (" h2dITSCluMapPrimaries" ), ( float ) track.itsClusterMap (), lMCCreation, track.pt ());
296+ histos.fill (HIST (" h2dITSCluMapPrimaries" ), static_cast < float >( track.itsClusterMap () ), lMCCreation, track.pt ());
297297 }
298298 // determine if track was used in svertexer
299299 bool usedInSVertexer = false ;
@@ -390,7 +390,7 @@ struct propagatorQa {
390390 // ITS cluster map
391391 float lMCCreation = 0.1 ; // dummy value, we don't know
392392
393- histos.fill (HIST (" h2dITSCluMap" ), ( float ) track.itsClusterMap (), lMCCreation, track.pt ());
393+ histos.fill (HIST (" h2dITSCluMap" ), static_cast < float >( track.itsClusterMap () ), lMCCreation, track.pt ());
394394
395395 // A hack: use DCA as equiv to primary
396396 if (TMath::Abs (lDCA) < 0.05 ) { // 500 microns
@@ -408,7 +408,7 @@ struct propagatorQa {
408408 histos.fill (HIST (" hPrimaryDeltaDCAs" ), lCircleDCA - lDCA);
409409 histos.fill (HIST (" hPrimaryDeltaDCAsVsPt" ), track.pt (), lCircleDCA - lDCA);
410410 histos.fill (HIST (" hPrimaryRecalculatedDeltaDCAsVsPt" ), track.pt (), lRecalculatedDCA - lDCA);
411- histos.fill (HIST (" h2dITSCluMapPrimaries" ), ( float ) track.itsClusterMap (), lMCCreation, track.pt ());
411+ histos.fill (HIST (" h2dITSCluMapPrimaries" ), static_cast < float >( track.itsClusterMap () ), lMCCreation, track.pt ());
412412 }
413413
414414 // determine if track was used in svertexer
0 commit comments