24 produces<reco::PFRecTrackCollection>();
26 std::vector<InputTag>
tags = iConfig.
getParameter<vector<InputTag> >(
"TkColList");
55 auto PfTrColl = std::make_unique<reco::PFRecTrackCollection>();
59 bool foundgsf =
false;
73 e(0, 0) = 0.0015 * 0.0015;
74 e(1, 1) = 0.0015 * 0.0015;
89 const vector<Trajectory> dummyTj(0);
98 const vector<Trajectory>* Tj = &dummyTj;
107 for (
unsigned int i = 0;
i < Tk.size();
i++) {
111 bool isMuCandidate =
false;
116 for (
unsigned j = 0;
j < recMuons->size();
j++) {
119 if (muonref->track() == trackRef && muonref->isGlobalMuon()) {
120 isMuCandidate =
true;
126 if (!isMuCandidate) {
135 for (
auto const& gsfTrack : *gsftrackcoll) {
136 if (gsfTrack.seedRef().isNull())
138 auto const&
seed = *(gsfTrack.extra()->seedRef());
139 auto const& ElSeed = dynamic_cast<ElectronSeed const&>(
seed);
140 if (ElSeed.ctfTrack().isNonnull()) {
141 if (ElSeed.ctfTrack() == trackRef) {
171 pftrack.setSTIP(stip);
172 PfTrColl->push_back(pftrack);
194 pftrack.setSTIP(stip);
195 PfTrColl->push_back(pftrack);