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 {
17 public:
19  void produce(edm::Event& event, const edm::EventSetup& eventSetup) override;
20 
21 private:
22  bool isFromHadron(const reco::Candidate* p) const;
23  bool isBHadron(const reco::Candidate* p) const;
24  bool isBHadron(const unsigned int pdgId) const;
25  void insertAllDaughters(const reco::Candidate* p, std::set<const reco::Candidate*>& list) const;
26 
27  const reco::Candidate* getLast(const reco::Candidate* p);
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 
49 #endif
const edm::EDGetTokenT< edm::View< reco::Candidate > > genParticleToken_
bool isBHadron(const reco::Candidate *p) const
PseudoTopProducer(const edm::ParameterSet &pset)
reco::Particle::Point genVertex_
const double maxLeptonEtaSemilepton_
const double maxLeptonEta_
const double minVetoLeptonPtSemilepton_
fastjet::JetDefinition JetDef
const double maxLeptonEtaDilepton_
std::shared_ptr< JetDef > fjJetDef_
bool isFromHadron(const reco::Candidate *p) const
std::shared_ptr< JetDef > fjLepDef_
const double minMtWSemiLepton_
const double minMETSemiLepton_
reco::Particle::LorentzVector LorentzVector
const double maxJetEta_
const double minLeptonPtSemilepton_
const reco::Candidate * getLast(const reco::Candidate *p)
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
math::XYZPoint Point
point in the space
Definition: Particle.h:25
void insertAllDaughters(const reco::Candidate *p, std::set< const reco::Candidate * > &list) const
reco::GenParticleRef buildGenParticle(const reco::Candidate *p, reco::GenParticleRefProd &refHandle, std::auto_ptr< reco::GenParticleCollection > &outColl) const
const double maxVetoLeptonEtaSemilepton_
const double minLeptonPt_
const double minDileptonMassDilepton_
const edm::EDGetTokenT< edm::View< reco::Candidate > > finalStateToken_
const double minLeptonPtDilepton_
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Particle.h:21
const double minJetPt_
Definition: event.py:1
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run