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

C++ class to directly handle JMS weights in the case of tau21 jet substructure. The values used (nominal, up, down) are: More...

Public Member Functions

RVec< RVec< float > > eval (size_t nJets)
 Evaluation just returns the scale factors for the provided year. The number of jets must be provided so that a weight for each jet can be stored correctly. More...
 
 JMS_weight (int year)
 Construct a new JMS weight object. More...
 

Detailed Description

C++ class to directly handle JMS weights in the case of tau21 jet substructure. The values used (nominal, up, down) are:

Constructor & Destructor Documentation

◆ JMS_weight()

JMS_weight ( int  year)

Construct a new JMS weight object.

Parameters
yearOptions are 2016, 2017, or 2018.

Member Function Documentation

◆ eval()

RVec< RVec< float > > eval ( size_t  nJets)

Evaluation just returns the scale factors for the provided year. The number of jets must be provided so that a weight for each jet can be stored correctly.

Parameters
nJetsThe number of jets.
Returns
RVec< RVec<float>> Nested vector of floats where the outer vector is the jet index and the inner vector is the nominal (0), up (1), and down (2 variations for that jet.

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