52 |
|
// Selection Histograms |
53 |
|
//************************************************************************************************* |
54 |
|
AddTH1(fWBFSelection,"fWBFSelection", ";Cut Number;Number of Events", 7, -1.5, 5.5); |
55 |
+ |
AddTH1(fWBFDeltaPhi, "fWBFDeltaPhi", ";Delta Phi;Number of Events", 90,0.,180 ); |
56 |
|
|
57 |
|
//*********************************************************************************************** |
58 |
|
// N-1 Histograms |
134 |
|
} |
135 |
|
if(zVarMin < 1) passCut[5] = false; |
136 |
|
} |
137 |
+ |
|
138 |
|
//********************************************************************************************* |
139 |
|
//Make Selection Histograms. Number of events passing each level of cut |
140 |
|
//********************************************************************************************* |
141 |
|
bool passAllCuts = true; |
142 |
|
for(int c=0; c<nCuts; c++) passAllCuts = passAllCuts & passCut[c]; |
143 |
< |
|
143 |
> |
|
144 |
> |
if(passAllCuts){ |
145 |
> |
double deltaPhiJJ = MathUtils::DeltaPhi(CleanJets->At(0)->Phi(), |
146 |
> |
CleanJets->At(1)->Phi())* 180.0 / TMath::Pi(); |
147 |
> |
fWBFDeltaPhi->Fill(deltaPhiJJ,NNLOWeight->GetVal()); |
148 |
> |
} |
149 |
> |
|
150 |
|
//Cut Selection Histograms |
151 |
|
fWBFSelection->Fill(-1,NNLOWeight->GetVal()); |
152 |
|
for (int k=0;k<nCuts;k++) { |