11#include <calibration/CalibrationAlgorithm.h>
72 std::tuple<TH2F, TH2F, TH2F>
DstarMassFit(std::shared_ptr<TTree> preselTree);
84 std::vector<double> pbins;
87 pbins.push_back(0.05);
89 for (
int iBin = 2; iBin <=
m_numPBins; iBin++) {
91 pbins.push_back(0.025 + 0.025 * iBin);
93 pbins.push_back(pbins.at(19) + 0.05 * (iBin - 19));
95 pbins.push_back(pbins.at(59) + 0.3 * (iBin - 59));
Base class for calibration algorithms.
EResult
The result of calibration.
Class implementing the SVD dEdx calibration algorithm.
std::tuple< TH2F, TH2F, TH2F > DstarMassFit(std::shared_ptr< TTree > preselTree)
produce histograms for K/pi(/mu)
void setMinEvtsPerTree(const double &value)
set the upper edge of the dEdx binning for the payloads
int m_numPBins
the number of momentum bins for the payloads
void setNumDEdxBins(const int &value)
set the number of dEdx bins for the payloads
virtual ~SVDdEdxCalibrationAlgorithm()
Destructor.
std::vector< double > CreatePBinningScheme()
build the binning scheme
SVDdEdxCalibrationAlgorithm()
Constructor.
void setDEdxCutoff(const double &value)
set the upper edge of the dEdx binning for the payloads
bool m_isMakePlots
produce plots for monitoring
int m_MinEvtsPerTree
number of events in TTree below which we don't try to fit
int m_numDEdxBins
the number of dEdx bins for the payloads
void setNumPBins(const int &value)
set the number of momentum bins for the payloads
TH2F GammaHistogram(std::shared_ptr< TTree > preselTree)
produce histograms for e
virtual EResult calibrate() override
run algorithm on data
TH2F LambdaMassFit(std::shared_ptr< TTree > preselTree)
produce histograms for protons
double m_dedxCutoff
the upper edge of the dEdx binning for the payloads
void setMonitoringPlots(bool value=false)
function to enable plotting
Abstract base class for different kinds of events.