ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/interface/CutsAndHistos.h
(Generate patch)

Comparing UserCode/VHbb/interface/CutsAndHistos.h (file contents):
Revision 1.2 by bortigno, Wed May 2 19:20:07 2012 UTC vs.
Revision 1.3 by bortigno, Tue Jun 5 09:10:01 2012 UTC

# Line 172 | Line 172 | public:
172    {
173      if(cutS->pass(event,s))
174        for(size_t i=0; i< histos.size(); i++)
175 <        histos.at(i)->fill(event,w);
175 >        histos.at(i)->fill(event, (w * cutS->weight(event,s)) );
176    }
177  
178    Cut * cut;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines