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){};
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > track_
Definition: L1Track.h:32

◆ ~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.

References track_.

28 { return track_->chi2Red(); };
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > track_
Definition: L1Track.h:32

◆ eta()

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

Definition at line 22 of file L1Track.h.

References track_.

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

22 { return track_->momentum().eta(); };
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > track_
Definition: L1Track.h:32

◆ getNumStubs()

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

Definition at line 30 of file L1Track.h.

References track_.

30 { return track_->getStubRefs().size(); }
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > track_
Definition: L1Track.h:32

◆ getTTTrackPtr()

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

Definition at line 32 of file L1Track.h.

32 { return track_; };
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > track_
Definition: L1Track.h:32

◆ phi0()

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

Definition at line 23 of file L1Track.h.

References track_.

23 { return track_->momentum().phi(); };
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > track_
Definition: L1Track.h:32

◆ pt()

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

◆ z0()

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

Definition at line 25 of file L1Track.h.

References track_.

Referenced by l1tVertexFinder::VertexFinder::adaptiveVertexReconstruction(), l1tVertexFinder::VertexFinder::SortTracksByZ0::operator()(), and l1tVertexFinder::VertexFinder::PVR().

25 { return track_->POCA().z(); };
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > track_
Definition: L1Track.h:32

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().