#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, counter, cppFunctionSkipper::exception, validate-o2o-wbm::f1, fitTMax(), hTMaxCell::GetT0Factor(), hDebugFile, hInputFile, mergeVDriftHistosByStation::histos, hTMaxCell::hTmax123, hTMaxCell::hTmax124s72, hTMaxCell::hTmax124s78, hTMaxCell::hTmax134s72, hTMaxCell::hTmax134s78, hTMaxCell::hTmax234, hTMaxCell::hTmax_0, hTMaxCell::hTmax_2t0, hTMaxCell::hTmax_3t0, hTMaxCell::hTmax_t0, mps_fire::i, SiStripPI::mean, and mathSSE::sqrt().
TF1 * DTMeanTimerFitter::fitTMax | ( | TH1F * | histo | ) |
Really do the fit.
Definition at line 186 of file DTMeanTimerFitter.cc.
References cppFunctionSkipper::exception, validate-o2o-wbm::f1, LogDebug, and sistrip::SpyUtilities::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().