13 constexpr float defaultInvalidTrackReso = 0.350f;
57 vector<TransientTrack>
60 vector<TransientTrack> ttVect;
61 ttVect.reserve((*trkColl).size());
62 for (
unsigned int i = 0;
i < (*trkColl).size() ;
i++) {
68 vector<TransientTrack>
71 vector<TransientTrack> ttVect;
72 ttVect.reserve((*trkColl).size());
73 for (
unsigned int i = 0;
i < (*trkColl).size() ;
i++) {
80 vector<TransientTrack>
83 vector<TransientTrack> ttVect;
84 ttVect.reserve((*trkColl).size());
85 for (
unsigned int i = 0;
i < (*trkColl).size() ;
i++) {
86 const Track * trk = &(*trkColl)[
i];
98 vector<TransientTrack>
103 vector<TransientTrack> ttVect;
104 ttVect.reserve((*trkColl).size());
105 for (
unsigned int i = 0;
i < (*trkColl).size() ;
i++) {
107 double time = trackTimes[ref];
108 double timeReso = trackTimeResos[ref];
109 timeReso = ( timeReso > 1
e-6 ? timeReso : defaultInvalidTrackReso );
112 timeReso = defaultInvalidTrackReso;
114 ttVect.push_back(
TransientTrack(ref, time, timeReso, theField, theTrackingGeometry));
119 vector<TransientTrack>
124 vector<TransientTrack> ttVect;
125 ttVect.reserve((*trkColl).size());
126 for (
unsigned int i = 0;
i < (*trkColl).size() ;
i++) {
128 double time = trackTimes[ref];
129 double timeReso = trackTimeResos[ref];
130 timeReso = ( timeReso > 1
e-6 ? timeReso : defaultInvalidTrackReso );
133 timeReso = defaultInvalidTrackReso;
141 vector<TransientTrack>
146 vector<TransientTrack> ttVect;
147 ttVect.reserve((*trkColl).size());
148 for (
unsigned int i = 0;
i < (*trkColl).size() ;
i++) {
149 const Track * trk = &(*trkColl)[
i];
153 double time = trackTimes[ref];
154 double timeReso = trackTimeResos[ref];
155 timeReso = ( timeReso > 1
e-6 ? timeReso : defaultInvalidTrackReso );
158 timeReso = defaultInvalidTrackReso;
164 double time = trackTimes[ref];
165 double timeReso = trackTimeResos[ref];
166 timeReso = ( timeReso > 1
e-6 ? timeReso : defaultInvalidTrackReso );
169 timeReso = defaultInvalidTrackReso;
177 vector<TransientTrack>
181 vector<TransientTrack> ttVect = build(trkColl);
182 for (
unsigned int i = 0;
i < ttVect.size() ;
i++) {
183 ttVect[
i].setBeamSpot(beamSpot);
188 vector<TransientTrack>
192 vector<TransientTrack> ttVect = build(trkColl);
193 for (
unsigned int i = 0;
i < ttVect.size() ;
i++) {
194 ttVect[
i].setBeamSpot(beamSpot);
199 vector<TransientTrack>
203 vector<TransientTrack> ttVect = build(trkColl);
204 for (
unsigned int i = 0;
i < ttVect.size() ;
i++) {
205 ttVect[
i].setBeamSpot(beamSpot);
210 vector<TransientTrack>
216 vector<TransientTrack> ttVect = build(trkColl, trackTimes, trackTimeResos );
217 for (
unsigned int i = 0;
i < ttVect.size() ;
i++) {
218 ttVect[
i].setBeamSpot(beamSpot);
223 vector<TransientTrack>
229 vector<TransientTrack> ttVect = build(trkColl, trackTimes, trackTimeResos);
230 for (
unsigned int i = 0;
i < ttVect.size() ;
i++) {
231 ttVect[
i].setBeamSpot(beamSpot);
236 vector<TransientTrack>
242 vector<TransientTrack> ttVect = build(trkColl, trackTimes, trackTimeResos);
243 for (
unsigned int i = 0;
i < ttVect.size() ;
i++) {
244 ttVect[
i].setBeamSpot(beamSpot);
edm::Ref< GsfTrackCollection > GsfTrackRef
persistent reference to a GsfTrack
reco::TransientTrack build(const reco::Track *p) const
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track