TIMBER  beta
Tree Interface for Making Binned Events with RDataFrame
DeepAK8_helper.h
1 #ifndef _TIMBER_DEEPAK8_HELPER
2 #define _TIMBER_DEEPAK8_HELPER
3 #include <vector>
4 #include <map>
5 #include <string>
6 #include <fstream>
7 #include <iostream>
8 #include <cstdlib>
9 #include <sstream>
10 
15  private:
16  std::string entry_to_find;
17  std::vector<std::vector<float> > _values;
18  std::string _p = std::string(std::getenv("TIMBERPATH"))+"TIMBER/data/OfficialSFs/DeepAK8V2_Top_W_SFs.csv";
19 
20  public:
29  DeepAK8_helper(std::string particle, int year, std::string workingpoint, bool massDecorr);
30  ~DeepAK8_helper(){};
38  std::vector<float> eval(float pt);
39 };
40 #endif
DeepAK8_helper(std::string particle, int year, std::string workingpoint, bool massDecorr)
Construct a new DeepAK8_helper object.
Definition: DeepAK8_helper.cc:3
C++ class to access scale factors associated with DeepAK8 tagging.
Definition: DeepAK8_helper.h:14
std::vector< float > eval(float pt)
Lookup the scale factor and variations based on the AK8 jet momentum. Returned values are absolute {n...
Definition: DeepAK8_helper.cc:43