#include <PseudoTopProducer.h>
Private Types | |
typedef fastjet::JetDefinition | JetDef |
typedef reco::Particle::LorentzVector | LorentzVector |
Private Member Functions | |
reco::GenParticleRef | buildGenParticle (const reco::Candidate *p, reco::GenParticleRefProd &refHandle, std::auto_ptr< reco::GenParticleCollection > &outColl) const |
const reco::Candidate * | getLast (const reco::Candidate *p) |
void | insertAllDaughters (const reco::Candidate *p, std::set< const reco::Candidate * > &list) const |
bool | isBHadron (const reco::Candidate *p) const |
bool | isBHadron (const unsigned int pdgId) const |
bool | isFromHadron (const reco::Candidate *p) const |
Private Attributes | |
const edm::EDGetTokenT < edm::View< reco::Candidate > > | finalStateToken_ |
std::shared_ptr< JetDef > | fjJetDef_ |
std::shared_ptr< JetDef > | fjLepDef_ |
const edm::EDGetTokenT < edm::View< reco::Candidate > > | genParticleToken_ |
reco::Particle::Point | genVertex_ |
const double | maxJetEta_ |
const double | maxLeptonEta_ |
const double | maxLeptonEtaDilepton_ |
const double | maxLeptonEtaSemilepton_ |
const double | maxVetoLeptonEtaSemilepton_ |
const double | minDileptonMassDilepton_ |
const double | minJetPt_ |
const double | minLeptonPt_ |
const double | minLeptonPtDilepton_ |
const double | minLeptonPtSemilepton_ |
const double | minMETSemiLepton_ |
const double | minMtWSemiLepton_ |
const double | minVetoLeptonPtSemilepton_ |
const double | tMass_ |
const double | wMass_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 15 of file PseudoTopProducer.h.
|
private |
Definition at line 43 of file PseudoTopProducer.h.
|
private |
Definition at line 30 of file PseudoTopProducer.h.
PseudoTopProducer::PseudoTopProducer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 13 of file PseudoTopProducer.cc.
References fjJetDef_, fjLepDef_, genVertex_, and edm::ParameterSet::getParameter().
|
private |
Definition at line 508 of file PseudoTopProducer.cc.
References reco::CompositeRefCandidateT< D >::clearDaughters(), reco::CompositeRefCandidateT< D >::clearMothers(), edm::RefProd< T >::id(), reco::CompositeRefCandidateT< D >::resetDaughters(), and reco::CompositeRefCandidateT< D >::resetMothers().
|
private |
Definition at line 448 of file PseudoTopProducer.cc.
References reco::Candidate::daughter(), i, gen::n, reco::Candidate::numberOfDaughters(), AlCaHLTBitMon_ParallelJobs::p, and reco::Candidate::pdgId().
|
private |
|
private |
Definition at line 473 of file PseudoTopProducer.cc.
References funct::abs(), reco::Candidate::daughter(), i, gen::n, reco::Candidate::numberOfDaughters(), and reco::Candidate::pdgId().
Referenced by produce().
|
private |
Definition at line 489 of file PseudoTopProducer.cc.
|
private |
Definition at line 458 of file PseudoTopProducer.cc.
References funct::abs(), i, reco::Candidate::mother(), gen::n, reco::Candidate::numberOfMothers(), or, benchmark_cfg::pdgId, reco::Candidate::pdgId(), and reco::Candidate::status().
Referenced by produce().
|
overridevirtual |
Build jets
Implements edm::stream::EDProducerBase.
Definition at line 47 of file PseudoTopProducer.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::addDaughter(), RazorAnalyzer::bJet1, RazorAnalyzer::bJet2, reco::Candidate::charge(), funct::cos(), deltaR(), symbols::dm, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, alignCSCRings::e, reco::Candidate::energy(), finalStateToken_, fjJetDef_, fjLepDef_, genParticleToken_, genVertex_, i, cmsHarvester::index, isBHadron(), isFromHadron(), edm::detail::isnan(), edm::Ptr< T >::isNonnull(), edm::Ptr< T >::isNull(), j, fwrapper::jets, HLT_25ns10e33_v2_cff::leptons, visualization-live-secondInstance_cfg::m, ResonanceBuilder::mass, maxJetEta_, maxLeptonEta_, maxLeptonEtaDilepton_, maxLeptonEtaSemilepton_, maxVetoLeptonEtaSemilepton_, minDileptonMassDilepton_, HLT_25ns10e33_v2_cff::minDR, minJetPt_, minLeptonPt_, minLeptonPtDilepton_, minLeptonPtSemilepton_, minMETSemiLepton_, minMtWSemiLepton_, minVetoLeptonPtSemilepton_, reco::Candidate::mother(), eostools::move(), gen::n, GetRecoTauVFromDQM_MC_cff::next, reco::Candidate::numberOfMothers(), or, reco::Candidate::p(), AlCaHLTBitMon_ParallelJobs::p, reco::Candidate::p4(), reco::Candidate::pdgId(), pseudoTop_cfi::pseudoTop, reco::Candidate::pt(), reco::Candidate::px(), reco::LeafCandidate::px(), reco::Candidate::py(), reco::Candidate::pz(), lumiQueryAPI::q, q1, q2, pileupReCalc_HLTpaths::scale, mathSSE::sqrt(), mps_update::status, reco::Candidate::status(), reco::t2, tMass_, MetAnalyzer::u2, reco::Candidate::vertex(), w2, wMass_, and reco::writeSpecific().
|
private |
Definition at line 33 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 44 of file PseudoTopProducer.h.
Referenced by produce(), and PseudoTopProducer().
|
private |
Definition at line 44 of file PseudoTopProducer.h.
Referenced by produce(), and PseudoTopProducer().
|
private |
Definition at line 34 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 45 of file PseudoTopProducer.h.
Referenced by produce(), and PseudoTopProducer().
|
private |
Definition at line 35 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 35 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 37 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 39 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 40 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 38 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 35 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 35 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 37 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 39 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 41 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 41 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 40 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 36 of file PseudoTopProducer.h.
Referenced by produce().
|
private |
Definition at line 36 of file PseudoTopProducer.h.
Referenced by produce().