File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
PWGEM/PhotonMeson/TableProducer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -247,15 +247,15 @@ struct bcWiseClusterSkimmer {
247247 bool hasFoundFT0 = bc.has_foundFT0 ();
248248 int foundFT0ID = hasFoundFT0 ? bc.foundFT0 ().bcId () : -1 ;
249249 int FT0ID = hasFT0 ? bc.ft0 ().bcId () : -1 ;
250- mHistManager .fill (HIST (" BCHasFT0FoundFT0" ), ( float ) FT0ID, ( float ) foundFT0ID);
251- mHistManager .fill (HIST (" BCFoundFT0Diff" ), ( float ) foundFT0ID - ( float ) FT0ID);
250+ mHistManager .fill (HIST (" BCHasFT0FoundFT0" ), static_cast < float > FT0ID, static_cast < float > foundFT0ID);
251+ mHistManager .fill (HIST (" BCFoundFT0Diff" ), static_cast < float > foundFT0ID - static_cast < float > FT0ID);
252252
253253 auto bcIDInOrbit = bc.globalBC () % 3564 ;
254254
255255 if (hasMCCollision) {
256- mHistManager .fill (HIST (" BCIDOfMCColl" ), ( float ) bcIDInOrbit);
256+ mHistManager .fill (HIST (" BCIDOfMCColl" ), static_cast < float > bcIDInOrbit);
257257 if (!hasFoundFT0) {
258- mHistManager .fill (HIST (" BCIDOfMCCollButNoFT0" ), ( float ) bcIDInOrbit);
258+ mHistManager .fill (HIST (" BCIDOfMCCollButNoFT0" ), static_cast < float > bcIDInOrbit);
259259 }
260260 }
261261
You can’t perform that action at this time.
0 commit comments