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

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 31 of file TrackExtrapolation.h.

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

Definition at line 32 of file TrackExtrapolation.h.

References popcon2dropbox::copy(), mom_, and pos_.

34  :
35  track_(track)
36  {
37  pos_.resize( pos.size() );
38  copy( pos.begin(), pos.end(), pos_.begin() );
39  mom_.resize( mom.size() );
40  copy( mom.begin(), mom.end(), mom_.begin() );
41  }
def copy(args, dbName)
reco::TrackRef const & track() const
std::vector< Point > pos_
std::vector< Vector > mom_
reco::TrackExtrapolation::~TrackExtrapolation ( )
inline

Definition at line 43 of file TrackExtrapolation.h.

43 {}

Member Function Documentation

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

Definition at line 47 of file TrackExtrapolation.h.

References mom_.

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

Definition at line 46 of file TrackExtrapolation.h.

References pos_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

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

Definition at line 45 of file TrackExtrapolation.h.

References track_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

45 { return track_;}

Member Data Documentation

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

Definition at line 52 of file TrackExtrapolation.h.

Referenced by momenta(), and TrackExtrapolation().

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

Definition at line 51 of file TrackExtrapolation.h.

Referenced by positions(), and TrackExtrapolation().

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

Definition at line 50 of file TrackExtrapolation.h.

Referenced by track().