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 }
pfDisplacedTrackerVertex_cfi.trackColl
trackColl
Definition: pfDisplacedTrackerVertex_cfi.py:6
L1AnalysisRecoTrack.h
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition: TrackBase.h:150
L1Analysis::L1AnalysisRecoTrackDataFormat::nTrk
unsigned int nTrk
Definition: L1AnalysisRecoTrackDataFormat.h:24
L1Analysis::L1AnalysisRecoTrackDataFormat::nHighPurity
unsigned int nHighPurity
Definition: L1AnalysisRecoTrackDataFormat.h:25
L1Analysis::L1AnalysisRecoTrack::track_
L1Analysis::L1AnalysisRecoTrackDataFormat track_
Definition: L1AnalysisRecoTrack.h:26
L1Analysis::L1AnalysisRecoTrack::SetTracks
void SetTracks(const reco::TrackCollection &trackColl, unsigned maxTrack)
Definition: L1AnalysisRecoTrack.cc:3
reco::TrackBase::qualityByName
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
L1Analysis::L1AnalysisRecoTrackDataFormat::fHighPurity
double fHighPurity
Definition: L1AnalysisRecoTrackDataFormat.h:26
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14