#include "PhysicsTools/PatAlgos/interface/PATTauProducer.h"
Public Member Functions | |
PATTauProducer (const edm::ParameterSet &iConfig) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
~PATTauProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
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::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Produces pat::Tau's.
The PATTauProducer produces analysis-level pat::Tau's starting from a collection of objects of TauType.
Definition at line 47 of file PATTauProducer.h.
|
private |
Definition at line 89 of file PATTauProducer.h.
|
explicit |
Definition at line 31 of file PATTauProducer.cc.
References addEfficiencies_, addGenJetMatch_, addGenMatch_, addResolutions_, addTauID_, addTauJetCorrFactors_, pat::EcalIso, efficiencyLoader_, embedGenJetMatch_, embedGenMatch_, embedIsolationPFCands_, embedIsolationPFChargedHadrCands_, embedIsolationPFGammaCands_, embedIsolationPFNeutralHadrCands_, embedIsolationTracks_, embedLeadPFCand_, embedLeadPFChargedHadrCand_, embedLeadPFNeutralCand_, embedLeadTrack_, embedSignalPFCands_, embedSignalPFChargedHadrCands_, embedSignalPFGammaCands_, embedSignalPFNeutralHadrCands_, embedSignalTracks_, edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), genJetMatchSrc_, genMatchSrc_, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), pat::HcalIso, isoDepositLabels_, combine::key, h::names, pat::PfAllParticleIso, pat::PfChargedHadronIso, pat::PfGammaIso, pat::PfNeutralHadronIso, resolutionLoader_, tauIDSrcs_, tauJetCorrFactorsSrc_, tauSrc_, pat::TrackIso, pat::UserBaseIso, userDataHelper_, and useUserData_.
PATTauProducer::~PATTauProducer | ( | ) |
Definition at line 134 of file PATTauProducer.cc.
|
static |
Definition at line 408 of file PATTauProducer.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addOptional(), pat::helper::KinResolutionsLoader::fillDescription(), pat::PATUserDataHelper< ObjectType >::fillDescription(), edm::ParameterSetDescription::setAllowAnything(), edm::ParameterSetDescription::setComment(), and edm::ParameterDescriptionNode::setComment().
|
private |
Definition at line 401 of file PATTauProducer.cc.
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 138 of file PATTauProducer.cc.
References addGenJetMatch_, addGenMatch_, pat::PATObject< ObjectType >::addGenParticleRef(), pat::Tau::addJECFactors(), addTauID_, addTauJetCorrFactors_, pat::helper::MultiIsolator::beginEvent(), 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(), edm::hlt::Exception, pat::helper::MultiIsolator::fill(), spr::find(), first, genJetMatchSrc_, genMatchSrc_, edm::Event::getByLabel(), getTauIdDiscriminator(), i, pat::Tau::initializeJEC(), edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), isoDepositLabels_, isolator_, isolatorTmpStorage_, pat::Tau::isPFTau(), edm::EventBase::isRealData(), j, n, pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), tauProducer_cfi::patTaus, pfTaus_cff::pfTaus, pTTauComparator_, edm::Event::put(), resolutionLoader_, edm::second(), 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(), python.multivaluedict::sort(), tauIDSrcs_, tauJetCorrFactorsSrc_, tauSrc_, userDataHelper_, and useUserData_.
|
private |
Definition at line 99 of file PATTauProducer.h.
Referenced by PATTauProducer().
|
private |
Definition at line 81 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 102 of file PATTauProducer.h.
Referenced by PATTauProducer().
|
private |
Definition at line 88 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 85 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 100 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 82 of file PATTauProducer.h.
Referenced by PATTauProducer().
|
private |
Definition at line 78 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 73 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 74 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 62 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 66 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 63 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 71 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 64 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 83 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 79 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 97 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 95 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 96 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 93 of file PATTauProducer.h.
Referenced by produce().
|
private |
Definition at line 103 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 90 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 86 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 106 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().
|
private |
Definition at line 105 of file PATTauProducer.h.
Referenced by PATTauProducer(), and produce().