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 
23 
26 
27 
28 #include <memory>
29 #include <iostream>
30 #include <fstream>
31 #include <string>
32 #include <vector>
33 #include <map>
34 #include "TPostScript.h"
35 
36 class DTGeometry;
37 
39 
40 public:
41 
44 
46  virtual ~DTCreateSummaryHistos();
47 
48 protected:
49 
51  void beginJob();
52 
54  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
55 
57  void analyze(const edm::Event& e, const edm::EventSetup& c);
58 
60  void endJob();
61 
62 
63  private:
64 
65  int nevents;
66  std::string MainFolder;
67 
70 
71  // The file which contain the occupancy plot and the digi event plot
72  TFile *theFile;
73 
74  // The *.ps file which contains the summary histos
75  TPostScript *psFile;
76  std::string PsFileName;
77 
78  // The histos to write in the *.ps file
80  bool DigiHistos;
81  bool RecoHistos;
82  bool ResoHistos;
86 
87  // The DDUId
88  int DDUId;
89  // The run number
90  int runNumber;
91 
92 };
93 
94 #endif
95 
96 
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:33