CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DigiInvestigatorHistogramMaker.h
Go to the documentation of this file.
1 #ifndef DPGAnalysis_SiStripTools_DigiInvestigatorHistogramMaker_H
2 #define DPGAnalysis_SiStripTools_DigiInvestigatorHistogramMaker_H
3 
4 #include <string>
5 #include <map>
7 
8 namespace edm {
9  class ParameterSet;
10 }
11 class TH1F;
12 class TProfile;
13 class TFileDirectory;
14 
16 
17  public:
20 
22 
23  void book(const std::string dirname, const std::map<unsigned int, std::string>& labels);
24  void book(const std::string dirname);
25  void beginRun(const unsigned int nrun);
26  void fill(const unsigned int orbit, const std::map<unsigned int,int>& ndigi);
27 
28  private:
29 
31  const int _nbins;
32  const unsigned int m_maxLS;
33  const unsigned int m_LSfrac;
35  const bool _runHisto;
36  std::map<unsigned int,int> _binmax;
37  std::map<unsigned int, std::string> _labels;
38 
39 
41  std::map<unsigned int,TProfile**> _nmultvsorbrun;
42  std::map<unsigned int,TH1F*> _nmult;
43  std::map<unsigned int,TFileDirectory*> _subdirs;
44 
45 };
46 
47 
48 #endif // DPGAnalysis_SiStripTools_DigiInvestigatorHistogramMaker_H
std::map< unsigned int, TH1F * > _nmult
void book(const std::string dirname, const std::map< unsigned int, std::string > &labels)
std::map< unsigned int, std::string > _labels
void fill(const unsigned int orbit, const std::map< unsigned int, int > &ndigi)
std::map< unsigned int, TFileDirectory * > _subdirs
std::map< unsigned int, TProfile ** > _nmultvsorbrun