00001 #include "RecoTauTag/RecoTau/interface/RecoTauBuilderPlugins.h" 00002 #include "RecoTauTag/RecoTau/interface/RecoTauCommonUtilities.h" 00003 #include "DataFormats/VertexReco/interface/Vertex.h" 00004 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00005 00006 namespace reco { namespace tau { 00007 00008 // Update our reference to the PFCandidates & PVs 00009 void RecoTauBuilderPlugin::beginEvent() { 00010 vertexAssociator_.setEvent(*evt()); 00011 evt()->getByLabel(pfCandSrc_, pfCands_); 00012 } 00013 00014 }} // end namespace reco::tau 00015 00016 #include "FWCore/Framework/interface/MakerMacros.h" 00017 EDM_REGISTER_PLUGINFACTORY(RecoTauBuilderPluginFactory, 00018 "RecoTauBuilderPluginFactory"); 00019 EDM_REGISTER_PLUGINFACTORY(RecoTauModifierPluginFactory, 00020 "RecoTauModifierPluginFactory"); 00021 EDM_REGISTER_PLUGINFACTORY(RecoTauCleanerPluginFactory, 00022 "RecoTauCleanerPluginFactory");