CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTGlobalSums.h
Go to the documentation of this file.
1 #ifndef HLTGlobalSums_h
2 #define HLTGlobalSums_h
3 
18 #include<string>
19 #include<vector>
20 
21 //
22 // class declaration
23 //
24 
25 template<typename T>
26 class HLTGlobalSums : public HLTFilter {
27 
28  public:
29 
30  explicit HLTGlobalSums(const edm::ParameterSet&);
32  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
33  virtual bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) const override;
34 
35  private:
36  // configuration
37  edm::InputTag inputTag_; // input tag identifying MET product
38  edm::EDGetTokenT<std::vector<T> > inputToken_; // token identifying MET product
39  int triggerType_; // triggerType configured
40  std::string observable_; // which observable to cut on
41  double min_,max_; // cut: Min<=observable<=Max
42  int min_N_; // how many needed to pass
43  int tid_; // actual triggerType
44 };
45 
46 #endif //HLTGlobalSums_h
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
edm::EDGetTokenT< std::vector< T > > inputToken_
Definition: HLTGlobalSums.h:38
edm::InputTag inputTag_
Definition: HLTGlobalSums.h:37
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLTGlobalSums(const edm::ParameterSet &)
std::string observable_
Definition: HLTGlobalSums.h:40