amarini / VPlusJets

VPlusJets CMSSW code
0 stars 1 forks source link

exception from DeltaR #2

Closed amarini closed 11 years ago

amarini commented 11 years ago

On line ~2116:

    float DR =0;
    try{
    DR= myLeptons[i_lep].p4.DeltaR(jetP4);
    }
    catch (...){};
amarini commented 11 years ago

Both have pt != 0, so probably it is some internal vector it uses. We can change the catch in order to match a std exception and printout an error on screen.

amarini commented 11 years ago

Implemented