CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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&);
16 
17  private:
18 
19  virtual void beginJob() {};
20  virtual void produce(edm::Event& evt, const edm::EventSetup& setup);
21  virtual void endJob() {};
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)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
virtual void produce(edm::Event &evt, const edm::EventSetup &setup)
TtSemiLepJetCombGeom(const edm::ParameterSet &)
vector< PseudoJet > jets
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
double distance(const math::XYZTLorentzVector &, const math::XYZTLorentzVector &)
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")