Go to the documentation of this file.
13 #ifndef L1_TRACK_TRIGGER_CLUSTER_ASSOCIATOR_H
14 #define L1_TRACK_TRIGGER_CLUSTER_ASSOCIATOR_H
92 TTClustersInputTags = iConfig.
getParameter<std::vector<edm::InputTag> >(
"TTClusters");
94 for (
auto iTag = TTClustersInputTags.begin(); iTag != TTClustersInputTags.end(); iTag++) {
97 produces<TTClusterAssociationMap<T> >((*iTag).instance());
102 template <
typename T>
106 template <
typename T>
113 edm::LogInfo(
"TTClusterAssociator< ") << templateNameFinder<T>() <<
" > loaded.";
117 template <
typename T>
edm::Handle< std::vector< TrackingParticle > > TrackingParticleHandle
std::vector< edm::InputTag > TTClustersInputTags
edm::ESHandle< TrackerTopology > theTrackerTopology
Plugin to create the MC truth for TTClusters.
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
~TTClusterAssociator() override
Destructor.
edm::Handle< edm::DetSetVector< PixelDigiSimLink > > thePixelDigiSimLinkHandle
Data members.
edm::EDGetTokenT< std::vector< TrackingParticle > > tpToken
edm::EDGetTokenT< edm::DetSetVector< PixelDigiSimLink > > digisimLinkToken
void beginRun(const edm::Run &run, const edm::EventSetup &iSetup) override
Mandatory methods.
void endRun(const edm::Run &run, const edm::EventSetup &iSetup) override
End run.
TTClusterAssociator(const edm::ParameterSet &iConfig)
Constructors.
edm::ESHandle< TrackerGeometry > theTrackerGeometry
T getParameter(std::string const &) const
NOTE: this is needed even if it seems not.
std::vector< edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< T > > > > TTClustersTokens