11#include <calibration/CalibrationAlgorithm.h>
83 void PlotEfficiencyPlots(
const TString& PIDDetectorsName, TTree* SignalTree, TString SignalWeightName, TString SignalVarName,
84 TString SignalVarNameFull, TTree* FakeTree, TString FakeWeightName, TString FakeVarName, TString FakeVarNameFull,
85 TString PIDVarName, TString PIDCut,
unsigned int nbins,
double MomLow,
double MomHigh);
90 void PlotROCCurve(TTree* SignalTree, TString SignalWeightName, TString SignalVarName, TString SignalVarNameFull, TTree* FakeTree,
91 TString FakeWeightName, TString FakeVarName, TString FakeVarNameFull, TString PIDVarName);
Base class for calibration algorithms.
EResult
The result of calibration.
Class implementing the SVD dEdx calibration algorithm.
double m_MomLowROC
lower edge of the momentum interval considered for the ROC curve
void setNumROCpoints(const unsigned int &value)
set the number of points for ROC curve plotting
void setMinEvtsPerTree(const double &value)
set the upper edge of the dEdx binning for the payloads
void setMaxROCMomentum(const double &value)
set the lower edge of the momentum range for ROC curve plotting
void setNumEffBins(const unsigned int &value)
set the number of bins for the efficiency scan
void PlotROCCurve(TTree *SignalTree, TString SignalWeightName, TString SignalVarName, TString SignalVarNameFull, TTree *FakeTree, TString FakeWeightName, TString FakeVarName, TString FakeVarNameFull, TString PIDVarName)
a generic function to produce ROC curves
virtual ~SVDdEdxValidationAlgorithm()
Destructor.
unsigned int m_NumEffBins
number of bins for the efficiency/fake rate plot
bool m_isMakePlots
produce plots for monitoring of the fit quality
void setMinROCMomentum(const double &value)
set the lower edge of the momentum range for ROC curve plotting
int m_MinEvtsPerTree
number of events in TTree below which we don't try to fit
TTree * LambdaMassFit(std::shared_ptr< TTree > preselTree)
produce histograms for protons
double m_MomHighROC
upper edge of the momentum interval considered for the ROC curve
void setMaxEffMomentum(const double &value)
set the upper edge of the momentum range for the efficiency scan
SVDdEdxValidationAlgorithm()
Constructor.
double m_MomHighEff
upper edge of the momentum interval for the efficiency/fake rate plot
unsigned int m_NumROCpoints
number of points for the ROC curve plotting
TTree * DstarMassFit(std::shared_ptr< TTree > preselTree)
produce histograms for K/pi(/mu)
virtual EResult calibrate() override
run algorithm on data
void PlotEfficiencyPlots(const TString &PIDDetectorsName, TTree *SignalTree, TString SignalWeightName, TString SignalVarName, TString SignalVarNameFull, TTree *FakeTree, TString FakeWeightName, TString FakeVarName, TString FakeVarNameFull, TString PIDVarName, TString PIDCut, unsigned int nbins, double MomLow, double MomHigh)
a generic function to produce efficiency plots
void setMonitoringPlots(bool value=false)
function to enable plotting
Abstract base class for different kinds of events.