CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
< Double32_t > > 
Point
 
typedef
ROOT::Math::DisplacementVector3D
< ROOT::Math::Cartesian3D
< Double32_t > > 
Vector
 

Detailed Description

Definition at line 22 of file TrackExtrapolation.h.

Member Typedef Documentation

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

Definition at line 23 of file TrackExtrapolation.h.

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

Definition at line 24 of file TrackExtrapolation.h.

Constructor & Destructor Documentation

reco::TrackExtrapolation::TrackExtrapolation ( )
inline

Definition at line 28 of file TrackExtrapolation.h.

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

Definition at line 29 of file TrackExtrapolation.h.

References filterCSVwithJSON::copy, mom_, and pos_.

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

Definition at line 40 of file TrackExtrapolation.h.

40 {}

Member Function Documentation

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

Definition at line 44 of file TrackExtrapolation.h.

References mom_.

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

Definition at line 43 of file TrackExtrapolation.h.

References pos_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

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

Definition at line 42 of file TrackExtrapolation.h.

References track_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

42 { return track_;}

Member Data Documentation

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

Definition at line 49 of file TrackExtrapolation.h.

Referenced by momenta(), and TrackExtrapolation().

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

Definition at line 48 of file TrackExtrapolation.h.

Referenced by positions(), and TrackExtrapolation().

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

Definition at line 47 of file TrackExtrapolation.h.

Referenced by track().