# | 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |