CMS 3D CMS Logo

PseudoTopProducer.h
Go to the documentation of this file.
1 #ifndef TopQuarkAnalysis_TopEventProducers_PseudoTopProducer_H
2 #define TopQuarkAnalysis_TopEventProducers_PseudoTopProducer_H
3 
8 
11 
12 #include "fastjet/JetDefinition.hh"
13 #include <set>
14 
16 public:
18  void produce(edm::Event& event, const edm::EventSetup& eventSetup) override;
19 
20 private:
21  bool isFromHadron(const reco::Candidate* p) const;
22  bool isBHadron(const reco::Candidate* p) const;
23  bool isBHadron(const unsigned int pdgId) const;
24  void insertAllDaughters(const reco::Candidate* p, std::set<const reco::Candidate*>& list) const;
25 
28  reco::GenParticleRefProd& refHandle,
29  std::auto_ptr<reco::GenParticleCollection>& outColl) const;
31 
32 private:
36  const double wMass_, tMass_;
42 
43  typedef fastjet::JetDefinition JetDef;
44  std::shared_ptr<JetDef> fjLepDef_, fjJetDef_;
46 };
47 
48 #endif
edm::RefProd< GenParticleCollection >
PseudoTopProducer::fjJetDef_
std::shared_ptr< JetDef > fjJetDef_
Definition: PseudoTopProducer.h:44
PseudoTopProducer::JetDef
fastjet::JetDefinition JetDef
Definition: PseudoTopProducer.h:43
PseudoTopProducer::genParticleToken_
const edm::EDGetTokenT< edm::View< reco::Candidate > > genParticleToken_
Definition: PseudoTopProducer.h:34
PseudoTopProducer::minLeptonPtDilepton_
const double minLeptonPtDilepton_
Definition: PseudoTopProducer.h:37
ecalCompactTrigPrim_cfi.outColl
outColl
Definition: ecalCompactTrigPrim_cfi.py:6
PseudoTopProducer::genVertex_
reco::Particle::Point genVertex_
Definition: PseudoTopProducer.h:45
PseudoTopProducer::maxLeptonEtaDilepton_
const double maxLeptonEtaDilepton_
Definition: PseudoTopProducer.h:37
PseudoTopProducer::isBHadron
bool isBHadron(const reco::Candidate *p) const
Definition: PseudoTopProducer.cc:518
PseudoTopProducer
Definition: PseudoTopProducer.h:15
edm::EDGetTokenT
Definition: EDGetToken.h:33
PseudoTopProducer::LorentzVector
reco::Particle::LorentzVector LorentzVector
Definition: PseudoTopProducer.h:30
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
PseudoTopProducer::maxLeptonEta_
const double maxLeptonEta_
Definition: PseudoTopProducer.h:35
PseudoTopProducer::PseudoTopProducer
PseudoTopProducer(const edm::ParameterSet &pset)
Definition: PseudoTopProducer.cc:13
PseudoTopProducer::maxJetEta_
const double maxJetEta_
Definition: PseudoTopProducer.h:35
EDProducer.h
PseudoTopProducer::maxLeptonEtaSemilepton_
const double maxLeptonEtaSemilepton_
Definition: PseudoTopProducer.h:39
PseudoTopProducer::minMETSemiLepton_
const double minMETSemiLepton_
Definition: PseudoTopProducer.h:41
PseudoTopProducer::minMtWSemiLepton_
const double minMtWSemiLepton_
Definition: PseudoTopProducer.h:41
PseudoTopProducer::wMass_
const double wMass_
Definition: PseudoTopProducer.h:36
PseudoTopProducer::minVetoLeptonPtSemilepton_
const double minVetoLeptonPtSemilepton_
Definition: PseudoTopProducer.h:40
PseudoTopProducer::buildGenParticle
reco::GenParticleRef buildGenParticle(const reco::Candidate *p, reco::GenParticleRefProd &refHandle, std::auto_ptr< reco::GenParticleCollection > &outColl) const
Definition: PseudoTopProducer.cc:557
PseudoTopProducer::tMass_
const double tMass_
Definition: PseudoTopProducer.h:36
reco::Particle::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Particle.h:21
edm::Ref< GenParticleCollection >
GenParticle.h
PseudoTopProducer::minLeptonPtSemilepton_
const double minLeptonPtSemilepton_
Definition: PseudoTopProducer.h:39
PseudoTopProducer::fjLepDef_
std::shared_ptr< JetDef > fjLepDef_
Definition: PseudoTopProducer.h:44
PseudoTopProducer::produce
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: PseudoTopProducer.cc:45
PseudoTopProducer::getLast
const reco::Candidate * getLast(const reco::Candidate *p)
Definition: PseudoTopProducer.cc:492
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
PseudoTopProducer::maxVetoLeptonEtaSemilepton_
const double maxVetoLeptonEtaSemilepton_
Definition: PseudoTopProducer.h:40
edm::stream::EDProducer
Definition: EDProducer.h:38
EgammaValidation_cff.pdgId
pdgId
Definition: EgammaValidation_cff.py:118
edm::EventSetup
Definition: EventSetup.h:57
PseudoTopProducer::minLeptonPt_
const double minLeptonPt_
Definition: PseudoTopProducer.h:35
PseudoTopProducer::insertAllDaughters
void insertAllDaughters(const reco::Candidate *p, std::set< const reco::Candidate * > &list) const
reco::Candidate
Definition: Candidate.h:27
PseudoTopProducer::isFromHadron
bool isFromHadron(const reco::Candidate *p) const
Definition: PseudoTopProducer.cc:501
PseudoTopProducer::finalStateToken_
const edm::EDGetTokenT< edm::View< reco::Candidate > > finalStateToken_
Definition: PseudoTopProducer.h:33
Frameworkfwd.h
PseudoTopProducer::minDileptonMassDilepton_
const double minDileptonMassDilepton_
Definition: PseudoTopProducer.h:38
reco::Particle::Point
math::XYZPoint Point
point in the space
Definition: Particle.h:25
Candidate.h
PseudoTopProducer::minJetPt_
const double minJetPt_
Definition: PseudoTopProducer.h:35
ParameterSet.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27