#include <DTMeanTimerFitter.h>
Public Member Functions | |
DTMeanTimerFitter (TFile *file) | |
Constructor. More... | |
std::vector< float > | evaluateVDriftAndReso (const TString &N) |
Fit the TMax histos and evaluate VDrift and resolution. More... | |
TF1 * | fitTMax (TH1F *histo) |
Really do the fit. More... | |
void | setVerbosity (unsigned int lvl) |
Set the verbosity of the output: 0 = silent, 1 = info, 2 = debug. More... | |
virtual | ~DTMeanTimerFitter () |
Destructor. More... | |
Private Attributes | |
TFile * | hDebugFile |
TFile * | hInputFile |
unsigned int | theVerbosityLevel |
Fit the Tmax histograms with a gaussian returning the mean values and the sigmas.
Definition at line 17 of file DTMeanTimerFitter.h.
DTMeanTimerFitter::DTMeanTimerFitter | ( | TFile * | file | ) |
|
virtual |
vector< float > DTMeanTimerFitter::evaluateVDriftAndReso | ( | const TString & | N | ) |
Fit the TMax histos and evaluate VDrift and resolution.
Definition at line 28 of file DTMeanTimerFitter.cc.
References KineDebug3::count(), cppFunctionSkipper::exception, DeadROC_duringRun::f1, DQMScaleToClient_cfi::factor, fitTMax(), hDebugFile, hInputFile, combine::histos, mps_fire::i, SiStripPI::mean, N, mathSSE::sqrt(), and tools::TF1.
TF1 * DTMeanTimerFitter::fitTMax | ( | TH1F * | histo | ) |
Really do the fit.
Definition at line 186 of file DTMeanTimerFitter.cc.
References cppFunctionSkipper::exception, DeadROC_duringRun::f1, timingPdfMaker::histo, LogDebug, FastTimerService_cff::range, and tools::TF1.
Referenced by evaluateVDriftAndReso().
|
inline |
Set the verbosity of the output: 0 = silent, 1 = info, 2 = debug.
Definition at line 29 of file DTMeanTimerFitter.h.
References theVerbosityLevel.
|
private |
Definition at line 36 of file DTMeanTimerFitter.h.
Referenced by DTMeanTimerFitter(), evaluateVDriftAndReso(), and ~DTMeanTimerFitter().
|
private |
Definition at line 37 of file DTMeanTimerFitter.h.
Referenced by evaluateVDriftAndReso().
|
private |
Definition at line 39 of file DTMeanTimerFitter.h.
Referenced by setVerbosity().