ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
Variables
anonymous_namespace{plot_mj_reweight.cxx} Namespace Reference

Variables

NamedFunc isr_weight ("isr_weight", [](const Baby &b) -> NamedFunc::ScalarType{if(b.ntrupv()< 0) return b.weight();return b.SampleType()==20?Functions::njets_weights_ttisr.GetScalar(b):b.weight()/(b.eff_trig()*b.w_toppt());})
 
NamedFunc full_weight ("full_weight", [](const Baby &b) -> NamedFunc::ScalarType{if(b.ntrupv()< 0) return b.weight();double orig=isr_weight.GetScalar(b);double mj=b.mj14();if(mj<=300.) return orig *(1.3-0.4 *mj/300.);else return orig *0.9;})
 

Variable Documentation

NamedFunc anonymous_namespace{plot_mj_reweight.cxx}::full_weight("full_weight",[](const Baby &b) -> NamedFunc::ScalarType{if(b.ntrupv()< 0) return b.weight();double orig=isr_weight.GetScalar(b);double mj=b.mj14();if(mj<=300.) return orig *(1.3-0.4 *mj/300.);else return orig *0.9;})

Referenced by main().

NamedFunc anonymous_namespace{plot_mj_reweight.cxx}::isr_weight("isr_weight",[](const Baby &b) -> NamedFunc::ScalarType{if(b.ntrupv()< 0) return b.weight();return b.SampleType()==20?Functions::njets_weights_ttisr.GetScalar(b):b.weight()/(b.eff_trig()*b.w_toppt());})

Referenced by main().