CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EmDQMFeeder.h
Go to the documentation of this file.
1 //
2 // Package: EmDQMFeeder
3 // Class: EmDQMFeeder
4 //
12 //
13 // Original Author: Thomas Reis,40 4-B24,+41227671567,
14 // Created: Tue Mar 15 12:24:11 CET 2011
15 // $Id: EmDQMFeeder.h,v 1.3 2011/05/26 08:58:51 treis Exp $
16 //
17 //
18 
19 
20 // system include files
21 #include <memory>
22 #include <iostream>
23 #include <string>
24 #include <vector>
25 #include <math.h>
26 #include <boost/regex.hpp>
27 #include <boost/lexical_cast.hpp>
28 
29 // user include files
32 
35 
37 
41 
42 //
43 // class declaration
44 //
45 class EmDQMFeeder : public edm::EDAnalyzer {
46  public:
47  explicit EmDQMFeeder(const edm::ParameterSet&);
48  ~EmDQMFeeder();
49 
50  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
51 
52  private:
53  virtual void beginJob() ;
54  virtual void analyze(const edm::Event&, const edm::EventSetup&);
55  virtual void endJob() ;
56 
57  virtual void beginRun(edm::Run const&, edm::EventSetup const&);
58  virtual void endRun(edm::Run const&, edm::EventSetup const&);
59  virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
60  virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
61 
62  // ----------member data ---------------------------
63 
65 
66  //std::string processName_; // process name of (HLT) process for which to get HLT configuration
70 
71  std::vector<std::vector<std::string> > findEgammaPaths();
72  std::vector<std::string> getFilterModules(const std::string&);
73  double getPrimaryEtCut(const std::string&);
74 
75  edm::ParameterSet makePSetForL1SeedFilter(const std::string&);
77  edm::ParameterSet makePSetForEtFilter(const std::string&);
84 
85  std::vector<EmDQM*> emDQMmodules;
86 
87  static const unsigned TYPE_SINGLE_ELE = 0;
88  static const unsigned TYPE_DOUBLE_ELE = 1;
89  static const unsigned TYPE_SINGLE_PHOTON = 2;
90  static const unsigned TYPE_DOUBLE_PHOTON = 3;
91  static const unsigned TYPE_TRIPLE_ELE = 4;
92 
93  unsigned verbosity_;
94  static const unsigned OUTPUT_SILENT = 0;
95  static const unsigned OUTPUT_ERRORS = 1;
96  static const unsigned OUTPUT_WARNINGS = 2;
97  static const unsigned OUTPUT_ALL = 3;
98 
99 };
100 
101 //
102 // constants, enums and typedefs
103 //
104 
105 //
106 // static data member definitions
107 //
108 
109 
virtual void endRun(edm::Run const &, edm::EventSetup const &)
Definition: EmDQMFeeder.cc:339
edm::ParameterSet makePSetForPixelMatchFilter(const std::string &)
Definition: EmDQMFeeder.cc:568
std::vector< EmDQM * > emDQMmodules
Definition: EmDQMFeeder.h:85
static const unsigned OUTPUT_SILENT
Definition: EmDQMFeeder.h:94
const edm::ParameterSet & iConfig
Definition: EmDQMFeeder.h:64
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: EmDQMFeeder.cc:82
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: EmDQMFeeder.cc:347
static const unsigned OUTPUT_ERRORS
Definition: EmDQMFeeder.h:95
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: EmDQMFeeder.cc:355
static const unsigned TYPE_DOUBLE_PHOTON
Definition: EmDQMFeeder.h:90
static const unsigned TYPE_SINGLE_ELE
Definition: EmDQMFeeder.h:87
edm::ParameterSet makePSetForEgammaGenericFilter(const std::string &)
Definition: EmDQMFeeder.cc:602
EmDQMFeeder(const edm::ParameterSet &)
Definition: EmDQMFeeder.cc:19
double getPrimaryEtCut(const std::string &)
Definition: EmDQMFeeder.cc:464
unsigned verbosity_
Definition: EmDQMFeeder.h:93
edm::ParameterSet makePSetForL1SeedToSuperClusterMatchFilter(const std::string &)
Definition: EmDQMFeeder.cc:512
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: EmDQMFeeder.cc:363
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: EmDQMFeeder.cc:44
std::vector< std::vector< std::string > > findEgammaPaths()
Definition: EmDQMFeeder.cc:376
edm::ParameterSet makePSetForL1SeedFilter(const std::string &)
Definition: EmDQMFeeder.cc:482
static const unsigned TYPE_DOUBLE_ELE
Definition: EmDQMFeeder.h:88
static const unsigned TYPE_SINGLE_PHOTON
Definition: EmDQMFeeder.h:89
edm::ParameterSet makePSetForOneOEMinusOneOPFilter(const std::string &)
Definition: EmDQMFeeder.cc:551
virtual void beginJob()
Definition: EmDQMFeeder.cc:66
static const unsigned OUTPUT_ALL
Definition: EmDQMFeeder.h:97
HLTConfigProvider hltConfig_
The instance of the HLTConfigProvider as a data member.
Definition: EmDQMFeeder.h:69
virtual void endJob()
Definition: EmDQMFeeder.cc:74
edm::ParameterSet makePSetForEtFilter(const std::string &)
Definition: EmDQMFeeder.cc:534
static const unsigned OUTPUT_WARNINGS
Definition: EmDQMFeeder.h:96
edm::InputTag triggerObject_
Definition: EmDQMFeeder.h:67
edm::ParameterSet makePSetForElectronGenericFilter(const std::string &)
Definition: EmDQMFeeder.cc:751
edm::ParameterSet makePSetForEgammaDoubleEtDeltaPhiFilter(const std::string &)
Definition: EmDQMFeeder.cc:585
std::vector< std::string > getFilterModules(const std::string &)
Definition: EmDQMFeeder.cc:439
Definition: Run.h:33
static const unsigned TYPE_TRIPLE_ELE
Definition: EmDQMFeeder.h:91
edm::ParameterSet makePSetForEgammaGenericQuadraticFilter(const std::string &)
Definition: EmDQMFeeder.cc:676