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>
8 
9 namespace edm {
10  class ParameterSet;
11 }
12 class TH1F;
13 class TProfile;
14 class TFileDirectory;
15 
17 
18  public:
21 
23 
24  void book(const std::string dirname, const std::map<unsigned int, std::string>& labels);
25  void book(const std::string dirname);
26  void beginRun(const unsigned int nrun);
27  void fill(const unsigned int orbit, const std::map<unsigned int,int>& ndigi);
28 
29  private:
30 
32  const int _nbins;
33  const unsigned int m_maxLS;
34  const unsigned int m_LSfrac;
36  const bool _runHisto;
37  std::map<unsigned int,int> _binmax;
38  std::map<unsigned int, std::string> _labels;
39 
40 
42  std::map<unsigned int,TProfile**> _nmultvsorbrun;
43  std::map<unsigned int,TH1F*> _nmult;
44  std::map<unsigned int,TFileDirectory*> _subdirs;
45 
46 };
47 
48 
49 #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)
DigiInvestigatorHistogramMaker(edm::ConsumesCollector &&iC)
std::map< unsigned int, TFileDirectory * > _subdirs
std::map< unsigned int, TProfile ** > _nmultvsorbrun