CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DigiLumiCorrHistogramMaker.h
Go to the documentation of this file.
1 #ifndef DPGAnalysis_SiStripTools_DigiLumiCorrHistogramMaker_H
2 #define DPGAnalysis_SiStripTools_DigiLumiCorrHistogramMaker_H
3 
4 #include <string>
5 #include <map>
7 
8 
9 namespace edm {
10  class ParameterSet;
11  class Event;
12  class Run;
13 }
14 class TH2F;
15 class TProfile;
16 class TProfile2D;
17 class TFileDirectory;
19 
21 
22  public:
25 
27 
28  void book(const std::string dirname, const std::map<unsigned int, std::string>& labels);
29  void book(const std::string dirname);
30  void beginRun(const edm::Run& iRun);
31  void fill(const edm::Event& iEvent, const std::map<unsigned int,int>& ndigi);
32 
33  private:
34 
36  std::map<unsigned int,RunHistogramManager*> m_fhm;
37  bool m_runHisto;
38  std::string m_hitname;
39  const int m_nbins;
40  const int m_scalefact;
41  std::map<unsigned int,int> m_binmax;
42  std::map<unsigned int, std::string> m_labels;
43 
44  std::map<unsigned int,TH2F*> m_nmultvslumi;
45  std::map<unsigned int,TProfile*> m_nmultvslumiprof;
46  std::map<unsigned int,TProfile2D**> m_nmultvslumivsbxprofrun;
47  std::map<unsigned int,TFileDirectory*> m_subdirs;
48 
49 };
50 
51 
52 #endif // DPGAnalysis_SiStripTools_DigiLumiCorrHistogramMaker_H
std::map< unsigned int, TFileDirectory * > m_subdirs
std::map< unsigned int, RunHistogramManager * > m_fhm
std::map< unsigned int, int > m_binmax
std::map< unsigned int, std::string > m_labels
int iEvent
Definition: GenABIO.cc:243
std::map< unsigned int, TProfile2D ** > m_nmultvslumivsbxprofrun
std::map< unsigned int, TProfile * > m_nmultvslumiprof
void fill(const edm::Event &iEvent, const std::map< unsigned int, int > &ndigi)
void book(const std::string dirname, const std::map< unsigned int, std::string > &labels)
std::map< unsigned int, TH2F * > m_nmultvslumi
Definition: Run.h:33
void beginRun(const edm::Run &iRun)