CMS 3D CMS Logo

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 public:
28  explicit HLTGlobalSums(const edm::ParameterSet&);
29  ~HLTGlobalSums() override;
30  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
31  bool hltFilter(edm::Event&,
32  const edm::EventSetup&,
33  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
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
edm::EDGetTokenT< std::vector< T > > inputToken_
Definition: HLTGlobalSums.h:38
~HLTGlobalSums() override
edm::InputTag inputTag_
Definition: HLTGlobalSums.h:37
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLTGlobalSums(const edm::ParameterSet &)
std::string observable_
Definition: HLTGlobalSums.h:40