test
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 
10 #include <vector>
11 #include "TString.h"
12 
13 class TH1F;
14 class TFile;
15 class TF1;
16 
17 
18 
20 public:
22  DTMeanTimerFitter(TFile *file);
23 
25  virtual ~DTMeanTimerFitter();
26 
28  std::vector<float> evaluateVDriftAndReso (const TString& N);
29 
31  void setVerbosity(unsigned int lvl) {
32  theVerbosityLevel = lvl;
33  }
34 
36  TF1* fitTMax(TH1F* histo);
37 protected:
38 
39 private:
40 
41  TFile *hDebugFile;
42  TFile *hInputFile;
43 
44  unsigned int theVerbosityLevel;
45 };
46 
47 #endif
48 
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.