CMS 3D CMS Logo

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  class Event;
12  class Run;
13 } // namespace edm
14 class TH1F;
15 class TProfile;
16 class TFileDirectory;
17 
19 public:
22 
24 
25  void book(const std::string dirname, const std::map<unsigned int, std::string>& labels);
26  void book(const std::string dirname);
27  void beginRun(const edm::Run& iRun);
28  void fill(const edm::Event& iEvent, const std::map<unsigned int, int>& ndigi);
29 
30 private:
32  const int _nbins;
33  const unsigned int m_maxLS;
34  const unsigned int m_LSfrac;
36  const bool _runHisto;
37  const bool _fillHisto;
38  std::map<unsigned int, int> _binmax;
39  std::map<unsigned int, std::string> _labels;
40 
43  std::map<unsigned int, TProfile**> _nmultvsorbrun;
44  std::map<unsigned int, TProfile**> _nmultvsbxrun;
45  std::map<unsigned int, TProfile**> _nmultvsbxfill;
46  std::map<unsigned int, TH1F*> _nmult;
47  std::map<unsigned int, TFileDirectory*> _subdirs;
48 };
49 
50 #endif // DPGAnalysis_SiStripTools_DigiInvestigatorHistogramMaker_H
void book(const std::string dirname, const std::map< unsigned int, std::string > &labels)
std::map< unsigned int, TProfile ** > _nmultvsbxrun
std::map< unsigned int, std::string > _labels
std::map< unsigned int, TProfile ** > _nmultvsbxfill
int iEvent
Definition: GenABIO.cc:224
std::map< unsigned int, TProfile ** > _nmultvsorbrun
void fill(const edm::Event &iEvent, const std::map< unsigned int, int > &ndigi)
std::map< unsigned int, TFileDirectory * > _subdirs
std::map< unsigned int, TH1F * > _nmult
HLT enums.
DigiInvestigatorHistogramMaker(edm::ConsumesCollector &&iC)
Definition: Run.h:45