Go to the documentation of this file.
13 #ifndef L1_TRACK_TRIGGER_TRACK_ASSOCIATOR_H
14 #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 (
auto iTag = TTTracksInputTags.begin(); iTag != TTTracksInputTags.end(); iTag++) {
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.
Log< level::Info, false > LogInfo
bool TTTrackAllowOneFalse2SStub
TTTrackAllowOneFalse2SStub
edm::EDGetTokenT< TTClusterAssociationMap< T > > TTClusterTruthToken
void endRun(const edm::Run &run, const edm::EventSetup &iSetup) override
End run.
edm::EDGetTokenT< TTStubAssociationMap< T > > TTStubTruthToken
T getParameter(std::string const &) const
Plugin to create the MC truth for TTTracks.
std::vector< edm::InputTag > TTTracksInputTags
Data members.
std::vector< edm::EDGetTokenT< std::vector< TTTrack< T > > > > TTTracksTokens
void beginRun(const edm::Run &run, const edm::EventSetup &iSetup) override
Mandatory methods.
TTTrackAssociator(const edm::ParameterSet &iConfig)
Constructors.