75 LogTrace(
"MuonAssociatorEDProducer") <<
"getting TrackingParticle collection - " <<
tpTag;
76 event.getByToken(
tpToken_, TPCollection);
77 LogTrace(
"MuonAssociatorEDProducer") <<
"\t... size = " << TPCollection->size();
80 LogTrace(
"MuonAssociatorEDProducer") <<
"getting reco::Track collection - " <<
tracksTag;
81 bool trackAvailable =
event.getByToken(
tracksToken_, trackCollection);
83 LogTrace(
"MuonAssociatorEDProducer") <<
"\t... size = " << trackCollection->size();
85 LogTrace(
"MuonAssociatorEDProducer") <<
"\t... NOT FOUND.";
87 std::unique_ptr<reco::RecoToSimCollection> rts;
88 std::unique_ptr<reco::SimToRecoCollection>
str;
94 LogTrace(
"MuonAssociatorEDProducer") <<
"\n ignoring missing track collection." 98 <<
"\n >>> RecoToSim association <<< \n" 100 <<
" (size = " << trackCollection->size() <<
") \n" 102 <<
" (size = " << TPCollection->size() <<
")";
108 <<
"\n >>> SimToReco association <<< \n" 110 <<
" (size = " << TPCollection->size() <<
") \n" 112 <<
" (size = " << trackCollection->size() <<
")";
edm::EDGetTokenT< TrackingParticleCollection > tpToken_
MuonAssociatorByHits * associatorByHits
reco::RecoToSimCollection associateRecoToSim(edm::Handle< edm::View< reco::Track >> &tCH, edm::Handle< TrackingParticleCollection > &tPCH, const edm::Event *event, const edm::EventSetup *setup) const
edm::EDGetTokenT< edm::View< reco::Track > > tracksToken_
virtual reco::SimToRecoCollection associateSimToReco(edm::Handle< edm::View< reco::Track >> &tCH, edm::Handle< TrackingParticleCollection > &tPCH, const edm::Event *event, const edm::EventSetup *setup) const
bool ignoreMissingTrackCollection