11#include <calibration/CalibrationAlgorithm.h>
72 std::tuple<TH2F, TH2F, TH2F>
DstarMassFit(std::shared_ptr<TTree> preselTree);
88 for (
int iBin = 2; iBin <=
m_numPBins; iBin++) {
90 pbins[iBin] = 0.025 + 0.025 * iBin;
92 pbins[iBin] = pbins[19] + 0.05 * (iBin - 19);
94 pbins[iBin] = pbins[59] + 0.3 * (iBin - 59);
97 std::vector<double> pbinsvec(pbins, pbins +
sizeof pbins);
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.