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
TtSemiLepJetCombGeom::bTagAlgorithm_
std::string bTagAlgorithm_
Definition: TtSemiLepJetCombGeom.h:30
TtSemiLepJetCombGeom::lepsToken_
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_
Definition: TtSemiLepJetCombGeom.h:26
EDProducer.h
edm::EDGetTokenT
Definition: EDGetToken.h:33
TtSemiLepJetCombGeom::endJob
void endJob() override
Definition: TtSemiLepJetCombGeom.h:18
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
edm::Handle
Definition: AssociativeIterator.h:50
TtSemiLepJetCombGeom
Definition: TtSemiLepJetCombGeom.h:10
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
TtSemiLepJetCombGeom::distance
double distance(const math::XYZTLorentzVector &, const math::XYZTLorentzVector &)
Definition: TtSemiLepJetCombGeom.cc:147
TtSemiLepJetCombGeom::isValid
bool isValid(const int &idx, const edm::Handle< std::vector< pat::Jet > > &jets)
Definition: TtSemiLepJetCombGeom.h:20
TtSemiLepJetCombGeom::minBDiscBJets_
double minBDiscBJets_
Definition: TtSemiLepJetCombGeom.h:31
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
TtSemiLepJetCombGeom::~TtSemiLepJetCombGeom
~TtSemiLepJetCombGeom() override
Definition: TtSemiLepJetCombGeom.cc:26
LorentzVector.h
TtSemiLepJetCombGeom::useDeltaR_
bool useDeltaR_
Definition: TtSemiLepJetCombGeom.h:28
TtSemiLepJetCombGeom::TtSemiLepJetCombGeom
TtSemiLepJetCombGeom(const edm::ParameterSet &)
Definition: TtSemiLepJetCombGeom.cc:9
TtSemiLepJetCombGeom::beginJob
void beginJob() override
Definition: TtSemiLepJetCombGeom.h:16
TtSemiLepJetCombGeom::produce
void produce(edm::Event &evt, const edm::EventSetup &setup) override
Definition: TtSemiLepJetCombGeom.cc:28
edm::EventSetup
Definition: EventSetup.h:58
Jet.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TtSemiLepJetCombGeom::maxNJets_
int maxNJets_
Definition: TtSemiLepJetCombGeom.h:27
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
TtSemiLepJetCombGeom::useBTagging_
bool useBTagging_
Definition: TtSemiLepJetCombGeom.h:29
edm::EDProducer
Definition: EDProducer.h:35
TtSemiLepJetCombGeom::maxBDiscLightJets_
double maxBDiscLightJets_
Definition: TtSemiLepJetCombGeom.h:32
edm::Event
Definition: Event.h:73
TtSemiLepJetCombGeom::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
Definition: TtSemiLepJetCombGeom.h:25