CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
DTMeanTimerFitter Class Reference

#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
 

Detailed Description

Fit the Tmax histograms with a gaussian returning the mean values and the sigmas.

Author
S. Bolognesi - INFN Torino

Definition at line 19 of file DTMeanTimerFitter.h.

Constructor & Destructor Documentation

DTMeanTimerFitter::DTMeanTimerFitter ( TFile *  file)

Constructor.

Definition at line 21 of file DTMeanTimerFitter.cc.

DTMeanTimerFitter::~DTMeanTimerFitter ( )
virtual

Destructor.

Definition at line 26 of file DTMeanTimerFitter.cc.

Member Function Documentation

vector< float > DTMeanTimerFitter::evaluateVDriftAndReso ( const TString &  N)

Fit the TMax histos and evaluate VDrift and resolution.

Definition at line 30 of file DTMeanTimerFitter.cc.

TF1 * DTMeanTimerFitter::fitTMax ( TH1F *  histo)

Really do the fit.

Definition at line 194 of file DTMeanTimerFitter.cc.

void DTMeanTimerFitter::setVerbosity ( unsigned int  lvl)
inline

Set the verbosity of the output: 0 = silent, 1 = info, 2 = debug.

Definition at line 31 of file DTMeanTimerFitter.h.

References theVerbosityLevel.

31  {
32  theVerbosityLevel = lvl;
33  }
unsigned int theVerbosityLevel

Member Data Documentation

TFile* DTMeanTimerFitter::hDebugFile
private

Definition at line 41 of file DTMeanTimerFitter.h.

TFile* DTMeanTimerFitter::hInputFile
private

Definition at line 42 of file DTMeanTimerFitter.h.

unsigned int DTMeanTimerFitter::theVerbosityLevel
private

Definition at line 44 of file DTMeanTimerFitter.h.

Referenced by setVerbosity().