CMS 3D CMS Logo

TtSemiLepJetCombWMassMaxSumPt.h
Go to the documentation of this file.
1 #ifndef TtSemiLepJetCombWMassMaxSumPt_h
2 #define TtSemiLepJetCombWMassMaxSumPt_h
3 
6 
9 
11 public:
14 
15 private:
16  void beginJob() override{};
17  void produce(edm::Event& evt, const edm::EventSetup& setup) override;
18  void endJob() override{};
19 
20  bool isValid(const int& idx, const edm::Handle<std::vector<pat::Jet> >& jets) {
21  return (0 <= idx && idx < (int)jets->size());
22  };
23 
26  int maxNJets_;
27  double wMass_;
32 };
33 
34 #endif
bool isValid(const int &idx, const edm::Handle< std::vector< pat::Jet > > &jets)
TtSemiLepJetCombWMassMaxSumPt(const edm::ParameterSet &)
void produce(edm::Event &evt, const edm::EventSetup &setup) override
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_