CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTMeanTimerFitter.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTMeanTimerFitter_H
2 #define CalibMuon_DTMeanTimerFitter_H
3 
12 #include <vector>
13 #include "TString.h"
14 
15 class TH1F;
16 class TFile;
17 class TF1;
18 
19 
20 
22 public:
24  DTMeanTimerFitter(TFile *file);
25 
27  virtual ~DTMeanTimerFitter();
28 
30  std::vector<float> evaluateVDriftAndReso (TString N);
31 
33  void setVerbosity(unsigned int lvl) {
34  theVerbosityLevel = lvl;
35  }
36 
38  TF1* fitTMax(TH1F* histo);
39 protected:
40 
41 private:
42 
43  TFile *hDebugFile;
44  TFile *hInputFile;
45 
46  unsigned int theVerbosityLevel;
47 };
48 
49 #endif
50 
virtual ~DTMeanTimerFitter()
Destructor.
DTMeanTimerFitter(TFile *file)
Constructor.
TF1 * fitTMax(TH1F *histo)
Really do the fit.
std::vector< float > evaluateVDriftAndReso(TString N)
Fit the TMax histos and evaluate VDrift and resolution.
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