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 <cstdlib>
34 #include <string>
35 #include <memory>
36 #include <vector>
37 #include <map>
38 #include <cassert>
39 #include <cstdint>
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  ~MEtoEDMConverter() override;
60  void beginJob() override;
61  void endJob() override;
62  void produce(edm::Event&, const edm::EventSetup&) override;
63  void beginRun(edm::Run const&, const edm::EventSetup&) override;
64  void endRun(edm::Run const&, const edm::EventSetup&) override;
65  void endRunProduce(edm::Run&, 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
~MEtoEDMConverter() override
void endRunProduce(edm::Run &, const edm::EventSetup &) override
void beginJob() override
std::map< int, int > iCount
void produce(edm::Event &, const edm::EventSetup &) override
void endRun(edm::Run const &, const edm::EventSetup &) override
void endJob() override
MEtoEDMConverter(const edm::ParameterSet &)
void putData(T &iPutTo, bool iLumiOnly, uint32_t run, uint32_t lumi)
void beginRun(edm::Run const &, const edm::EventSetup &) override
long double T
void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) override
Definition: Run.h:43