CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

TrajectorySeed Class Reference

#include <TrajectorySeed.h>

Inheritance diagram for TrajectorySeed:
cms::DiMuonTrajectorySeed L2MuonTrajectorySeed L3MuonTrajectorySeed reco::ConvBremSeed reco::ElectronSeed

List of all members.

Public Types

typedef
recHitContainer::const_iterator 
const_iterator
typedef std::pair
< const_iterator,
const_iterator
range
typedef edm::OwnVector
< TrackingRecHit
recHitContainer

Public Member Functions

virtual TrajectorySeedclone () const
PropagationDirection direction () const
unsigned int nHits () const
TrajectorySeedoperator= (TrajectorySeed const &o)
range recHits () const
PTrajectoryStateOnDet const & startingState () const
void swap (TrajectorySeed &rh)
void swap (PTrajectoryStateOnDet &ptsos, recHitContainer &rh, PropagationDirection &dir)
 TrajectorySeed ()
 TrajectorySeed (PTrajectoryStateOnDet const &ptsos, recHitContainer const &rh, PropagationDirection dir)
 TrajectorySeed (TrajectorySeed const &o)
virtual ~TrajectorySeed ()

Private Attributes

PropagationDirection dir_
edm::OwnVector< TrackingRecHithits_
PTrajectoryStateOnDet tsos_

Detailed Description

TrajectorySeed contains

Definition at line 17 of file TrajectorySeed.h.


Member Typedef Documentation

typedef recHitContainer::const_iterator TrajectorySeed::const_iterator

Definition at line 20 of file TrajectorySeed.h.

Definition at line 21 of file TrajectorySeed.h.

Reimplemented in reco::ConvBremSeed.

Definition at line 19 of file TrajectorySeed.h.


Constructor & Destructor Documentation

TrajectorySeed::TrajectorySeed ( ) [inline]

Definition at line 24 of file TrajectorySeed.h.

Referenced by clone().

{}
virtual TrajectorySeed::~TrajectorySeed ( ) [inline, virtual]

Definition at line 25 of file TrajectorySeed.h.

{}
TrajectorySeed::TrajectorySeed ( PTrajectoryStateOnDet const &  ptsos,
recHitContainer const &  rh,
PropagationDirection  dir 
) [inline]

Definition at line 27 of file TrajectorySeed.h.

                                            : 
    hits_(rh),  tsos_(ptsos), dir_(dir) {}
TrajectorySeed::TrajectorySeed ( TrajectorySeed const &  o) [inline]

Definition at line 54 of file TrajectorySeed.h.

                                           :
    hits_(o.hits_),  tsos_(o.tsos_), dir_(o.dir_) {}

Member Function Documentation

virtual TrajectorySeed* TrajectorySeed::clone ( void  ) const [inline, virtual]

Reimplemented in reco::ElectronSeed, and reco::ConvBremSeed.

Definition at line 81 of file TrajectorySeed.h.

References TrajectorySeed().

{return new TrajectorySeed( * this); }
PropagationDirection TrajectorySeed::direction ( ) const [inline]
unsigned int TrajectorySeed::nHits ( ) const [inline]
TrajectorySeed& TrajectorySeed::operator= ( TrajectorySeed const &  o) [inline]

Definition at line 57 of file TrajectorySeed.h.

References swap(), and tmp.

                                                       {
    TrajectorySeed tmp(o); swap(tmp);   
    return *this;
  }
range TrajectorySeed::recHits ( void  ) const [inline]
PTrajectoryStateOnDet const& TrajectorySeed::startingState ( ) const [inline]
void TrajectorySeed::swap ( TrajectorySeed rh) [inline]

Definition at line 48 of file TrajectorySeed.h.

References dir_, hits_, swap(), edm::OwnVector< T, P >::swap(), and tsos_.

void TrajectorySeed::swap ( PTrajectoryStateOnDet ptsos,
recHitContainer rh,
PropagationDirection dir 
) [inline]

Definition at line 40 of file TrajectorySeed.h.

References dir_, hits_, edm::OwnVector< T, P >::swap(), and tsos_.

Referenced by operator=(), swap(), and swap().

                                        { 
    hits_.swap(rh);
    std::swap(tsos_,ptsos);
    std::swap(dir_,dir);
  }

Member Data Documentation

Definition at line 87 of file TrajectorySeed.h.

Referenced by direction(), and swap().

Definition at line 85 of file TrajectorySeed.h.

Referenced by nHits(), recHits(), and swap().

Definition at line 86 of file TrajectorySeed.h.

Referenced by startingState(), and swap().