- // Try to match the “npNLO” hardest jets created post-shower with any of the jets pre-shower. Two jets are matched if the distance between them is smaller than 1.5*DeltaR.
- // If not all the npNLO hardest shower jets are matched the event has to be rejected.
- // Note that if the current event does not belong to the maximum multiplicity sample, this means that all the shower jets need to be matched, because the requirement above already rejects
- // events that do not have npNLO shower jets.
- // For those events, at the level of the matrix elements there can either be npNLO or npNLO+1 matrix-element jets, depending on S- or H-events and the kinematics of those partons.
- // Still only the shower jets need to be matched, so an event should not be rejected if a matrix-element jet cannot be matched.
- // For each parton, starting with the hardest one ...
- for(unsigned int ixx=0; ixx<npNLO_; ixx++) {
- // ... loop over all jets not already matched.
- double DRmin(777e100);
- int jetIndexForDRmin(-999);
- for(unsigned int jxx=0; jxx<pjetME_.size(); jxx++) {
+ // Try to match the “npNLO” hardest jets created post-shower with any of the jets pre-shower. Two jets are matched if the distance between them is smaller than 1.5*DeltaR.
+ // If not all the npNLO hardest shower jets are matched the event has to be rejected.
+ // Note that if the current event does not belong to the maximum multiplicity sample, this means that all the shower jets need to be matched, because the requirement above already rejects
+ // events that do not have npNLO shower jets.
+ // For those events, at the level of the matrix elements there can either be npNLO or npNLO+1 matrix-element jets, depending on S- or H-events and the kinematics of those partons.
+ // Still only the shower jets need to be matched, so an event should not be rejected if a matrix-element jet cannot be matched.
+ // For each parton, starting with the hardest one ...
+ for(unsigned int ixx=0; ixx<npNLO_; ixx++) {
+ // ... loop over all jets not already matched.
+ double DRmin(777e100);
+ int jetIndexForDRmin(-999);
+ for(unsigned int jxx=0; jxx<pjetME_.size(); jxx++) {