CMS 3D CMS Logo

DTMeanTimerFitter.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTMeanTimerFitter_H
2 #define CalibMuon_DTMeanTimerFitter_H
3 
10 #include <vector>
11 #include "TString.h"
12 
13 class TH1F;
14 class TFile;
15 class TF1;
16 
18 public:
20  DTMeanTimerFitter(TFile* file);
21 
23  virtual ~DTMeanTimerFitter();
24 
26  std::vector<float> evaluateVDriftAndReso(const TString& N);
27 
29  void setVerbosity(unsigned int lvl) { theVerbosityLevel = lvl; }
30 
32  TF1* fitTMax(TH1F* histo);
33 
34 protected:
35 private:
36  TFile* hDebugFile;
37  TFile* hInputFile;
38 
39  unsigned int theVerbosityLevel;
40 };
41 
42 #endif
virtual ~DTMeanTimerFitter()
Destructor.
DTMeanTimerFitter(TFile *file)
Constructor.
TF1 * fitTMax(TH1F *histo)
Really do the fit.
void setVerbosity(unsigned int lvl)
Set the verbosity of the output: 0 = silent, 1 = info, 2 = debug.
unsigned int theVerbosityLevel
#define N
Definition: blowfish.cc:9
std::vector< float > evaluateVDriftAndReso(const TString &N)
Fit the TMax histos and evaluate VDrift and resolution.