CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EDMtoMEConverter.h
Go to the documentation of this file.
1 #ifndef EDMtoMEConverter_h
2 #define EDMtoMEConverter_h
3 
12 // framework & common header files
26 
27 //DQM services
31 
32 // data format
34 
35 // helper files
36 #include <iostream>
37 #include <stdlib.h>
38 #include <string>
39 #include <memory>
40 #include <vector>
41 #include <map>
42 
43 #include "TString.h"
44 #include "TList.h"
45 
46 #include "classlib/utils/StringList.h"
47 #include "classlib/utils/StringOps.h"
48 
50 {
51 
52  public:
53 
54  explicit EDMtoMEConverter(const edm::ParameterSet&);
55  virtual ~EDMtoMEConverter();
56  virtual void beginJob();
57  virtual void endJob();
58  virtual void analyze(const edm::Event&, const edm::EventSetup&);
59  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
60  virtual void endRun(const edm::Run&, const edm::EventSetup&);
61  virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
62  virtual void endLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
63  virtual void respondToOpenInputFile(const edm::FileBlock&);
64 
65  template <class T>
66  void getData(T& iGetFrom, bool iEndRun);
67 
68  typedef std::vector<uint32_t> TagList;
69 
70  private:
71 
73  int verbosity;
74  int frequency;
75 
78 
80  std::vector<MonitorElement*> me1, me2, me3, me4, me5, me6, me7, me8;
81 
82  // private statistics information
83  unsigned int iCountf;
84  std::map<int,int> iCount;
85 
86  std::vector<std::string> classtypes;
87 
90 
91 }; // end class declaration
92 
93 #endif
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< uint32_t > TagList
EDMtoMEConverter(const edm::ParameterSet &)
std::vector< MonitorElement * > me6
virtual void endRun(const edm::Run &, const edm::EventSetup &)
std::vector< std::string > classtypes
edm::InputTag lumiInputTag_
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
std::vector< MonitorElement * > me8
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
virtual void endJob()
std::vector< MonitorElement * > me7
virtual void beginJob()
std::vector< MonitorElement * > me1
edm::InputTag runInputTag_
std::vector< MonitorElement * > me4
std::vector< MonitorElement * > me5
virtual void respondToOpenInputFile(const edm::FileBlock &)
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
std::vector< MonitorElement * > me2
virtual ~EDMtoMEConverter()
std::vector< MonitorElement * > me3
long double T
unsigned int iCountf
Definition: Run.h:41
std::map< int, int > iCount
void getData(T &iGetFrom, bool iEndRun)