Public Types | |
typedef pat::IsolatedTrack::LorentzVector | LorentzVector |
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 |
Public Member Functions | |
void | getCaloJetEnergy (const LorentzVector &, const reco::CaloJetCollection *, float &, float &) const |
float | getDeDx (const reco::DeDxHitInfo *hitInfo, bool doPixel, bool doStrip) const |
void | getIsolation (const LorentzVector &p4, const pat::PackedCandidateCollection *pc, int pc_idx, pat::PFIsolation &iso, pat::PFIsolation &miniiso) const |
TrackDetMatchInfo | getTrackDetMatchInfo (const edm::Event &, const edm::EventSetup &, const reco::Track &) |
PATIsolatedTrackProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
~PATIsolatedTrackProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Additional Inherited Members | |
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 43 of file PATIsolatedTrackProducer.cc.
Definition at line 45 of file PATIsolatedTrackProducer.cc.
|
explicit |
Definition at line 92 of file PATIsolatedTrackProducer.cc.
References edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getParameter(), TrackAssociatorParameters::loadParameters(), miniIsoParams_, metProducer_cfi::parameters, trackAssociator_, trackAssocParameters_, and TrackDetectorAssociator::useDefaultPropagator().
pat::PATIsolatedTrackProducer::~PATIsolatedTrackProducer | ( | ) |
Definition at line 129 of file PATIsolatedTrackProducer.cc.
void pat::PATIsolatedTrackProducer::getCaloJetEnergy | ( | const LorentzVector & | p4, |
const reco::CaloJetCollection * | cJets, | ||
float & | caloJetEm, | ||
float & | caloJetHad | ||
) | const |
Definition at line 497 of file PATIsolatedTrackProducer.cc.
References caloJet_DR_, DEFINE_FWK_MODULE, deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::CaloJet::emEnergyInEB(), reco::CaloJet::emEnergyInEE(), reco::CaloJet::emEnergyInHF(), reco::CaloJet::hadEnergyInHB(), reco::CaloJet::hadEnergyInHE(), reco::CaloJet::hadEnergyInHF(), mps_fire::i, and p4.
Referenced by produce().
float pat::PATIsolatedTrackProducer::getDeDx | ( | const reco::DeDxHitInfo * | hitInfo, |
bool | doPixel, | ||
bool | doStrip | ||
) | const |
Definition at line 439 of file PATIsolatedTrackProducer.cc.
References reco::DeDxHitInfo::charge(), mps_fire::i, fastTrackerRecHitType::isPixel(), NULL, reco::DeDxHitInfo::pathlength(), reco::DeDxHitInfo::pixelCluster(), funct::pow(), mps_fire::result, DeDxTools::shapeSelection(), reco::DeDxHitInfo::size(), findQualityFiles::size, and reco::DeDxHitInfo::stripCluster().
Referenced by produce().
void pat::PATIsolatedTrackProducer::getIsolation | ( | const LorentzVector & | p4, |
const pat::PackedCandidateCollection * | pc, | ||
int | pc_idx, | ||
pat::PFIsolation & | iso, | ||
pat::PFIsolation & | miniiso | ||
) | const |
Definition at line 391 of file PATIsolatedTrackProducer.cc.
References funct::abs(), deltaR(), runTauDisplay::dr, hpstanc_transforms::max, min(), miniIsoParams_, muons2muons_cfi::PFIsolation, pfIsolation_DR_, pfIsolation_DZ_, and EnergyCorrector::pt.
Referenced by produce().
TrackDetMatchInfo pat::PATIsolatedTrackProducer::getTrackDetMatchInfo | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const reco::Track & | track | ||
) |
Definition at line 484 of file PATIsolatedTrackProducer.cc.
References TrackDetectorAssociator::associate(), ecalTB2006H4_GenSimDigiReco_cfg::bField, edm::EventSetup::get(), trajectoryStateTransform::initialFreeState(), trackAssociator_, and trackAssocParameters_.
Referenced by produce().
|
overridevirtual |
Definition at line 131 of file PATIsolatedTrackProducer.cc.
References absIso_cut_, isolatedTracks_cfi::caloJets, caloJets_, ALCARECOTkAlJpsiMuMu_cff::charge, reco::TrackBase::charge(), pat::PackedCandidate::charge(), pat::PFIsolation::chargedHadronIso(), edm::Association< C >::contains(), TrackDetMatchInfo::crossedEcalIds, TrackDetMatchInfo::crossedHcalIds, spr::deltaEta, MuonCkfTrajectoryBuilder_cfi::deltaPhi, particleFlowDisplacedVertexCandidate_cfi::dxy, reco::TrackBase::dxy(), pat::PackedCandidate::dxy(), reco::TrackBase::dxyError(), pat::PackedCandidate::dxyError(), allConversions_cfi::dz, reco::TrackBase::dz(), pat::PackedCandidate::dz(), reco::TrackBase::dzError(), pat::PackedCandidate::dzError(), reco::TrackBase::eta(), EcalCondObjectContainer< T >::find(), pat::PackedCandidate::fromPV(), isolatedTracks_cfi::generalTracks, edm::EventSetup::get(), edm::Ref< C, T, F >::get(), edm::Event::getByToken(), getCaloJetEnergy(), getDeDx(), getIsolation(), getTrackDetMatchInfo(), reco::JetExtendedAssociation::getValue(), HcalCondObjectContainer< Item >::getValues(), gt2dedxHitInfo_, gt2dedxPixel_, gt2dedxStrip_, gt2lt_, gt2pc_, gt_, pat::PackedCandidate::hasTrackDetails(), reco::TrackBase::hitPattern(), AnalysisDataFormats_SUSYBSMObjects::hp, edm::HandleBase::id(), edm::Ref< C, T, F >::id(), createfilelist::int, edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), edm::Ref< C, T, F >::key(), lt_, funct::m, miniRelIso_cut_, eostools::move(), reco::TrackBase::p(), p4, pat::PackedCandidate::p4(), pc2pf_, pc_, cosmictrackingParticleSelector_cfi::pdgId, pat::PackedCandidate::pdgId(), reco::TrackBase::phi(), reco::Vertex::position(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), pT_cut_, pT_cut_noIso_, edm::Event::put(), MetAnalyzer::pv(), pv_, reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::TrackBase::qualityMask(), relIso_cut_, mathSSE::sqrt(), photonIsolationHIProducer_cfi::trackQuality, TrackDetMatchInfo::trkGlobPosAtEcal, usePrecomputedDeDxPixel_, and usePrecomputedDeDxStrip_.
|
private |
Definition at line 80 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 83 of file PATIsolatedTrackProducer.cc.
Referenced by getCaloJetEnergy().
|
private |
Definition at line 70 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 73 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 72 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 71 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 68 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 67 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 65 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 64 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 85 of file PATIsolatedTrackProducer.cc.
Referenced by getIsolation(), and PATIsolatedTrackProducer().
|
private |
Definition at line 82 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 69 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 63 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 78 of file PATIsolatedTrackProducer.cc.
Referenced by getIsolation().
|
private |
Definition at line 79 of file PATIsolatedTrackProducer.cc.
Referenced by getIsolation().
|
private |
Definition at line 76 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 77 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 66 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 81 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 87 of file PATIsolatedTrackProducer.cc.
Referenced by getTrackDetMatchInfo(), and PATIsolatedTrackProducer().
|
private |
Definition at line 88 of file PATIsolatedTrackProducer.cc.
Referenced by getTrackDetMatchInfo(), and PATIsolatedTrackProducer().
|
private |
Definition at line 75 of file PATIsolatedTrackProducer.cc.
Referenced by produce().
|
private |
Definition at line 74 of file PATIsolatedTrackProducer.cc.
Referenced by produce().