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 
12  public:
13 
14  explicit TtSemiLepJetCombGeom(const edm::ParameterSet&);
15  ~TtSemiLepJetCombGeom() override;
16 
17  private:
18 
19  void beginJob() override {};
20  void produce(edm::Event& evt, const edm::EventSetup& setup) override;
21  void endJob() override {};
22 
23  bool isValid(const int& idx, const edm::Handle<std::vector<pat::Jet> >& jets){ return (0<=idx && idx<(int)jets->size()); };
25 
28  int maxNJets_;
29  bool useDeltaR_;
34 };
35 
36 #endif
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_
bool isValid(const int &idx, const edm::Handle< std::vector< pat::Jet > > &jets)
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
TtSemiLepJetCombGeom(const edm::ParameterSet &)
vector< PseudoJet > jets
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
double distance(const math::XYZTLorentzVector &, const math::XYZTLorentzVector &)
void produce(edm::Event &evt, const edm::EventSetup &setup) override