TIMBER  beta
Tree Interface for Making Binned Events with RDataFrame
Public Member Functions | List of all members
Prefire_weight Class Reference

C++ class to handle the trigger prefire weighting. Based off of the equivalent NanoAOD-tools module. More...

Public Member Functions

ROOT::VecOps::RVec< float > eval (RVec< float > Jet_pt, RVec< float > Jet_eta, RVec< float > Photon_pt, RVec< float > Photon_eta, RVec< int > Photon_jetIdx, RVec< int > Photon_electronIdx, RVec< float > Electron_pt, RVec< float > Electron_eta, RVec< int > Electron_jetIdx, RVec< int > Electron_photonIdx)
 Calculate the value of the weight. More...
 
 Prefire_weight (int year, bool UseEMpt=false)
 Construct a new Prefire_weight object. More...
 

Detailed Description

C++ class to handle the trigger prefire weighting. Based off of the equivalent NanoAOD-tools module.

Constructor & Destructor Documentation

◆ Prefire_weight()

Prefire_weight ( int  year,
bool  UseEMpt = false 
)

Construct a new Prefire_weight object.

Parameters
year
UseEMpt

Member Function Documentation

◆ eval()

ROOT::VecOps::RVec< float > eval ( RVec< float >  Jet_pt,
RVec< float >  Jet_eta,
RVec< float >  Photon_pt,
RVec< float >  Photon_eta,
RVec< int >  Photon_jetIdx,
RVec< int >  Photon_electronIdx,
RVec< float >  Electron_pt,
RVec< float >  Electron_eta,
RVec< int >  Electron_jetIdx,
RVec< int >  Electron_photonIdx 
)

Calculate the value of the weight.

Parameters
Jet_pt
Jet_eta
Photon_pt
Photon_eta
Photon_jetIdx
Photon_electronIdx
Electron_pt
Electron_eta
Electron_jetIdx
Electron_photonIdx
Returns
ROOT::VecOps::RVec<float>

The documentation for this class was generated from the following files: