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
DTMeanTimerFitter::~DTMeanTimerFitter
virtual ~DTMeanTimerFitter()
Destructor.
Definition: DTMeanTimerFitter.cc:26
DTMeanTimerFitter::hInputFile
TFile * hInputFile
Definition: DTMeanTimerFitter.h:37
timingPdfMaker.histo
histo
Definition: timingPdfMaker.py:279
DTMeanTimerFitter::fitTMax
TF1 * fitTMax(TH1F *histo)
Really do the fit.
Definition: DTMeanTimerFitter.cc:186
tools.TF1
TF1
Definition: tools.py:23
DTMeanTimerFitter::hDebugFile
TFile * hDebugFile
Definition: DTMeanTimerFitter.h:36
DTMeanTimerFitter::DTMeanTimerFitter
DTMeanTimerFitter(TFile *file)
Constructor.
Definition: DTMeanTimerFitter.cc:21
N
#define N
Definition: blowfish.cc:9
DTMeanTimerFitter
Definition: DTMeanTimerFitter.h:17
FrontierConditions_GlobalTag_cff.file
file
Definition: FrontierConditions_GlobalTag_cff.py:13
DTMeanTimerFitter::setVerbosity
void setVerbosity(unsigned int lvl)
Set the verbosity of the output: 0 = silent, 1 = info, 2 = debug.
Definition: DTMeanTimerFitter.h:29
DTMeanTimerFitter::theVerbosityLevel
unsigned int theVerbosityLevel
Definition: DTMeanTimerFitter.h:39
DTMeanTimerFitter::evaluateVDriftAndReso
std::vector< float > evaluateVDriftAndReso(const TString &N)
Fit the TMax histos and evaluate VDrift and resolution.
Definition: DTMeanTimerFitter.cc:28