Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ic::Track Class Reference

Stores limited information about the track kinematics and trajectory. More...

#include "UserCode/ICHiggsTauTau/interface/Track.hh"

Public Member Functions

 Track ()
 
virtual ~Track ()
 
virtual void Print () const
 
 ClassDef (Track, 8)
 
Properties
ThreeVector const & momentum () const
 The track momentum. More...
 
Vector vector () const
 Create a four-vector using the pion mass hypothesis. More...
 
Point const & ref_point () const
 The point-of-closest-approach (PCA) of the track to the beamspot. More...
 
std::size_t id () const
 The unique identifier. More...
 
double pt () const
 The track transverse momentum. More...
 
double energy () const
 Energy under the assumption of a massless particle, e.g. \(E =|\vec{p}|\). More...
 
double eta () const
 Track pseudorapidity. More...
 
double phi () const
 Track azimuthal angle. More...
 
double vx () const
 The z-coordinate of the PCA. More...
 
double vy () const
 The y-coordinate of the PCA. More...
 
double vz () const
 The z-coordinate of the PCA. More...
 
double normalized_chi2 () const
 The normalised chi2 of the track fit. More...
 
int hits () const
 Number of tracker hits. More...
 
int pixel_hits () const
 Number of pixel hits. More...
 
double dxy (Point const &point) const
 Approximate dxy Copied from DataFormats/TrackReco/interface/TrackBase.h. More...
 
double dz (Point const &point) const
 Approximate dz Copied from DataFormats/TrackReco/interface/TrackBase.h. More...
 
int charge () const
 The track charge. More...
 
int16_t algorithm () const
 The tracking algorithm used to produce this track See: DataFormats/TrackReco/interface/TrackBase.h. More...
 
double pt_err () const
 The track \(p_{T}\) error. More...
 
int quality () const
 The track quality flags. More...
 
int hits_miss_inner () const
 hitPattern().numberOfHits(reco::HitPattern::MISSING_INNER_HITS) More...
 
Setters
void set_momentum (ThreeVector const &momentum)
 The track momentum. More...
 
void set_ref_point (Point const &ref_point)
 The point-of-closest-approach (PCA) of the track to the beamspot. More...
 
void set_id (std::size_t const &id)
 The unique identifier. More...
 
void set_pt (double const &pt)
 The track transverse momentum. More...
 
void set_eta (double const &eta)
 Track pseudorapidity. More...
 
void set_phi (double const &phi)
 Track azimuthal angle. More...
 
void set_vx (double const &x)
 The z-coordinate of the PCA. More...
 
void set_vy (double const &y)
 The y-coordinate of the PCA. More...
 
void set_vz (double const &z)
 The z-coordinate of the PCA. More...
 
void set_normalized_chi2 (double const &normalized_chi2)
 The normalised chi2 of the track fit. More...
 
void set_hits (int const &hits)
 Number of tracker hits. More...
 
void set_pixel_hits (int const &pixel_hits)
 Number of pixel hits. More...
 
void set_charge (int const &charge)
 The track charge. More...
 
void set_algorithm (int16_t const &algorithm)
 The tracking algorithm used to produce this track See: DataFormats/TrackReco/interface/TrackBase.h. More...
 
void set_pt_err (double const &pt_err)
 The track \(p_{T}\) error. More...
 
void set_quality (int const &quality)
 The track quality flags. More...
 
void set_hits_miss_inner (int const &hits_miss_inner)
 hitPattern().numberOfHits(reco::HitPattern::MISSING_INNER_HITS) More...
 

Detailed Description

Stores limited information about the track kinematics and trajectory.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 18 of file Track.hh.

Constructor & Destructor Documentation

ic::Track::Track ( )

Definition at line 5 of file Track.cc.

ic::Track::~Track ( )
virtual

Definition at line 16 of file Track.cc.

Member Function Documentation

void ic::Track::Print ( ) const
virtual

Definition at line 18 of file Track.cc.

ThreeVector const& ic::Track::momentum ( ) const
inline

The track momentum.

Definition at line 32 of file Track.hh.

Vector ic::Track::vector ( ) const
inline

Create a four-vector using the pion mass hypothesis.

Definition at line 35 of file Track.hh.

Point const& ic::Track::ref_point ( ) const
inline

The point-of-closest-approach (PCA) of the track to the beamspot.

Definition at line 40 of file Track.hh.

std::size_t ic::Track::id ( ) const
inline

The unique identifier.

Definition at line 43 of file Track.hh.

double ic::Track::pt ( ) const
inline

The track transverse momentum.

Definition at line 46 of file Track.hh.

double ic::Track::energy ( ) const
inline

Energy under the assumption of a massless particle, e.g. \(E =|\vec{p}|\).

Definition at line 50 of file Track.hh.

double ic::Track::eta ( ) const
inline

Track pseudorapidity.

Definition at line 53 of file Track.hh.

double ic::Track::phi ( ) const
inline

Track azimuthal angle.

Definition at line 56 of file Track.hh.

double ic::Track::vx ( ) const
inline

The z-coordinate of the PCA.

Definition at line 59 of file Track.hh.

double ic::Track::vy ( ) const
inline

The y-coordinate of the PCA.

Definition at line 62 of file Track.hh.

double ic::Track::vz ( ) const
inline

The z-coordinate of the PCA.

Definition at line 65 of file Track.hh.

double ic::Track::normalized_chi2 ( ) const
inline

The normalised chi2 of the track fit.

Definition at line 68 of file Track.hh.

int ic::Track::hits ( ) const
inline

Number of tracker hits.

Definition at line 71 of file Track.hh.

int ic::Track::pixel_hits ( ) const
inline

Number of pixel hits.

Definition at line 74 of file Track.hh.

double ic::Track::dxy ( Point const &  point) const
inline

Approximate dxy Copied from DataFormats/TrackReco/interface/TrackBase.h.

Definition at line 78 of file Track.hh.

double ic::Track::dz ( Point const &  point) const
inline

Approximate dz Copied from DataFormats/TrackReco/interface/TrackBase.h.

Definition at line 86 of file Track.hh.

int ic::Track::charge ( ) const
inline

The track charge.

Definition at line 94 of file Track.hh.

int16_t ic::Track::algorithm ( ) const
inline

The tracking algorithm used to produce this track See: DataFormats/TrackReco/interface/TrackBase.h.

Definition at line 98 of file Track.hh.

double ic::Track::pt_err ( ) const
inline

The track \(p_{T}\) error.

Definition at line 101 of file Track.hh.

int ic::Track::quality ( ) const
inline

The track quality flags.

Definition at line 104 of file Track.hh.

int ic::Track::hits_miss_inner ( ) const
inline

hitPattern().numberOfHits(reco::HitPattern::MISSING_INNER_HITS)

Definition at line 107 of file Track.hh.

void ic::Track::set_momentum ( ThreeVector const &  momentum)
inline

The track momentum.

Definition at line 113 of file Track.hh.

void ic::Track::set_ref_point ( Point const &  ref_point)
inline

The point-of-closest-approach (PCA) of the track to the beamspot.

Definition at line 118 of file Track.hh.

void ic::Track::set_id ( std::size_t const &  id)
inline

The unique identifier.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 121 of file Track.hh.

void ic::Track::set_pt ( double const &  pt)
inline

The track transverse momentum.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 124 of file Track.hh.

void ic::Track::set_eta ( double const &  eta)
inline

Track pseudorapidity.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 127 of file Track.hh.

void ic::Track::set_phi ( double const &  phi)
inline

Track azimuthal angle.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 130 of file Track.hh.

void ic::Track::set_vx ( double const &  x)
inline

The z-coordinate of the PCA.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 133 of file Track.hh.

void ic::Track::set_vy ( double const &  y)
inline

The y-coordinate of the PCA.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 136 of file Track.hh.

void ic::Track::set_vz ( double const &  z)
inline

The z-coordinate of the PCA.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 139 of file Track.hh.

void ic::Track::set_normalized_chi2 ( double const &  normalized_chi2)
inline

The normalised chi2 of the track fit.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 142 of file Track.hh.

void ic::Track::set_hits ( int const &  hits)
inline

Number of tracker hits.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 147 of file Track.hh.

void ic::Track::set_pixel_hits ( int const &  pixel_hits)
inline

Number of pixel hits.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 152 of file Track.hh.

void ic::Track::set_charge ( int const &  charge)
inline

The track charge.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 157 of file Track.hh.

void ic::Track::set_algorithm ( int16_t const &  algorithm)
inline

The tracking algorithm used to produce this track See: DataFormats/TrackReco/interface/TrackBase.h.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 160 of file Track.hh.

void ic::Track::set_pt_err ( double const &  pt_err)
inline

The track \(p_{T}\) error.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 165 of file Track.hh.

void ic::Track::set_quality ( int const &  quality)
inline

The track quality flags.

Examples:
plugins/ICTrackProducer.cc.

Definition at line 168 of file Track.hh.

void ic::Track::set_hits_miss_inner ( int const &  hits_miss_inner)
inline

hitPattern().numberOfHits(reco::HitPattern::MISSING_INNER_HITS)

Examples:
plugins/ICTrackProducer.cc.

Definition at line 171 of file Track.hh.

ic::Track::ClassDef ( Track  ,
 
)

The documentation for this class was generated from the following files: