RecoTauTag
RecoTau
src
RecoTauBuilderPlugins.cc
Go to the documentation of this file.
1
#include "
RecoTauTag/RecoTau/interface/RecoTauBuilderPlugins.h
"
2
#include "
RecoTauTag/RecoTau/interface/RecoTauCommonUtilities.h
"
3
#include "
DataFormats/VertexReco/interface/Vertex.h
"
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
6
namespace
reco
{
7
namespace
tau
{
8
9
// Update our reference to the PFCandidates & PVs
10
void
RecoTauBuilderPlugin::beginEvent
() {
11
vertexAssociator_
.
setEvent
(*
evt
());
12
evt
()->
getByToken
(
pfCand_token
,
pfCands_
);
13
}
14
15
}
// namespace tau
16
}
// namespace reco
17
18
#include "
FWCore/Framework/interface/MakerMacros.h
"
19
EDM_REGISTER_PLUGINFACTORY
(
RecoTauBuilderPluginFactory
,
"RecoTauBuilderPluginFactory"
);
20
EDM_REGISTER_PLUGINFACTORY
(
RecoTauModifierPluginFactory
,
"RecoTauModifierPluginFactory"
);
21
EDM_REGISTER_PLUGINFACTORY
(
RecoTauCleanerPluginFactory
,
"RecoTauCleanerPluginFactory"
);
reco::tau::RecoTauEventHolderPlugin::evt
const edm::Event * evt() const
Definition:
RecoTauPluginsCommon.cc:16
MessageLogger.h
metsig::tau
Definition:
SignAlgoResolutions.h:49
reco::tau::RecoTauBuilderPlugin::pfCand_token
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCand_token
Definition:
RecoTauBuilderPlugins.h:100
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
MakerMacros.h
edm::Event::getByToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition:
Event.h:535
RecoTauCommonUtilities.h
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition:
PluginFactory.h:89
Vertex.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
reco::tau::RecoTauBuilderPlugin::beginEvent
void beginEvent() override
Definition:
RecoTauBuilderPlugins.cc:10
reco::tau::RecoTauVertexAssociator::setEvent
void setEvent(const edm::Event &evt)
Load the vertices from the event.
Definition:
RecoTauVertexAssociator.cc:242
RecoTauBuilderPlugins.h
reco::tau::RecoTauBuilderPlugin::vertexAssociator_
reco::tau::RecoTauVertexAssociator vertexAssociator_
Definition:
RecoTauBuilderPlugins.h:99
reco::tau::RecoTauBuilderPlugin::pfCands_
edm::Handle< edm::View< reco::Candidate > > pfCands_
Definition:
RecoTauBuilderPlugins.h:98
Generated for CMSSW Reference Manual by
1.8.16