#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 | ) |
Constructor.
Definition at line 21 of file DTMeanTimerFitter.cc.
References hDebugFile.
|
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 submitPVResolutionJobs::count, cppFunctionSkipper::exception, DeadROC_duringRun::f1, DQMScaleToClient_cfi::factor, fitTMax(), hDebugFile, hInputFile, combine::histos, mps_fire::i, SiStripPI::mean, N, and mathSSE::sqrt().
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, and FastTimerService_cff::range.
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().