37 }
else if (tryPacked.
get() !=
nullptr && tryPacked->
timeError() > 0.f) {
62 vector<TransientTrack> ttVect;
63 ttVect.reserve((*trkColl).size());
64 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
71 vector<TransientTrack> ttVect;
72 ttVect.reserve((*trkColl).size());
73 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
80 vector<TransientTrack> ttVect;
81 ttVect.reserve((*trkColl).size());
82 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
83 const Track* trk = &(*trkColl)[
i];
98 vector<TransientTrack> ttVect;
99 ttVect.reserve((*trkColl).size());
100 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
102 double time = trackTimes[ref];
103 double timeReso = trackTimeResos[ref];
104 timeReso = (timeReso > 1
e-6 ? timeReso
105 : defaultInvalidTrackTimeReso);
108 timeReso = defaultInvalidTrackTimeReso;
118 vector<TransientTrack> ttVect;
119 ttVect.reserve((*trkColl).size());
120 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
122 double time = trackTimes[ref];
123 double timeReso = trackTimeResos[ref];
124 timeReso = (timeReso > 1
e-6 ? timeReso
125 : defaultInvalidTrackTimeReso);
128 timeReso = defaultInvalidTrackTimeReso;
138 vector<TransientTrack> ttVect;
139 ttVect.reserve((*trkColl).size());
140 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
141 const Track* trk = &(*trkColl)[
i];
145 double time = trackTimes[ref];
146 double timeReso = trackTimeResos[ref];
147 timeReso = (timeReso > 1
e-6 ? timeReso
148 : defaultInvalidTrackTimeReso);
151 timeReso = defaultInvalidTrackTimeReso;
154 RefToBase<Track>(trkColl,
i).castTo<GsfTrackRef>(),
time, timeReso, theField, theTrackingGeometry)));
157 double time = trackTimes[ref];
158 double timeReso = trackTimeResos[ref];
159 timeReso = (timeReso > 1
e-6 ? timeReso
160 : defaultInvalidTrackTimeReso);
163 timeReso = defaultInvalidTrackTimeReso;
174 vector<TransientTrack> ttVect =
build(trkColl);
175 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
183 vector<TransientTrack> ttVect =
build(trkColl);
184 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
192 vector<TransientTrack> ttVect =
build(trkColl);
193 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
203 vector<TransientTrack> ttVect =
build(trkColl, trackTimes, trackTimeResos);
204 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
214 vector<TransientTrack> ttVect =
build(trkColl, trackTimes, trackTimeResos);
215 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
225 vector<TransientTrack> ttVect =
build(trkColl, trackTimes, trackTimeResos);
226 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
edm::Ref< GsfTrackCollection > GsfTrackRef
persistent reference to a GsfTrack
constexpr bool isNotFinite(T x)
reco::TransientTrack build(const reco::Track *p) const
virtual float timeError() const
time measurement uncertainty (-1 if not available)
T const * get() const
Returns C++ pointer to the item.
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
bool isTimeValid() const
do we have a valid time information
virtual float time() const
time (wrt nominal zero of the collision)