Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:54

0001 #include "RecoTauTag/RecoTau/interface/RecoTauBuilderPlugins.h"
0002 #include "RecoTauTag/RecoTau/interface/RecoTauCommonUtilities.h"
0003 #include "DataFormats/VertexReco/interface/Vertex.h"
0004 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0005 
0006 namespace reco {
0007   namespace tau {
0008 
0009     // Update our reference to the PFCandidates & PVs
0010     void RecoTauBuilderPlugin::beginEvent() {
0011       vertexAssociator_.setEvent(*evt());
0012       evt()->getByToken(pfCand_token, pfCands_);
0013     }
0014 
0015   }  // namespace tau
0016 }  // namespace reco
0017 
0018 #include "FWCore/Framework/interface/MakerMacros.h"
0019 EDM_REGISTER_PLUGINFACTORY(RecoTauBuilderPluginFactory, "RecoTauBuilderPluginFactory");
0020 EDM_REGISTER_PLUGINFACTORY(RecoTauModifierPluginFactory, "RecoTauModifierPluginFactory");
0021 EDM_REGISTER_PLUGINFACTORY(RecoTauCleanerPluginFactory, "RecoTauCleanerPluginFactory");