#include "PhysicsTools/PatAlgos/interface/PATTauProducer.h"
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 31 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 141 of file PATTauProducer.cc.
|
static |
Definition at line 502 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 495 of file PATTauProducer.cc.
Referenced by produce().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 145 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, pat::tau::TauPFEssential::ecalEnergy_, pat::tau::TauPFEssential::ecalEnergyLeadChargedHadrCand_, 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::tau::TauPFEssential::emFraction_, pat::helper::EfficiencyLoader::enabled(), pat::helper::KinResolutionsLoader::enabled(), pat::helper::MultiIsolator::enabled(), pat::helper::MultiIsolator::endEvent(), pat::tau::TauPFEssential::etaAtEcalEntrance_, pat::tau::TauPFEssential::etaAtEcalEntranceLeadChargedCand_, 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::Ptr< T >::get(), edm::Event::getByToken(), getTauIdDiscriminator(), reco::PFTauTransverseImpactParameter::hasSecondaryVertex(), pat::tau::TauPFEssential::hasSV_, pat::tau::TauPFEssential::hcalEnergy_, pat::tau::TauPFEssential::hcalEnergyLeadChargedHadrCand_, i, pat::Tau::initializeJEC(), reco::PFTauTransverseImpactParameter::ip3d(), pat::tau::TauPFEssential::ip3d_, reco::PFTauTransverseImpactParameter::ip3d_error(), pat::tau::TauPFEssential::ip3d_error_, edm::Ref< C, T, F >::isAvailable(), edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), isoDepositLabels_, isoDepositTokens_, isolator_, isolatorTmpStorage_, pat::Tau::isPFTau(), edm::EventBase::isRealData(), j, edm::InputTag::label(), pat::tau::TauPFEssential::leadingTrackNormChi2_, eostools::move(), gen::n, pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), tauProducer_cfi::patTaus, pat::Tau::pfEssential_, RecoPFTauTag_cff::PFTau, pfTaus_cff::pfTaus, pfTauToken_, pat::tau::TauPFEssential::phiAtEcalEntrance_, reco::TrackBase::pt(), pat::tau::TauPFEssential::ptLeadChargedCand_, 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().