#include "PhysicsTools/PatAlgos/interface/PATTauProducer.h"
Public Member Functions | |
PATTauProducer (const edm::ParameterSet &iConfig) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~PATTauProducer () | |
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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::pair< std::string, edm::InputTag > | NameTag |
Private Member Functions | |
template<typename TauCollectionType , typename TauDiscrType > | |
float | getTauIdDiscriminator (const edm::Handle< TauCollectionType > &, size_t, const edm::Handle< TauDiscrType > &) |
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 |
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) |
Produces pat::Tau's.
The PATTauProducer produces analysis-level pat::Tau's starting from a collection of objects of TauType.
Definition at line 46 of file PATTauProducer.h.
|
private |
Definition at line 92 of file PATTauProducer.h.
|
explicit |
Definition at line 34 of file PATTauProducer.cc.
References addGenMatch_, baseTauToken_, caloTauToken_, edm::EDConsumerBase::consumes(), embedGenMatch_, embedIsolationPFCands_, embedIsolationPFChargedHadrCands_, embedIsolationPFGammaCands_, embedIsolationPFNeutralHadrCands_, embedIsolationTracks_, embedLeadPFCand_, embedLeadPFChargedHadrCand_, embedLeadPFNeutralCand_, embedLeadTrack_, embedSignalPFCands_, embedSignalPFChargedHadrCands_, embedSignalPFGammaCands_, embedSignalPFNeutralHadrCands_, embedSignalTracks_, edm::ParameterSet::existsAs(), genMatchTokens_, edm::ParameterSet::getParameter(), pfTauToken_, GlobalPosition_Frontier_DevDB_cff::tag, tauTransverseImpactParameterSrc_, tauTransverseImpactParameterToken_, and edm::vector_transform().
PATTauProducer::~PATTauProducer | ( | ) |
Definition at line 144 of file PATTauProducer.cc.
|
static |
Definition at line 438 of file PATTauProducer.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addOptional(), pat::helper::KinResolutionsLoader::fillDescription(), pat::PATUserDataHelper< ObjectType >::fillDescription(), HLT_25ns10e33_v2_cff::InputTag, edm::ParameterSetDescription::setAllowAnything(), edm::ParameterSetDescription::setComment(), and edm::ParameterDescriptionNode::setComment().
|
private |
Definition at line 431 of file PATTauProducer.cc.
Referenced by produce().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 148 of file PATTauProducer.cc.
References addGenJetMatch_, addGenMatch_, pat::PATObject< ObjectType >::addGenParticleRef(), pat::Tau::addJECFactors(), addTauID_, addTauJetCorrFactors_, baseTauToken_, pat::helper::MultiIsolator::beginEvent(), caloTauIDTokens_, caloTauToken_, reco::PFTauTransverseImpactParameter::dxy(), pat::tau::TauPFEssential::dxy_, reco::PFTauTransverseImpactParameter::dxy_error(), pat::tau::TauPFEssential::dxy_error_, reco::PFTauTransverseImpactParameter::dxy_PCA(), pat::tau::TauPFEssential::dxy_PCA_, alignCSCRings::e, efficiencyLoader_, embedGenMatch_, pat::PATObject< ObjectType >::embedGenParticle(), pat::Tau::embedIsolationPFCands(), embedIsolationPFCands_, pat::Tau::embedIsolationPFChargedHadrCands(), embedIsolationPFChargedHadrCands_, pat::Tau::embedIsolationPFGammaCands(), embedIsolationPFGammaCands_, pat::Tau::embedIsolationPFNeutralHadrCands(), embedIsolationPFNeutralHadrCands_, pat::Tau::embedIsolationTracks(), embedIsolationTracks_, pat::Tau::embedLeadPFCand(), embedLeadPFCand_, pat::Tau::embedLeadPFChargedHadrCand(), embedLeadPFChargedHadrCand_, pat::Tau::embedLeadPFNeutralCand(), embedLeadPFNeutralCand_, pat::Tau::embedLeadTrack(), embedLeadTrack_, pat::Tau::embedSignalPFCands(), embedSignalPFCands_, pat::Tau::embedSignalPFChargedHadrCands(), embedSignalPFChargedHadrCands_, pat::Tau::embedSignalPFGammaCands(), embedSignalPFGammaCands_, pat::Tau::embedSignalPFNeutralHadrCands(), embedSignalPFNeutralHadrCands_, pat::Tau::embedSignalTracks(), embedSignalTracks_, pat::helper::EfficiencyLoader::enabled(), pat::helper::KinResolutionsLoader::enabled(), pat::helper::MultiIsolator::enabled(), pat::helper::MultiIsolator::endEvent(), Exception, pat::helper::MultiIsolator::fill(), spr::find(), plotBeamSpotDB::first, reco::PFTauTransverseImpactParameter::flightLength(), pat::tau::TauPFEssential::flightLength_, reco::PFTauTransverseImpactParameter::flightLengthSig(), pat::tau::TauPFEssential::flightLengthSig_, genJetMatchToken_, genMatchTokens_, edm::Event::getByToken(), getTauIdDiscriminator(), reco::PFTauTransverseImpactParameter::hasSecondaryVertex(), pat::tau::TauPFEssential::hasSV_, i, customizeTrackingMonitorSeedNumber::idx, pat::Tau::initializeJEC(), edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), isoDepositLabels_, isoDepositTokens_, isolator_, isolatorTmpStorage_, pat::Tau::isPFTau(), edm::EventBase::isRealData(), j, edm::InputTag::label(), gen::n, pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), tauProducer_cfi::patTaus, pat::Tau::pfEssential_, RecoPFTauTag_cff::PFTau, pfTaus_cff::pfTaus, pfTauToken_, pTTauComparator_, edm::Event::put(), resolutionLoader_, pat::Tau::setDecayMode(), pat::helper::EfficiencyLoader::setEfficiencies(), pat::Tau::setGenJet(), pat::Lepton< LeptonType >::setIsoDeposit(), pat::Lepton< LeptonType >::setIsolation(), pat::helper::KinResolutionsLoader::setResolutions(), pat::Tau::setTauIDs(), tauIDSrcs_, tauJetCorrFactorsTokens_, tauTransverseImpactParameterSrc_, tauTransverseImpactParameterToken_, userDataHelper_, and useUserData_.
|
private |
Definition at line 105 of file PATTauProducer.h.
|
private |
Definition at line 84 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 80 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 108 of file PATTauProducer.h.
|
private |
Definition at line 91 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 88 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 60 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 94 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 63 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 106 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 85 of file PATTauProducer.h.
|
private |
Definition at line 81 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 75 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 76 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 78 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 77 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 65 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 68 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 69 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 70 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 66 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 71 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 72 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 74 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 73 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 67 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 86 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 82 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 102 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 103 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 100 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 101 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 95 of file PATTauProducer.h.
|
private |
Definition at line 62 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 98 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 109 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 93 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 89 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 64 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 61 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 112 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 111 of file PATTauProducer.h.
Referenced by produce().