CMS 3D CMS Logo

L2TauJetsMerger.h
Go to the documentation of this file.
1 
2 #ifndef L2TAUJETSMERGER_H
3 #define L2TAUJETSMERGER_H
4 
5 // user include files
15 
16 #include <map>
17 #include <vector>
18 
20 public:
21  explicit L2TauJetsMerger(const edm::ParameterSet&);
22  ~L2TauJetsMerger() override;
23  void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
24  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
25 
26 private:
27  typedef std::vector<edm::InputTag> vtag;
28  typedef std::vector<edm::EDGetTokenT<reco::CaloJetCollection> > vtoken_cjets;
29  const vtag jetSrc;
31  const double mEt_Min;
32 
33  class SorterByPt {
34  public:
37  bool operator()(const reco::CaloJet& jet1, const reco::CaloJet& jet2) { return jet1.pt() > jet2.pt(); }
38  };
39 };
40 #endif
L2TauJetsMerger::SorterByPt
Definition: L2TauJetsMerger.h:33
ConfigurationDescriptions.h
edm::StreamID
Definition: StreamID.h:30
CaloJetCollection.h
reco::CaloJet
Jets made from CaloTowers.
Definition: CaloJet.h:27
Handle.h
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
L2TauJetsMerger::SorterByPt::operator()
bool operator()(const reco::CaloJet &jet1, const reco::CaloJet &jet2)
Definition: L2TauJetsMerger.h:37
L2TauJetsMerger::SorterByPt::~SorterByPt
~SorterByPt()
Definition: L2TauJetsMerger.h:36
L2TauJetsMerger::SorterByPt::SorterByPt
SorterByPt()
Definition: L2TauJetsMerger.h:35
ParameterSetDescription.h
edm::global::EDProducer
Definition: EDProducer.h:32
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
L2TauJetsMerger::mEt_Min
const double mEt_Min
Definition: L2TauJetsMerger.h:31
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
L2TauJetsMerger
Definition: L2TauJetsMerger.h:19
edm::EventSetup
Definition: EventSetup.h:57
L2TauJetsMerger::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: L2TauJetsMerger.cc:71
L2TauJetsMerger::L2TauJetsMerger
L2TauJetsMerger(const edm::ParameterSet &)
Definition: L2TauJetsMerger.cc:12
InputTag.h
L2TauJetsMerger::vtoken_cjets
std::vector< edm::EDGetTokenT< reco::CaloJetCollection > > vtoken_cjets
Definition: L2TauJetsMerger.h:28
L2TauJetsMerger::jetSrc_token
vtoken_cjets jetSrc_token
Definition: L2TauJetsMerger.h:30
Frameworkfwd.h
L2TauJetsMerger::vtag
std::vector< edm::InputTag > vtag
Definition: L2TauJetsMerger.h:27
L2TauJetsMerger::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition: L2TauJetsMerger.cc:24
ParameterSet.h
EDProducer.h
edm::Event
Definition: Event.h:73
L2TauJetsMerger::jetSrc
const vtag jetSrc
Definition: L2TauJetsMerger.h:29
L2TauJetsMerger::~L2TauJetsMerger
~L2TauJetsMerger() override
Definition: L2TauJetsMerger.cc:22