CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTCreateSummaryHistos.h
Go to the documentation of this file.
1 #ifndef DTCreateSummaryHistos_H
2 #define DTCreateSummaryHistos_H
3 
4 
21 
24 
25 
26 #include <memory>
27 #include <iostream>
28 #include <fstream>
29 #include <string>
30 #include <vector>
31 #include <map>
32 #include "TPostScript.h"
33 
34 class DTGeometry;
35 
37 
38 public:
39 
42 
44  virtual ~DTCreateSummaryHistos();
45 
46 protected:
47 
49  void beginJob();
50 
52  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
53 
55  void analyze(const edm::Event& e, const edm::EventSetup& c);
56 
58  void endJob();
59 
60 
61  private:
62 
63  int nevents;
65 
68 
69  // The file which contain the occupancy plot and the digi event plot
70  TFile *theFile;
71 
72  // The *.ps file which contains the summary histos
73  TPostScript *psFile;
75 
76  // The histos to write in the *.ps file
78  bool DigiHistos;
79  bool RecoHistos;
80  bool ResoHistos;
84 
85  // The DDUId
86  int DDUId;
87  // The run number
88  int runNumber;
89 
90 };
91 
92 #endif
93 
94 
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
edm::ESHandle< DTGeometry > muonGeom
void beginRun(const edm::Run &run, const edm::EventSetup &setup)
BeginRun.
edm::ParameterSet parameters
virtual ~DTCreateSummaryHistos()
Destructor.
DTCreateSummaryHistos(const edm::ParameterSet &ps)
Constructor.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
Definition: Run.h:41