CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1tVertexFinder::L1Track Class Reference

Simple wrapper class for TTTrack. More...

#include <L1Track.h>

Inheritance diagram for l1tVertexFinder::L1Track:
l1tVertexFinder::L1TrackTruthMatched

Public Member Functions

float chi2dof () const
 
float eta () const
 
unsigned int getNumStubs () const
 
const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > & getTTTrackPtr () const
 
 L1Track (const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ >> &aTrack)
 
float phi0 () const
 
float pt () const
 
float z0 () const
 
 ~L1Track ()
 

Private Attributes

edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > track_
 

Detailed Description

Simple wrapper class for TTTrack.

Definition at line 17 of file L1Track.h.

Constructor & Destructor Documentation

◆ L1Track()

l1tVertexFinder::L1Track::L1Track ( const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ >> &  aTrack)
inline

Definition at line 19 of file L1Track.h.

19 : track_(aTrack){};

◆ ~L1Track()

l1tVertexFinder::L1Track::~L1Track ( )
inline

Definition at line 20 of file L1Track.h.

20 {};

Member Function Documentation

◆ chi2dof()

float l1tVertexFinder::L1Track::chi2dof ( ) const
inline

Definition at line 28 of file L1Track.h.

28 { return track_->chi2Red(); };

References track_.

◆ eta()

float l1tVertexFinder::L1Track::eta ( void  ) const
inline

Definition at line 22 of file L1Track.h.

22 { return track_->momentum().eta(); };

References track_.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

◆ getNumStubs()

unsigned int l1tVertexFinder::L1Track::getNumStubs ( ) const
inline

Definition at line 30 of file L1Track.h.

30 { return track_->getStubRefs().size(); }

References track_.

◆ getTTTrackPtr()

const edm::Ptr<TTTrack<Ref_Phase2TrackerDigi_> >& l1tVertexFinder::L1Track::getTTTrackPtr ( ) const
inline

Definition at line 32 of file L1Track.h.

32 { return track_; };

◆ phi0()

float l1tVertexFinder::L1Track::phi0 ( ) const
inline

Definition at line 23 of file L1Track.h.

23 { return track_->momentum().phi(); };

References track_.

◆ pt()

float l1tVertexFinder::L1Track::pt ( ) const
inline

◆ z0()

float l1tVertexFinder::L1Track::z0 ( ) const
inline

Member Data Documentation

◆ track_

edm::Ptr<TTTrack<Ref_Phase2TrackerDigi_> > l1tVertexFinder::L1Track::track_
private

Definition at line 32 of file L1Track.h.

Referenced by chi2dof(), eta(), getNumStubs(), phi0(), pt(), and z0().

l1tVertexFinder::L1Track::track_
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > track_
Definition: L1Track.h:32