CMS 3D CMS Logo

Public Member Functions | Protected Attributes | Private Types

reco::TrackExtrapolation Class Reference

#include <TrackExtrapolation.h>

List of all members.

Public Member Functions

std::vector< Vector > const & momenta () const
std::vector< Point > const & positions () const
reco::TrackRef const & track () const
 TrackExtrapolation (reco::TrackRef const &track, std::vector< Point > const &pos, std::vector< Vector > const &mom)
 TrackExtrapolation ()
 ~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.

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

                                                       :
    track_(track)
    {
      pos_.resize( pos.size() );
      copy( pos.begin(), pos.end(), pos_.begin() );
      mom_.resize( mom.size() );
      copy( mom.begin(), mom.end(), mom_.begin() );
    }
reco::TrackExtrapolation::~TrackExtrapolation ( ) [inline]

Definition at line 40 of file TrackExtrapolation.h.

{}

Member Function Documentation

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

Definition at line 44 of file TrackExtrapolation.h.

References mom_.

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

Definition at line 43 of file TrackExtrapolation.h.

References pos_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

{ return pos_;}
reco::TrackRef const& reco::TrackExtrapolation::track ( void  ) const [inline]

Definition at line 42 of file TrackExtrapolation.h.

References track_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

{ 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().

Definition at line 47 of file TrackExtrapolation.h.

Referenced by track().