@@ -121,9 +121,9 @@ struct EventSelectionQaTask {
121121 strLPMProductionTag = metadataInfo.get (" LPMProductionTag" ); // to extract info from ccdb by the tag
122122 strPassName = metadataInfo.get (isMC ? " AnchorPassName" : " RecoPassName" );
123123
124- const AxisSpec axisMultV0M{1000 , 0 ., isLowFlux ? 40000 . : 40000 ., " V0M multiplicity" };
124+ const AxisSpec axisMultV0M{1000 , 0 ., 40000 ., " V0M multiplicity" };
125125 const AxisSpec axisMultV0A{1000 , 0 ., isLowFlux ? 40000 . : 200000 ., " V0A multiplicity" };
126- const AxisSpec axisMultV0C{1000 , 0 ., isLowFlux ? 30000 . : 30000 ., " V0C multiplicity" };
126+ const AxisSpec axisMultV0C{1000 , 0 ., 30000 ., " V0C multiplicity" };
127127 const AxisSpec axisMultT0A{1000 , 0 ., isLowFlux ? 10000 . : 200000 ., " T0A multiplicity" };
128128 const AxisSpec axisMultT0C{1000 , 0 ., isLowFlux ? 2000 . : 70000 ., " T0C multiplicity" };
129129 const AxisSpec axisMultT0M{1000 , 0 ., isLowFlux ? 12000 . : 270000 ., " T0M multiplicity" };
@@ -578,9 +578,7 @@ struct EventSelectionQaTask {
578578 histos.fill (HIST (" hV0C012vsTklCol" ), nTracklets, multRingV0C012);
579579
580580 // filling plots for accepted events
581- bool accepted = 0 ;
582- accepted |= !isINT1period & col.sel7 ();
583- accepted |= isINT1period & sel1;
581+ bool accepted = (!isINT1period && col.sel7 ()) || (isINT1period && sel1);
584582 if (!accepted) {
585583 continue ;
586584 }
@@ -801,13 +799,13 @@ struct EventSelectionQaTask {
801799 const auto & bcPast = bcs.iteratorAt (bc.globalIndex () - deltaIndex);
802800 deltaBC = globalBC - bcPast.globalBC ();
803801 if (deltaBC < maxDeltaBC) {
804- pastActivityFT0 |= bcPast.has_ft0 ();
805- pastActivityFV0 |= bcPast.has_fv0a ();
806- pastActivityFDD |= bcPast.has_fdd ();
802+ pastActivityFT0 = pastActivityFT0 || bcPast.has_ft0 ();
803+ pastActivityFV0 = pastActivityFV0 || bcPast.has_fv0a ();
804+ pastActivityFDD = pastActivityFDD || bcPast.has_fdd ();
807805 }
808806 }
809807
810- bool pastActivity = pastActivityFT0 | pastActivityFV0 | pastActivityFDD;
808+ bool pastActivity = pastActivityFT0 || pastActivityFV0 | | pastActivityFDD;
811809
812810 int localBC = bc.globalBC () % nBCsPerOrbit;
813811 float timeV0A = bc.has_fv0a () ? bc.fv0a ().time () : -999 .f ;
0 commit comments