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 
24 
27 
29 
30 #include <memory>
31 #include <iostream>
32 #include <fstream>
33 #include <string>
34 #include <vector>
35 #include <map>
36 #include "TPostScript.h"
37 
38 class DTGeometry;
39 
40 //-class DTCreateSummaryHistos: public edm::EDAnalyzer{
42 
43 public:
44 
47 
49  virtual ~DTCreateSummaryHistos();
50 
51 protected:
52 
54  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
55 
56  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
57 
58  private:
59 
60  int nevents;
62 
65 
66  // The file which contain the occupancy plot and the digi event plot
67  TFile *theFile;
68 
69  // The *.ps file which contains the summary histos
70  TPostScript *psFile;
72 
73  // The histos to write in the *.ps file
75  bool DigiHistos;
76  bool RecoHistos;
77  bool ResoHistos;
81 
82  // The DDUId
83  int DDUId;
84  // The run number
85  int runNumber;
86 
87 };
88 
89 #endif
90 
91 
edm::ESHandle< DTGeometry > muonGeom
void beginRun(const edm::Run &run, const edm::EventSetup &setup)
BeginRun.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
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