CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TriggerResultsFilterFromDB.h
Go to the documentation of this file.
1 #ifndef TriggerResultsFilterFromDB_h
2 #define TriggerResultsFilterFromDB_h
3 
20 #include <vector>
21 #include <string>
22 
27 
28 // forward declaration
29 namespace triggerExpression {
30  class Evaluator;
31 }
32 
33 //
34 // class declaration
35 //
36 
38 public:
41  virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs & filterproduct);
42 
43 private:
45  void pathsFromSetup(const edm::EventSetup & setup);
46 
48  void parse(const std::string & expression);
49  void parse(const std::vector<std::string> & expressions);
50 
52  std::string m_eventSetupPathsKey;
54 
57 
60 };
61 
62 #endif //TriggerResultsFilterFromDB_h
std::string m_eventSetupPathsKey
read the triggerConditions from the database
edm::ESWatcher< AlCaRecoTriggerBitsRcd > m_eventSetupWatcher
triggerExpression::Evaluator * m_expression
evaluator for the trigger condition
triggerExpression::Data m_eventCache
cache some data from the Event for faster access by the m_expression
void parse(const std::string &expression)
parse the logical expression into functionals
TriggerResultsFilterFromDB(const edm::ParameterSet &)
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct)
void pathsFromSetup(const edm::EventSetup &setup)
read the triggerConditions from the database
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")