CMS 3D CMS Logo

HLTSinglet.h
Go to the documentation of this file.
1 #ifndef HLTSinglet_h
2 #define HLTSinglet_h
3 
16 #include <vector>
20 
21 //
22 // class declaration
23 //
24 
25 template <typename T>
26 class HLTSinglet : public HLTFilter {
27 public:
28  explicit HLTSinglet(const edm::ParameterSet&);
29  ~HLTSinglet() 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  const edm::InputTag inputTag_; // input tag identifying product
37  const edm::EDGetTokenT<std::vector<T>> inputToken_; // token identifying product
38  const int triggerType_; // triggerType configured
39  const int min_N_; // number of objects passing cuts required
40  const double min_E_; // energy threshold in GeV
41  const double min_Pt_; // pt threshold in GeV
42  const double min_Mass_; // min mass threshold in GeV
43  const double max_Mass_; // max mass threshold in GeV
44  const double min_Eta_; // lower eta cut to define eta-range (symmetric)
45  const double max_Eta_; // upper eta cut to define eta-range (symmetric)
46 };
47 
48 #endif // HLTSinglet_h
ConfigurationDescriptions.h
trigger::TriggerFilterObjectWithRefs
Definition: TriggerFilterObjectWithRefs.h:35
HLTSinglet::inputToken_
const edm::EDGetTokenT< std::vector< T > > inputToken_
Definition: HLTSinglet.h:37
HLTSinglet::min_E_
const double min_E_
Definition: HLTSinglet.h:40
edm::EDGetTokenT
Definition: EDGetToken.h:33
HLTSinglet::min_N_
const int min_N_
Definition: HLTSinglet.h:39
HLTSinglet::min_Pt_
const double min_Pt_
Definition: HLTSinglet.h:41
TriggerTypeDefs.h
HLTSinglet::hltFilter
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition: HLTSinglet.cc:116
HLTFilter
Definition: HLTFilter.h:28
HLTSinglet::~HLTSinglet
~HLTSinglet() override
HLTFilter.h
HLTSinglet::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTSinglet.cc:95
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
HLTSinglet::inputTag_
const edm::InputTag inputTag_
Definition: HLTSinglet.h:36
edm::ParameterSet
Definition: ParameterSet.h:47
HLTSinglet::min_Eta_
const double min_Eta_
Definition: HLTSinglet.h:44
edm::EventSetup
Definition: EventSetup.h:57
HLTSinglet::max_Mass_
const double max_Mass_
Definition: HLTSinglet.h:43
HLTSinglet::HLTSinglet
HLTSinglet(const edm::ParameterSet &)
Definition: HLTSinglet.cc:75
HLTSinglet::max_Eta_
const double max_Eta_
Definition: HLTSinglet.h:45
HLTSinglet::triggerType_
const int triggerType_
Definition: HLTSinglet.h:38
HLTSinglet
Definition: HLTSinglet.h:26
HLTSinglet::min_Mass_
const double min_Mass_
Definition: HLTSinglet.h:42
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15