CMS 3D CMS Logo

HLTEgammaDoubleLegCombFilter.h
Go to the documentation of this file.
1 #ifndef HLTrigger_Egamma_HLTEgammaDoubleLegCombFilter_h
2 #define HLTrigger_Egamma_HLTEgammaDoubleLegCombFilter_h
3 
4 //Class: HLTEgammaDoubleLegCombFilter
5 //purpose: the last filter of multi-e/g triggers which have asymetric cuts on the e/g objects
6 // this checks that the required number of objects pass each leg
7 
9 
11 
13 
14 
15 namespace edm {
17 }
18 
20 
21  public:
23  ~HLTEgammaDoubleLegCombFilter() override;
24  bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) const override;
25  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
26 
27  void matchCands(const std::vector<math::XYZPoint>& firstLegP3s,const std::vector<math::XYZPoint>& secondLegP3s,std::vector<std::pair<int,int> >&matchedCands) const;
28  static void getP3OfLegCands(const edm::Event& iEvent, const edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs>& filterToken, std::vector<math::XYZPoint>& p3s);
29 
30  private:
38  double maxMatchDR_;
39 };
40 
41 #endif
42 
43 
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > firstLegLastFilterToken_
int iEvent
Definition: GenABIO.cc:224
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLT enums.
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > secondLegLastFilterToken_