CMS 3D CMS Logo

TTHelpers.h
Go to the documentation of this file.
1 #ifndef TTHelper_s
2 #define TTHelper_s
3 namespace tthelpers{
5 {
6  reco::TrackRef ref(tracks, k);
7  return trackbuilder->build(ref);
8 }
10 {
11  if((*tracks)[k].bestTrack() == 0) return reco::TransientTrack();
12  return trackbuilder->build(tracks->ptrAt(k));
13 }
14 }
15 #endif
reco::TransientTrack build(const reco::Track *p) const
int k[5][pyjets_maxn]
reco::TransientTrack buildTT(edm::Handle< reco::TrackCollection > &tracks, edm::ESHandle< TransientTrackBuilder > &trackbuilder, unsigned int k)
Definition: TTHelpers.h:4