CMS 3D CMS Logo

HLTJetHbbFilter.h
Go to the documentation of this file.
1 #ifndef HLTJetHbbFilter_h
2 #define HLTJetHbbFilter_h
3 
21 #include <string>
22 #include <vector>
25 
28 #include "TVector3.h"
29 #include "TLorentzVector.h"
30 
31 namespace edm {
33 }
34 
35 //
36 // class declaration
37 //
38 template<typename T>
39 class HLTJetHbbFilter : public HLTFilter {
40  public:
41  typedef std::pair<double,unsigned int> Jpair;
42  static bool comparator ( const Jpair& l, const Jpair& r) {
43  return l.first < r.first;
44  }
45 
46  explicit HLTJetHbbFilter(const edm::ParameterSet&);
47  ~HLTJetHbbFilter() override;
48  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
49  static float findCSV(const typename std::vector<T>::const_iterator & jet, const reco::JetTagCollection & jetTags);
50  bool hltFilter(edm::Event&, const edm::EventSetup&,trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
51 
52  private:
57  double minmbb_;
58  double maxmbb_;
59  double minptb1_;
60  double minptb2_;
61  double maxetab_;
62  double minptbb_;
63  double maxptbb_;
64  double mintag1_;
65  double mintag2_;
66  double maxtag_;
68 };
69 
70 #endif
edm::InputTag inputJets_
std::pair< double, unsigned int > Jpair
static bool comparator(const Jpair &l, const Jpair &r)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< std::vector< T > > m_theJetsToken
HLT enums.
edm::EDGetTokenT< reco::JetTagCollection > m_theJetTagsToken
edm::InputTag inputJetTags_