CMS 3D CMS Logo

MEtoEDMConverter.h
Go to the documentation of this file.
1 #ifndef MEtoEDMConverter_h
2 #define MEtoEDMConverter_h
3 
12 // framework & common header files
25 
26 //DQM services
30 
31 // helper files
32 #include <iostream>
33 #include <stdlib.h>
34 #include <string>
35 #include <memory>
36 #include <vector>
37 #include <map>
38 #include <assert.h>
39 #include <stdint.h>
40 
41 #include "TString.h"
42 #include "TH1F.h"
43 #include "TH1S.h"
44 #include "TH1D.h"
45 #include "TH2F.h"
46 #include "TH2S.h"
47 #include "TH2D.h"
48 #include "TH3F.h"
49 #include "TProfile.h"
50 #include "TProfile2D.h"
51 #include "TObjString.h"
52 
53 class MEtoEDMConverter : public edm::one::EDProducer<edm::one::WatchRuns,
54  edm::EndLuminosityBlockProducer,
55  edm::EndRunProducer>
56 {
57 public:
58  explicit MEtoEDMConverter(const edm::ParameterSet&);
59  virtual ~MEtoEDMConverter();
60  virtual void beginJob() override;
61  virtual void endJob() override;
62  virtual void produce(edm::Event&, const edm::EventSetup&) override;
63  virtual void beginRun(edm::Run const&, const edm::EventSetup&) override;
64  virtual void endRun(edm::Run const&, const edm::EventSetup&) override;
65  virtual void endRunProduce(edm::Run&, const edm::EventSetup&) override;
66  virtual void endLuminosityBlockProduce(edm::LuminosityBlock&, const edm::EventSetup&) override;
67 
68  template <class T>
69  void putData(T& iPutTo, bool iLumiOnly, uint32_t run, uint32_t lumi);
70 
71  typedef std::vector<uint32_t> TagList;
72 
73 private:
75  int verbosity;
76  int frequency;
80 
82 
83  // private statistics information
84  std::map<int,int> iCount;
85 
86 }; // end class declaration
87 
88 #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
virtual void endJob() override
MEtoEDMConverter(const edm::ParameterSet &)
void putData(T &iPutTo, bool iLumiOnly, uint32_t run, uint32_t lumi)
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:42