14 #ifndef L1_TRACK_TRIGGER_STUB_ASSOCIATOR_H
15 #define L1_TRACK_TRIGGER_STUB_ASSOCIATOR_H
59 std::vector<edm::EDGetTokenT<edmNew::DetSetVector<TTStub<T> > > >
ttStubsTokens_;
82 ttStubsInputTags_ = iConfig.
getParameter<std::vector<edm::InputTag> >(
"TTStubs");
83 ttClusterTruthInputTags_ = iConfig.
getParameter<std::vector<edm::InputTag> >(
"TTClusterTruth");
85 for (
const auto& iTag : ttClusterTruthInputTags_) {
89 for (
const auto& iTag : ttStubsInputTags_) {
92 produces<TTStubAssociationMap<T> >(iTag.instance());
100 template <
typename T>
104 template <
typename T>
107 edm::LogInfo(
"TTStubAssociator< ") << templateNameFinder<T>() <<
" > loaded.";
111 template <
typename T>
std::vector< edm::InputTag > ttStubsInputTags_
Data members.
std::vector< edm::EDGetTokenT< edmNew::DetSetVector< TTStub< T > > > > ttStubsTokens_
std::vector< edm::EDGetTokenT< TTClusterAssociationMap< T > > > ttClusterTruthTokens_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > theTrackerTopologyToken_
Stores association of Truth Particles (TP) to L1 Track-Trigger Clusters.
~TTStubAssociator() override
Destructor.
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > theTrackerGeometryToken_
Class to store the L1 Track Trigger stubs.
TTStubAssociator(const edm::ParameterSet &iConfig)
Constructors.
void beginRun(const edm::Run &run, const edm::EventSetup &iSetup) override
Mandatory methods.
Log< level::Info, false > LogInfo
T getParameter(std::string const &) const
Plugin to create the MC truth for TTStubs.
void endRun(const edm::Run &run, const edm::EventSetup &iSetup) override
End run.
std::vector< edm::InputTag > ttClusterTruthInputTags_