125 |
|
for(int i=0; i<muonArr->GetEntries(); i++) { |
126 |
|
const mithep::Muon *const_mu = (mithep::Muon*)((*muonArr)[i]); |
127 |
|
mithep::Muon *mu = const_cast<mithep::Muon*>(const_mu); |
128 |
< |
correct_muon_momentum(mu,info->RunNum()); |
128 |
> |
correct_muon_momentum(ctrl, mu,info->RunNum()); |
129 |
> |
|
130 |
|
} |
131 |
|
} |
132 |
|
|
597 |
|
<< "\tnewpt: " << lepvec_j[j].vec.Pt() |
598 |
|
<< "\tindex: " << j |
599 |
|
<< endl; |
600 |
< |
cout << "FSR TYPEI :: oldpt: " << old_pt_j |
600 |
< |
<< "\tnewpt: " << lepvec_j[j].vec.Pt() |
601 |
< |
<< "\tindex: " << j |
602 |
< |
<< endl; |
600 |
> |
|
601 |
|
//lepvec[j].fsrRecoveryAttempted=true; |
602 |
|
} |
603 |
|
if( recover_typeII_Photon( ctrl, newmu, j, lepvec_j, pfCandidates ) ) { |
605 |
|
<< "\tnewpt: " << lepvec_j[j].vec.Pt() |
606 |
|
<< "\tindex: " << j |
607 |
|
<< endl; |
610 |
– |
cout << "FSR TYPEII :: oldpt: " << old_pt_j |
611 |
– |
<< "\tnewpt: " << lepvec_j[j].vec.Pt() |
612 |
– |
<< "\tindex: " << j |
613 |
– |
<< endl; |
608 |
|
//lepvec[j].fsrRecoveryAttempted=true; |
609 |
|
} |
610 |
|
} else { |
902 |
|
return ret; |
903 |
|
} |
904 |
|
|
905 |
< |
if( zzvec.M() > 100. && (ret.Z2leptons[0].vec+ret.Z2leptons[1].vec).M() > 12) { |
906 |
< |
if(ctrl.debug) cout << "passes mzz > 100, mzz: " << zzvec.M() << "\t mZ2 > 12" << endl; |
905 |
> |
if( zzvec.M() > 70. && (ret.Z2leptons[0].vec+ret.Z2leptons[1].vec).M() > 12) { |
906 |
> |
if(ctrl.debug) cout << "passes mzz > 70, mzz: " << zzvec.M() << "\t mZ2 > 12" << endl; |
907 |
|
ret.status.selectionBits.flip(PASS_m4l_GT_100); |
908 |
< |
cutvec[PASS_m4l_GT_100] +=1; |
915 |
< |
zzcutvec[ZZtype][PASS_m4l_GT_100] += 1; |
916 |
< |
increment("m4l>100,mZ2>12",theZ1type,theZ2type); |
908 |
> |
increment("m4l>70,mZ2>12",theZ1type,theZ2type); |
909 |
|
} else { |
910 |
|
ret.status.setStatus(SelectionStatus::FAIL); |
911 |
|
return ret; |
912 |
|
} |
913 |
|
|
914 |
+ |
if( zzvec.M() > 100. && (ret.Z2leptons[0].vec+ret.Z2leptons[1].vec).M() > 12) { |
915 |
+ |
if(ctrl.debug) cout << "passes mzz > 100, mzz: " << zzvec.M() << "\t mZ2 > 12" << endl; |
916 |
+ |
cutvec[PASS_m4l_GT_100] +=1; |
917 |
+ |
zzcutvec[ZZtype][PASS_m4l_GT_100] += 1; |
918 |
+ |
increment("m4l>100,mZ2>12",theZ1type,theZ2type); |
919 |
+ |
} |
920 |
+ |
|
921 |
|
//*************************************************************** |
922 |
|
// finish |
923 |
|
//*************************************************************** |