File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,10 @@ struct BjetTaggingGnn {
383383 continue ;
384384 }
385385
386- float weight = useEventWeight ? analysisJet.eventWeight () : 1 .f ; if (weight != weightEvt) { registry.fill (HIST (" h_event_counter" ), 4.5 ); }
386+ float weight = useEventWeight ? analysisJet.eventWeight () : 1 .f ;
387+ if (weight != weightEvt) {
388+ registry.fill (HIST (" h_event_counter" ), 4.5 );
389+ }
387390 float pTHat = 10 . / (std::pow (analysisJet.eventWeight (), 1.0 / pTHatExponent));
388391 if (analysisJet.pt () > pTHatMaxMCD * pTHat) {
389392 continue ;
@@ -643,8 +646,7 @@ struct BjetTaggingGnn {
643646 if (jetderiveddatautilities::selectCollision (collisionspermccollision.begin (), eventSelectionBitsSel)) {
644647 registry.fill (HIST (" h_event_counter" ), 4.5 , weightEvt); // McColl(-> Coll+TVX+Sel8)
645648 }
646- if (jetderiveddatautilities::selectCollision (collisionspermccollision.begin (), eventSelectionBits)
647- && std::fabs (collisionspermccollision.begin ().posZ ()) < vertexZCut) {
649+ if (jetderiveddatautilities::selectCollision (collisionspermccollision.begin (), eventSelectionBits) && std::fabs (collisionspermccollision.begin ().posZ ()) < vertexZCut) {
648650 registry.fill (HIST (" h_event_counter" ), 5.5 , weightEvt); // McColl(-> Coll+TVX+Sel8+...)
649651 }
650652 }
You can’t perform that action at this time.
0 commit comments