Go to the documentation of this file.
14 #ifndef L1_TRACK_TRIGGER_TRACK_ASSOCIATOR_H
15 #define L1_TRACK_TRIGGER_TRACK_ASSOCIATOR_H
78 ttTracksInputTags_ = iConfig.
getParameter<std::vector<edm::InputTag> >(
"TTTracks");
83 edm::LogInfo(
"TTTrackAssociator< ") <<
"Allow track if no more than one 2S stub doesn't match truth.";
85 edm::LogInfo(
"TTTrackAssociator< ") <<
"All 2S stubs must match truth.";
88 for (
const auto& iTag : ttTracksInputTags_) {
91 produces<TTTrackAssociationMap<T> >(iTag.instance());
100 template <
typename T>
103 edm::LogInfo(
"TTStubAssociator< ") <<
"TTTrackAssociator< " << templateNameFinder<T>() <<
" > loaded.";
107 template <
typename T>
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
~TTTrackAssociator() override
Destructor.
Class to store the L1 Track Trigger tracks.
std::vector< edm::InputTag > ttTracksInputTags_
Data members.
Log< level::Info, false > LogInfo
std::vector< edm::EDGetTokenT< std::vector< TTTrack< T > > > > ttTracksTokens_
bool TTTrackAllowOneFalse2SStub
TTTrackAllowOneFalse2SStub
edm::EDGetTokenT< TTStubAssociationMap< T > > ttStubTruthToken_
edm::EDGetTokenT< TTClusterAssociationMap< T > > ttClusterTruthToken_
void endRun(const edm::Run &run, const edm::EventSetup &iSetup) override
End run.
T getParameter(std::string const &) const
Plugin to create the MC truth for TTTracks.
void beginRun(const edm::Run &run, const edm::EventSetup &iSetup) override
Mandatory methods.
TTTrackAssociator(const edm::ParameterSet &iConfig)
Constructors.