#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 19 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 30 of file DTMeanTimerFitter.cc.
References KineDebug3::count(), cppFunctionSkipper::exception, connectstrParser::f1, fitTMax(), hTMaxCell::GetT0Factor(), hDebugFile, hInputFile, plotFactory::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().
Referenced by DTVDriftCalibration::endJob().
TF1 * DTMeanTimerFitter::fitTMax | ( | TH1F * | histo | ) |
Really do the fit.
Definition at line 194 of file DTMeanTimerFitter.cc.
References cppFunctionSkipper::exception, connectstrParser::f1, and LogDebug.
Referenced by evaluateVDriftAndReso(), and setVerbosity().
|
inline |
Set the verbosity of the output: 0 = silent, 1 = info, 2 = debug.
Definition at line 31 of file DTMeanTimerFitter.h.
References fitTMax(), trackerHits::histo, and theVerbosityLevel.
|
private |
Definition at line 41 of file DTMeanTimerFitter.h.
Referenced by DTMeanTimerFitter(), evaluateVDriftAndReso(), and ~DTMeanTimerFitter().
|
private |
Definition at line 42 of file DTMeanTimerFitter.h.
Referenced by evaluateVDriftAndReso().
|
private |
Definition at line 44 of file DTMeanTimerFitter.h.
Referenced by setVerbosity().