CMS 3D CMS Logo

Public Member Functions | Protected Attributes

reco::TrackExtrapolation Class Reference

#include <TrackExtrapolation.h>

List of all members.

Public Member Functions

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

Protected Attributes

std::vector< TrackBase::Vectordir_
std::vector< bool > isValid_
std::vector< TrackBase::Vectormom_
std::vector< TrackBase::Pointpos_
reco::TrackRef track_

Detailed Description

Definition at line 22 of file TrackExtrapolation.h.


Constructor & Destructor Documentation

reco::TrackExtrapolation::TrackExtrapolation ( ) [inline]

Definition at line 26 of file TrackExtrapolation.h.

{}
reco::TrackExtrapolation::TrackExtrapolation ( reco::TrackRef const &  track,
std::vector< bool >  isValid,
std::vector< TrackBase::Point > const &  pos,
std::vector< TrackBase::Vector > const &  mom,
std::vector< TrackBase::Vector > const &  dir 
) [inline]

Definition at line 27 of file TrackExtrapolation.h.

References filterCSVwithJSON::copy, dir_, isValid_, mom_, and pos_.

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

Definition at line 44 of file TrackExtrapolation.h.

{}

Member Function Documentation

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

Definition at line 50 of file TrackExtrapolation.h.

References dir_.

{ return dir_;}
std::vector<bool> const& reco::TrackExtrapolation::isValid ( void  ) const [inline]

Definition at line 47 of file TrackExtrapolation.h.

References isValid_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

{ return isValid_;}
std::vector<TrackBase::Vector> const& reco::TrackExtrapolation::momenta ( ) const [inline]

Definition at line 49 of file TrackExtrapolation.h.

References mom_.

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

Definition at line 48 of file TrackExtrapolation.h.

References pos_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

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

Definition at line 46 of file TrackExtrapolation.h.

References track_.

Referenced by PhysicsTowerOrganizer::PhysicsTowerOrganizer().

{ return track_;}

Member Data Documentation

Definition at line 57 of file TrackExtrapolation.h.

Referenced by directions(), and TrackExtrapolation().

std::vector<bool> reco::TrackExtrapolation::isValid_ [protected]

Definition at line 54 of file TrackExtrapolation.h.

Referenced by isValid(), and TrackExtrapolation().

Definition at line 56 of file TrackExtrapolation.h.

Referenced by momenta(), and TrackExtrapolation().

Definition at line 55 of file TrackExtrapolation.h.

Referenced by positions(), and TrackExtrapolation().

Definition at line 53 of file TrackExtrapolation.h.

Referenced by track().