67 produces<reco::PFRecTrackCollection>();
69 std::vector<InputTag>
tags = iConfig.
getParameter<vector<InputTag>>(
"TkColList");
98 auto PfTrColl = std::make_unique<reco::PFRecTrackCollection>();
102 bool foundgsf =
false;
116 e(0, 0) = 0.0015 * 0.0015;
117 e(1, 1) = 0.0015 * 0.0015;
131 const vector<Trajectory> dummyTj(0);
140 const vector<Trajectory>* Tj = &dummyTj;
149 for (
unsigned int i = 0;
i < Tk.size();
i++) {
153 bool isMuCandidate =
false;
158 for (
unsigned j = 0;
j < recMuons->size();
j++) {
161 if (muonref->track() == trackRef && muonref->isGlobalMuon()) {
162 isMuCandidate =
true;
168 if (!isMuCandidate) {
177 for (
auto const& gsfTrack : *gsftrackcoll) {
178 if (gsfTrack.seedRef().isNull())
180 auto const&
seed = *(gsfTrack.extra()->seedRef());
181 auto const& ElSeed = dynamic_cast<ElectronSeed const&>(
seed);
182 if (ElSeed.ctfTrack().isNonnull()) {
183 if (ElSeed.ctfTrack() == trackRef) {
213 pftrack.setSTIP(stip);
214 PfTrColl->push_back(pftrack);
236 pftrack.setSTIP(stip);
237 PfTrColl->push_back(pftrack);