Centralize Truth Classification
First step towards centralizing truth classification for WDTruthLoop and WQCDCharmLoop in TruthInfo. In this MR, WDTruthLoop becomes a derived class from TruthInfo. The next step is to move all relevant functions from WDTruthLoop and WQCD in TruthInfo:
WDTruthLoop.cxx:
-->TruthInfo
bool WDTruthLoop::check_mode(int index)
float WDTruthLoop::diphoton_resonance_mass(std::vector<float> &diphoton_mass, float target)
std::vector<float> WDTruthLoop::get_diphoton_masses(int index)
float WDTruthLoop::truth_daughter_mass(int index)
bool WDTruthLoop::get_truth_wjets()
void WDTruthLoop::reweight_production_fractions()
void WDTruthLoop::reweight_wjets()
WQCD:
-->TruthInfo
void reweight_production_fractions();
void reweight_wjets();
void get_truth_wjets();
bool lep_pass_truth_fiducial();