CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

Definition at line 26 of file TrackExtrapolation.h.

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

Definition at line 27 of file TrackExtrapolation.h.

Constructor & Destructor Documentation

reco::TrackExtrapolation::TrackExtrapolation ( )
inline

Definition at line 30 of file TrackExtrapolation.h.

30 {}
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.

References filterCSVwithJSON::copy, mom_, and pos_.

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  }
reco::TrackRef const & track() const
std::vector< Point > pos_
std::vector< Vector > mom_
reco::TrackExtrapolation::~TrackExtrapolation ( )
inline

Definition at line 39 of file TrackExtrapolation.h.

39 {}

Member Function Documentation

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

Definition at line 43 of file TrackExtrapolation.h.

References mom_.

43 { return mom_; }
std::vector< Vector > mom_
std::vector<Point> const& reco::TrackExtrapolation::positions ( ) const
inline

Definition at line 42 of file TrackExtrapolation.h.

References pos_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

42 { return pos_; }
std::vector< Point > pos_
reco::TrackRef const& reco::TrackExtrapolation::track ( ) const
inline

Definition at line 41 of file TrackExtrapolation.h.

References track_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

41 { return track_; }

Member Data Documentation

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

Definition at line 48 of file TrackExtrapolation.h.

Referenced by momenta(), and TrackExtrapolation().

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

Definition at line 47 of file TrackExtrapolation.h.

Referenced by positions(), and TrackExtrapolation().

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

Definition at line 46 of file TrackExtrapolation.h.

Referenced by track().