ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
Namespaces | Functions | Variables
plot_mj_lep_nolep.cxx File Reference
#include <cmath>
#include "TError.h"
#include "TVector2.h"
#include "core/plot_maker.hpp"
#include "core/plot_opt.hpp"
#include "core/palette.hpp"
#include "core/hist1d.hpp"
#include "core/event_scan.hpp"
#include "core/utilities.hpp"
#include "core/functions.hpp"

Go to the source code of this file.

Namespaces

 anonymous_namespace{plot_mj_lep_nolep.cxx}
 

Functions

int main ()
 

Variables

NamedFunc anonymous_namespace{plot_mj_lep_nolep.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());})
 
NamedFunc anonymous_namespace{plot_mj_lep_nolep.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 0.9 *orig;})
 

Function Documentation

int main ( )