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) noexcept
void swap (PTrajectoryStateOnDet &ptsos, recHitContainer &rh, PropagationDirection &dir) noexcept
 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 18 of file TrajectorySeed.h.


Member Typedef Documentation

typedef recHitContainer::const_iterator TrajectorySeed::const_iterator

Definition at line 21 of file TrajectorySeed.h.

Definition at line 22 of file TrajectorySeed.h.

Reimplemented in reco::ConvBremSeed.

Definition at line 20 of file TrajectorySeed.h.


Constructor & Destructor Documentation

TrajectorySeed::TrajectorySeed ( ) [inline]

Definition at line 25 of file TrajectorySeed.h.

Referenced by clone().

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

Definition at line 26 of file TrajectorySeed.h.

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

Definition at line 28 of file TrajectorySeed.h.

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

Definition at line 55 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 82 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 58 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 49 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 41 of file TrajectorySeed.h.

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

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

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

Member Data Documentation

Definition at line 88 of file TrajectorySeed.h.

Referenced by direction(), and swap().

Definition at line 86 of file TrajectorySeed.h.

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

Definition at line 87 of file TrajectorySeed.h.

Referenced by startingState(), and swap().