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