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.1 by bortigno, Fri Apr 27 14:24:41 2012 UTC vs.
Revision 1.3 by bortigno, Tue Jun 5 09:10:01 2012 UTC

# Line 5 | Line 5
5   #include <vector>
6   #include <TROOT.h>
7   #include <TFile.h>
8 < #include "ntupleReader.h"
9 < #include "samples.h"
8 > #include "ntupleReader.hpp"
9 > #include "samples.hpp"
10  
11   enum  VType{ Zmm, Zee, Wmn, Wen, Znn } iType;
12  
# 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