CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
TrajectorySeed Class Reference

#include <TrajectorySeed.h>

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

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

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

25 {}
virtual TrajectorySeed::~TrajectorySeed ( )
inlinevirtual

Definition at line 26 of file TrajectorySeed.h.

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

Definition at line 28 of file TrajectorySeed.h.

30  :
31  hits_(rh), tsos_(ptsos), dir_(dir) {}
PropagationDirection dir_
PTrajectoryStateOnDet tsos_
edm::OwnVector< TrackingRecHit > hits_
dbl *** dir
Definition: mlp_gen.cc:35
TrajectorySeed::TrajectorySeed ( TrajectorySeed const &  o)
inline

Definition at line 55 of file TrajectorySeed.h.

55  :
56  hits_(o.hits_), tsos_(o.tsos_), dir_(o.dir_) {}
PropagationDirection dir_
PTrajectoryStateOnDet tsos_
edm::OwnVector< TrackingRecHit > hits_

Member Function Documentation

virtual TrajectorySeed* TrajectorySeed::clone ( void  ) const
inlinevirtual

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

Definition at line 82 of file TrajectorySeed.h.

References TrajectorySeed().

82 {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.

58  {
60  return *this;
61  }
void swap(PTrajectoryStateOnDet &ptsos, recHitContainer &rh, PropagationDirection &dir)
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
range TrajectorySeed::recHits ( void  ) const
inline

Definition at line 75 of file TrajectorySeed.h.

References edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::end(), and hits_.

Referenced by TrackerSeedValidator::analyze(), TrackBuildingAnalyzer::analyze(), QuickTrackAssociatorByHits::associateRecoToSim(), QuickTrackAssociatorByHitsImpl::associateRecoToSim(), QuickTrackAssociatorByHits::associateSimToReco(), QuickTrackAssociatorByHitsImpl::associateSimToReco(), FWTrajectorySeedProxyBuilder::build(), MuonSeedTrack::computeNDOF(), equivalent(), PFElecTkProducer::FindPfRef(), FakeTrackProducer< T >::getHits(), SeedCleanerByHitPosition::good(), CachingSeedCleanerByHitPosition::good(), SeedCleanerBySharedInput::good(), CachingSeedCleanerBySharedInput::good(), MuonSeedCleaner::OverlapSegments(), HLTMuonTrackMassFilter::pairMatched(), PrintRecoObjects::print(), ElectronSeedMerger::produce(), FastTSGFromL2Muon::produce(), TrackListMerger::produce(), SimpleTrackListMerger::produce(), TrackCandidateProducer::produce(), DuplicateListMerger::produce(), ExtraFromSeeds::produce(), L2MuonSeedGenerator::produce(), GroupedCkfTrajectoryBuilder::rebuildSeedingRegion(), FastElectronSeedGenerator::run(), TrajectoryCleanerBySharedSeeds::sameSeed(), MuonSeedCleaner::SeedChi2(), MuonSeedCleaner::SeedLength(), CosmicTrajectoryBuilder::seedMeasurements(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), SeedTransformer::seedTransform(), L3TkMuonProducer::sharedSeed(), CosmicTrajectoryBuilder::SortHits(), CRackTrajectoryBuilder::SortHits(), StartingLayerFinder::startingLayers(), FastTSGFromIOHit::trackerSeeds(), and ExhaustiveMuonTrajectoryBuilder::trajectories().

75  {
76  return std::make_pair(hits_.begin(), hits_.end());
77  }
iterator begin()
Definition: OwnVector.h:234
iterator end()
Definition: OwnVector.h:239
edm::OwnVector< TrackingRecHit > hits_
PTrajectoryStateOnDet const& TrajectorySeed::startingState ( ) const
inline
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(), std::swap(), and tsos_.

Referenced by operator=().

43  {
44  hits_.swap(rh);
45  std::swap(tsos_,ptsos);
47  }
PropagationDirection dir_
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
PTrajectoryStateOnDet tsos_
edm::OwnVector< TrackingRecHit > hits_
dbl *** dir
Definition: mlp_gen.cc:35
void swap(OwnVector< T, P > &other)
Definition: OwnVector.h:407
void TrajectorySeed::swap ( TrajectorySeed rh)
inline

Definition at line 49 of file TrajectorySeed.h.

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

49  {
50  hits_.swap(rh.hits_);
51  std::swap(tsos_,rh.tsos_);
52  std::swap(dir_,rh.dir_);
53  }
PropagationDirection dir_
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
PTrajectoryStateOnDet tsos_
edm::OwnVector< TrackingRecHit > hits_
void swap(OwnVector< T, P > &other)
Definition: OwnVector.h:407

Member Data Documentation

PropagationDirection TrajectorySeed::dir_
private

Definition at line 88 of file TrajectorySeed.h.

Referenced by direction(), and swap().

edm::OwnVector<TrackingRecHit> TrajectorySeed::hits_
private

Definition at line 86 of file TrajectorySeed.h.

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

PTrajectoryStateOnDet TrajectorySeed::tsos_
private

Definition at line 87 of file TrajectorySeed.h.

Referenced by startingState(), and swap().