test
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  class Event;
12  class Run;
13 }
14 class TH1F;
15 class TProfile;
16 class TFileDirectory;
17 
19 
20  public:
23 
25 
26  void book(const std::string dirname, const std::map<unsigned int, std::string>& labels);
27  void book(const std::string dirname);
28  void beginRun(const edm::Run& iRun);
29  void fill(const edm::Event& iEvent, const std::map<unsigned int,int>& ndigi);
30 
31  private:
32 
34  const int _nbins;
35  const unsigned int m_maxLS;
36  const unsigned int m_LSfrac;
38  const bool _runHisto;
39  const bool _fillHisto;
40  std::map<unsigned int,int> _binmax;
41  std::map<unsigned int, std::string> _labels;
42 
43 
46  std::map<unsigned int,TProfile**> _nmultvsorbrun;
47  std::map<unsigned int,TProfile**> _nmultvsbxrun;
48  std::map<unsigned int,TProfile**> _nmultvsbxfill;
49  std::map<unsigned int,TH1F*> _nmult;
50  std::map<unsigned int,TFileDirectory*> _subdirs;
51 
52 };
53 
54 
55 #endif // DPGAnalysis_SiStripTools_DigiInvestigatorHistogramMaker_H
std::map< unsigned int, TProfile ** > _nmultvsbxrun
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
Definition: Event.h:16
int iEvent
Definition: GenABIO.cc:230
std::map< unsigned int, TProfile ** > _nmultvsbxfill
void fill(const edm::Event &iEvent, const std::map< unsigned int, int > &ndigi)
DigiInvestigatorHistogramMaker(edm::ConsumesCollector &&iC)
std::map< unsigned int, TFileDirectory * > _subdirs
std::map< unsigned int, TProfile ** > _nmultvsorbrun
Definition: Run.h:43