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 
14 // framework & common header files
28 
29 //DQM services
33 
34 // data format
36 
37 // helper files
38 #include <iostream>
39 #include <stdlib.h>
40 #include <string>
41 #include <memory>
42 #include <vector>
43 #include <map>
44 
45 #include "TString.h"
46 #include "TList.h"
47 
48 #include "classlib/utils/StringList.h"
49 #include "classlib/utils/StringOps.h"
50 
52 {
53 
54  public:
55 
56  explicit EDMtoMEConverter(const edm::ParameterSet&);
57  virtual ~EDMtoMEConverter();
58  virtual void beginJob();
59  virtual void endJob();
60  virtual void analyze(const edm::Event&, const edm::EventSetup&);
61  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
62  virtual void endRun(const edm::Run&, const edm::EventSetup&);
63  virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
64  virtual void endLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
65  virtual void respondToOpenInputFile(const edm::FileBlock&);
66 
67  template <class T>
68  void getData(T& iGetFrom, bool iEndRun);
69 
70  typedef std::vector<uint32_t> TagList;
71 
72  private:
73 
74  std::string name;
75  int verbosity;
76  int frequency;
77 
80 
82  std::vector<MonitorElement*> me1, me2, me3, me4, me5, me6, me7, me8;
83 
84  // private statistics information
85  unsigned int iCountf;
86  std::map<int,int> iCount;
87 
88  std::vector<std::string> classtypes;
89 
92 
93 }; // end class declaration
94 
95 #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:33
std::map< int, int > iCount
void getData(T &iGetFrom, bool iEndRun)