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
ConfigurationDescriptions.h
trigger::TriggerFilterObjectWithRefs
Definition: TriggerFilterObjectWithRefs.h:35
HLTGlobalSums::inputToken_
edm::EDGetTokenT< std::vector< T > > inputToken_
Definition: HLTGlobalSums.h:38
edm::EDGetTokenT
Definition: EDGetToken.h:33
HLTGlobalSums::hltFilter
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition: HLTGlobalSums.cc:87
HLTFilter
Definition: HLTFilter.h:28
HLTGlobalSums::triggerType_
int triggerType_
Definition: HLTGlobalSums.h:39
HLTGlobalSums
Definition: HLTGlobalSums.h:26
HLTFilter.h
HLTGlobalSums::max_
double max_
Definition: HLTGlobalSums.h:41
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
HLTGlobalSums::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTGlobalSums.cc:69
HLTGlobalSums::tid_
int tid_
Definition: HLTGlobalSums.h:43
edm::EventSetup
Definition: EventSetup.h:58
HLTGlobalSums::min_N_
int min_N_
Definition: HLTGlobalSums.h:42
HLTGlobalSums::min_
double min_
Definition: HLTGlobalSums.h:41
HLTGlobalSums::~HLTGlobalSums
~HLTGlobalSums() override
HLTGlobalSums::HLTGlobalSums
HLTGlobalSums(const edm::ParameterSet &)
Definition: HLTGlobalSums.cc:28
HLTGlobalSums::observable_
std::string observable_
Definition: HLTGlobalSums.h:40
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
HLTGlobalSums::inputTag_
edm::InputTag inputTag_
Definition: HLTGlobalSums.h:37