CMS 3D CMS Logo

BaseBTagPlotter.h
Go to the documentation of this file.
1 #ifndef BaseBTagPlotter_H
2 #define BaseBTagPlotter_H
3 
6 
7 #include <string>
8 
10 
11  public:
12 
14  etaPtBin_(etaPtBin), tagName_(tagName),
15  theExtensionString("_" + tagName + etaPtBin.getDescriptionString()) {};
16 
17  virtual ~BaseBTagPlotter() {};
18 
19  const EtaPtBin& etaPtBin() { return etaPtBin_ ;}
20 
21  // final computation, plotting, printing .......
22  virtual void finalize (DQMStore::IBooker & ibook_, DQMStore::IGetter & igetter_) = 0;
23 
24  virtual void epsPlot(const std::string & name) = 0;
25 
26  virtual void psPlot(const std::string & name) = 0;
27 
28  protected:
29 
30  // the extension string to be used in histograms etc.
33 };
34 
35 #endif
const std::string theExtensionString
const EtaPtBin & etaPtBin()
virtual void psPlot(const std::string &name)=0
const std::string tagName_
const EtaPtBin etaPtBin_
virtual ~BaseBTagPlotter()
virtual void epsPlot(const std::string &name)=0
BaseBTagPlotter(const std::string &tagName, const EtaPtBin &etaPtBin)
virtual void finalize(DQMStore::IBooker &ibook_, DQMStore::IGetter &igetter_)=0