CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
tuple tracks
Definition: testEve_cfg.py:39
reco::TransientTrack buildTT(edm::Handle< reco::TrackCollection > &tracks, edm::ESHandle< TransientTrackBuilder > &trackbuilder, unsigned int k)
Definition: TTHelpers.h:4