tauRecTools: remove member variables in TauPi0ScoreCalculator
To calculate the BDT score, we need to provide a list of input variables. Previously, the input variables are declared as memeber variables, which make the class stateful. These member variables are now replaced with local variables. Add a new class, i.e. BDTHelper, to help calculate the BDT score. This class is similar with TRTBDT in HelperFunction. In the future, we will remove TRTBDT.
Showing
- Reconstruction/tauRecTools/Root/BDTHelper.cxx 109 additions, 0 deletionsReconstruction/tauRecTools/Root/BDTHelper.cxx
- Reconstruction/tauRecTools/Root/TauPi0ScoreCalculator.cxx 90 additions, 80 deletionsReconstruction/tauRecTools/Root/TauPi0ScoreCalculator.cxx
- Reconstruction/tauRecTools/tauRecTools/BDTHelper.h 37 additions, 0 deletionsReconstruction/tauRecTools/tauRecTools/BDTHelper.h
- Reconstruction/tauRecTools/tauRecTools/TauPi0ScoreCalculator.h 4 additions, 22 deletions...struction/tauRecTools/tauRecTools/TauPi0ScoreCalculator.h
Loading
Please register or sign in to comment