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 
59 {
60 public:
61  explicit MEtoEDMConverter(const edm::ParameterSet&);
62  virtual ~MEtoEDMConverter();
63  virtual void beginJob();
64  virtual void endJob();
65  virtual void produce(edm::Event&, const edm::EventSetup&);
66  virtual void beginRun(edm::Run&, const edm::EventSetup&);
67  virtual void endRun(edm::Run&, const edm::EventSetup&);
70 
71  template <class T>
72  void putData(T& iPutTo, bool iLumiOnly);
73 
74  typedef std::vector<uint32_t> TagList;
75 
76 private:
77  std::string fName;
78  int verbosity;
79  int frequency;
81  std::string path;
82 
84 
85  // private statistics information
86  std::map<int,int> iCount;
87 
88 }; // end class declaration
89 
90 #endif
virtual void produce(edm::Event &, const edm::EventSetup &)
std::vector< uint32_t > TagList
virtual void endRun(edm::Run &, const edm::EventSetup &)
std::map< int, int > iCount
virtual ~MEtoEDMConverter()
virtual void endLuminosityBlock(edm::LuminosityBlock &, const edm::EventSetup &)
virtual void beginLuminosityBlock(edm::LuminosityBlock &, const edm::EventSetup &)
virtual void beginJob()
void putData(T &iPutTo, bool iLumiOnly)
virtual void endJob()
MEtoEDMConverter(const edm::ParameterSet &)
virtual void beginRun(edm::Run &, const edm::EventSetup &)
long double T
Definition: Run.h:33