CMS 3D CMS Logo

L1AnalysisRecoTrack.cc
Go to the documentation of this file.
2 
4  track_.nTrk = trackColl.size();
5 
7  for (reco::TrackCollection::const_iterator itk = trackColl.begin(); itk != trackColl.end(); ++itk) {
8  if (itk->quality(hiPurity))
10  }
11  track_.fHighPurity = static_cast<float>(track_.nHighPurity) / static_cast<float>(track_.nTrk);
12 }
TrackQuality
track quality
Definition: TrackBase.h:151
L1Analysis::L1AnalysisRecoTrackDataFormat track_
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
void SetTracks(const reco::TrackCollection &trackColl, unsigned maxTrack)
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126