CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Types
reco::TrackExtrapolation Class Reference

#include <TrackExtrapolation.h>

Public Member Functions

std::vector< Vector > const & momenta () const
 
std::vector< Point > const & positions () const
 
reco::TrackRef const & track () const
 
 TrackExtrapolation ()
 
 TrackExtrapolation (reco::TrackRef const &track, std::vector< Point > const &pos, std::vector< Vector > const &mom)
 
 ~TrackExtrapolation ()
 

Protected Attributes

std::vector< Vectormom_
 
std::vector< Pointpos_
 
reco::TrackRef track_
 

Private Types

typedef ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double > > Point
 
typedef ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > Vector
 

Detailed Description

Definition at line 22 of file TrackExtrapolation.h.

Member Typedef Documentation

◆ Point

typedef ROOT::Math::PositionVector3D<ROOT::Math::Cartesian3D<double> > reco::TrackExtrapolation::Point
private

Definition at line 26 of file TrackExtrapolation.h.

◆ Vector

typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> > reco::TrackExtrapolation::Vector
private

Definition at line 27 of file TrackExtrapolation.h.

Constructor & Destructor Documentation

◆ TrackExtrapolation() [1/2]

reco::TrackExtrapolation::TrackExtrapolation ( )
inline

Definition at line 30 of file TrackExtrapolation.h.

30 {}

◆ TrackExtrapolation() [2/2]

reco::TrackExtrapolation::TrackExtrapolation ( reco::TrackRef const &  track,
std::vector< Point > const &  pos,
std::vector< Vector > const &  mom 
)
inline

Definition at line 31 of file TrackExtrapolation.h.

32  : track_(track) {
33  pos_.resize(pos.size());
34  copy(pos.begin(), pos.end(), pos_.begin());
35  mom_.resize(mom.size());
36  copy(mom.begin(), mom.end(), mom_.begin());
37  }

References filterCSVwithJSON::copy, mom_, and pos_.

◆ ~TrackExtrapolation()

reco::TrackExtrapolation::~TrackExtrapolation ( )
inline

Definition at line 39 of file TrackExtrapolation.h.

39 {}

Member Function Documentation

◆ momenta()

std::vector<Vector> const& reco::TrackExtrapolation::momenta ( ) const
inline

Definition at line 43 of file TrackExtrapolation.h.

43 { return mom_; }

References mom_.

◆ positions()

std::vector<Point> const& reco::TrackExtrapolation::positions ( ) const
inline

Definition at line 42 of file TrackExtrapolation.h.

42 { return pos_; }

References pos_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

◆ track()

reco::TrackRef const& reco::TrackExtrapolation::track ( ) const
inline

Definition at line 41 of file TrackExtrapolation.h.

41 { return track_; }

References track_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

Member Data Documentation

◆ mom_

std::vector<Vector> reco::TrackExtrapolation::mom_
protected

Definition at line 48 of file TrackExtrapolation.h.

Referenced by momenta(), and TrackExtrapolation().

◆ pos_

std::vector<Point> reco::TrackExtrapolation::pos_
protected

Definition at line 47 of file TrackExtrapolation.h.

Referenced by positions(), and TrackExtrapolation().

◆ track_

reco::TrackRef reco::TrackExtrapolation::track_
protected

Definition at line 46 of file TrackExtrapolation.h.

Referenced by track().

filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
pos
Definition: PixelAliasList.h:18
reco::TrackExtrapolation::track
reco::TrackRef const & track() const
Definition: TrackExtrapolation.h:41
reco::TrackExtrapolation::track_
reco::TrackRef track_
Definition: TrackExtrapolation.h:46
reco::TrackExtrapolation::pos_
std::vector< Point > pos_
Definition: TrackExtrapolation.h:47
reco::TrackExtrapolation::mom_
std::vector< Vector > mom_
Definition: TrackExtrapolation.h:48