CMS 3D CMS Logo

TtSemiLepJetCombGeom.h
Go to the documentation of this file.
1 #ifndef TtSemiLepJetCombGeom_h
2 #define TtSemiLepJetCombGeom_h
3 
6 
9 
11 public:
12  explicit TtSemiLepJetCombGeom(const edm::ParameterSet&);
13  ~TtSemiLepJetCombGeom() override;
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  };
24 
27  int maxNJets_;
28  bool useDeltaR_;
33 };
34 
35 #endif
bool isValid(const int &idx, const edm::Handle< std::vector< pat::Jet > > &jets)
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
TtSemiLepJetCombGeom(const edm::ParameterSet &)
double distance(const math::XYZTLorentzVector &, const math::XYZTLorentzVector &)
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
void produce(edm::Event &evt, const edm::EventSetup &setup) override