17 constexpr
float defaultInvalidTrackReso = 0.350f;
41 }
else if (tryPacked.
get() !=
nullptr && tryPacked->
timeError() > 0.f) {
66 vector<TransientTrack> ttVect;
67 ttVect.reserve((*trkColl).size());
68 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
75 vector<TransientTrack> ttVect;
76 ttVect.reserve((*trkColl).size());
77 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
84 vector<TransientTrack> ttVect;
85 ttVect.reserve((*trkColl).size());
86 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
87 const Track* trk = &(*trkColl)[
i];
102 vector<TransientTrack> ttVect;
103 ttVect.reserve((*trkColl).size());
104 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
106 double time = trackTimes[ref];
107 double timeReso = trackTimeResos[ref];
109 (timeReso > 1
e-6 ? timeReso : defaultInvalidTrackReso);
112 timeReso = defaultInvalidTrackReso;
122 vector<TransientTrack> ttVect;
123 ttVect.reserve((*trkColl).size());
124 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
126 double time = trackTimes[ref];
127 double timeReso = trackTimeResos[ref];
129 (timeReso > 1
e-6 ? timeReso : defaultInvalidTrackReso);
132 timeReso = defaultInvalidTrackReso;
142 vector<TransientTrack> ttVect;
143 ttVect.reserve((*trkColl).size());
144 for (
unsigned int i = 0;
i < (*trkColl).size();
i++) {
145 const Track* trk = &(*trkColl)[
i];
149 double time = trackTimes[ref];
150 double timeReso = trackTimeResos[ref];
152 (timeReso > 1
e-6 ? timeReso : defaultInvalidTrackReso);
155 timeReso = defaultInvalidTrackReso;
158 RefToBase<Track>(trkColl,
i).castTo<GsfTrackRef>(),
time, timeReso, theField, theTrackingGeometry)));
161 double time = trackTimes[ref];
162 double timeReso = trackTimeResos[ref];
164 (timeReso > 1
e-6 ? timeReso : defaultInvalidTrackReso);
167 timeReso = defaultInvalidTrackReso;
178 vector<TransientTrack> ttVect =
build(trkColl);
179 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
187 vector<TransientTrack> ttVect =
build(trkColl);
188 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
196 vector<TransientTrack> ttVect =
build(trkColl);
197 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
207 vector<TransientTrack> ttVect =
build(trkColl, trackTimes, trackTimeResos);
208 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
218 vector<TransientTrack> ttVect =
build(trkColl, trackTimes, trackTimeResos);
219 for (
unsigned int i = 0;
i < ttVect.size();
i++) {
229 vector<TransientTrack> ttVect =
build(trkColl, trackTimes, trackTimeResos);
230 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)