TIMBER  beta
Tree Interface for Making Binned Events with RDataFrame
JMS_weight.h
1 #ifndef _TIMBER_JMS_WEIGHT
2 #define _TIMBER_JMS_WEIGHT
3 #include <string>
4 #include <cstdlib>
5 #include <map>
6 #include <vector>
7 #include <ROOT/RVec.hxx>
8 
9 using namespace ROOT::VecOps;
10 
18 class JMS_weight {
19  private:
20  std::map< int, std::vector<float> > _jmsTable {
21  {2016, {1.000, 1.0094, 0.9906} },
22  {2017, {0.982, 0.986 , 0.978 } },
23  {2018, {0.982, 0.986 , 0.978 } }
24  };
25  std::vector<float> _jmsVals;
26  public:
32  JMS_weight(int year);
33  ~JMS_weight(){};
44  RVec<RVec<float>> eval(size_t nJets);
45 };
46 #endif
C++ class to directly handle JMS weights in the case of tau21 jet substructure. The values used (nomi...
Definition: JMS_weight.h:18