CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MEtoEDMConverter.h
Go to the documentation of this file.
1 #ifndef MEtoEDMConverter_h
2 #define MEtoEDMConverter_h
3 
14 // framework & common header files
27 
28 //DQM services
32 
33 // data format
35 
36 // helper files
37 #include <iostream>
38 #include <stdlib.h>
39 #include <string>
40 #include <memory>
41 #include <vector>
42 #include <map>
43 #include <assert.h>
44 #include <stdint.h>
45 
46 #include "TString.h"
47 #include "TH1F.h"
48 #include "TH1S.h"
49 #include "TH1D.h"
50 #include "TH2F.h"
51 #include "TH2S.h"
52 #include "TH2D.h"
53 #include "TH3F.h"
54 #include "TProfile.h"
55 #include "TProfile2D.h"
56 #include "TObjString.h"
57 
58 class MEtoEDMConverter : public edm::one::EDProducer<edm::one::WatchRuns,
59  edm::EndLuminosityBlockProducer,
60  edm::EndRunProducer>
61 {
62 public:
63  explicit MEtoEDMConverter(const edm::ParameterSet&);
64  virtual ~MEtoEDMConverter();
65  virtual void beginJob() override;
66  virtual void endJob() override;
67  virtual void produce(edm::Event&, const edm::EventSetup&) override;
68  virtual void beginRun(edm::Run const&, const edm::EventSetup&) override;
69  virtual void endRun(edm::Run const&, const edm::EventSetup&) override;
70  virtual void endRunProduce(edm::Run&, const edm::EventSetup&) override;
71  virtual void endLuminosityBlockProduce(edm::LuminosityBlock&, const edm::EventSetup&) override;
72 
73  template <class T>
74  void putData(T& iPutTo, bool iLumiOnly);
75 
76  typedef std::vector<uint32_t> TagList;
77 
78 private:
80  int verbosity;
81  int frequency;
84 
86 
87  // private statistics information
88  std::map<int,int> iCount;
89 
90 }; // end class declaration
91 
92 #endif
std::vector< uint32_t > TagList
virtual void endRunProduce(edm::Run &, const edm::EventSetup &) override
virtual void beginJob() override
std::map< int, int > iCount
virtual void produce(edm::Event &, const edm::EventSetup &) override
virtual ~MEtoEDMConverter()
virtual void endRun(edm::Run const &, const edm::EventSetup &) override
void putData(T &iPutTo, bool iLumiOnly)
virtual void endJob() override
MEtoEDMConverter(const edm::ParameterSet &)
virtual void beginRun(edm::Run const &, const edm::EventSetup &) override
long double T
virtual void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) override
Definition: Run.h:36