CMS 3D CMS Logo

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_iteratorrange
 
typedef edm::OwnVector< TrackingRecHitrecHitContainer
 

Public Member Functions

virtual TrajectorySeedclone () const
 
PropagationDirection direction () const
 
unsigned int nHits () const
 
TrajectorySeedoperator= (TrajectorySeed const &o)
 
TrajectorySeedoperator= (TrajectorySeed &&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 (PTrajectoryStateOnDet const &ptsos, recHitContainer &&rh, PropagationDirection dir)
 
 TrajectorySeed (TrajectorySeed const &o)
 
 TrajectorySeed (TrajectorySeed &&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.

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

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

Definition at line 25 of file TrajectorySeed.h.

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

Definition at line 27 of file TrajectorySeed.h.

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

Definition at line 32 of file TrajectorySeed.h.

34  :
35  hits_(std::move(rh)), tsos_(ptsos), dir_(dir) {}
PropagationDirection dir_
PTrajectoryStateOnDet tsos_
edm::OwnVector< TrackingRecHit > hits_
dbl *** dir
Definition: mlp_gen.cc:35
def move(src, dest)
Definition: eostools.py:511
TrajectorySeed::TrajectorySeed ( TrajectorySeed const &  o)
inline

Definition at line 52 of file TrajectorySeed.h.

52  :
53  hits_(o.hits_), tsos_(o.tsos_), dir_(o.dir_) {}
PropagationDirection dir_
PTrajectoryStateOnDet tsos_
edm::OwnVector< TrackingRecHit > hits_
TrajectorySeed::TrajectorySeed ( TrajectorySeed &&  o)
inline

Definition at line 61 of file TrajectorySeed.h.

61  :
PropagationDirection dir_
PTrajectoryStateOnDet tsos_
edm::OwnVector< TrackingRecHit > hits_
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

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

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

Definition at line 77 of file TrajectorySeed.h.

References TrajectorySeed().

77 {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 55 of file TrajectorySeed.h.

References swap(), and tmp.

55  {
57  return *this;
58  }
void swap(PTrajectoryStateOnDet &ptsos, recHitContainer &rh, PropagationDirection &dir)
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
TrajectorySeed& TrajectorySeed::operator= ( TrajectorySeed &&  o)
inline

Definition at line 64 of file TrajectorySeed.h.

References connectstrParser::o, and swap().

64  {
65  swap(o);
66  return *this;
67  }
void swap(PTrajectoryStateOnDet &ptsos, recHitContainer &rh, PropagationDirection &dir)
range TrajectorySeed::recHits ( void  ) const
inline

Definition at line 70 of file TrajectorySeed.h.

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

Referenced by TrackBuildingAnalyzer::analyze(), QuickTrackAssociatorByHitsImpl::associateRecoToSim(), QuickTrackAssociatorByHitsImpl::associateSimToReco(), FWTrajectorySeedProxyBuilder::build(), MuonSeedTrack::computeNDOF(), equivalent(), PFElecTkProducer::FindPfRef(), FakeTrackProducer< T >::getHits(), MTVHistoProducerAlgoForTracker::getSeedingLayerSetBin(), CachingSeedCleanerBySharedInput::good(), reco::ElectronSeed::hitsMask(), reco::ElectronSeed::initTwoHitSeed(), TrajSeedMatcher::match2ndToNthHit(), TrajSeedMatcher::matchFirstHit(), MuonSeedCleaner::OverlapSegments(), HLTMuonTrackMassFilter::pairMatched(), PrintRecoObjects::print(), ElectronSeedMerger::produce(), FastTSGFromL2Muon::produce(), TrackListMerger::produce(), TrackCandidateProducer::produce(), ExtraFromSeeds::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), GroupedCkfTrajectoryBuilder::rebuildSeedingRegion(), MuonSeedCleaner::SeedChi2(), MuonSeedCleaner::SeedLength(), CosmicTrajectoryBuilder::seedMeasurements(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), SeedTransformer::seedTransform(), L3TkMuonProducer::sharedSeed(), CosmicTrajectoryBuilder::SortHits(), CRackTrajectoryBuilder::SortHits(), StartingLayerFinder::startingLayers(), reco::ElectronSeed::subDet2(), ExhaustiveMuonTrajectoryBuilder::trajectories(), and QuickTrackAssociatorByHitsImpl::weightedNumberOfTrackClusters().

70  {
71  return std::make_pair(hits_.begin(), hits_.end());
72  }
iterator begin()
Definition: OwnVector.h:244
iterator end()
Definition: OwnVector.h:249
edm::OwnVector< TrackingRecHit > hits_
PTrajectoryStateOnDet const& TrajectorySeed::startingState ( ) const
inline
void TrajectorySeed::swap ( PTrajectoryStateOnDet ptsos,
recHitContainer rh,
PropagationDirection dir 
)
inline

Definition at line 38 of file TrajectorySeed.h.

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

Referenced by operator=().

40  {
41  hits_.swap(rh);
42  std::swap(tsos_,ptsos);
44  }
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:475
void TrajectorySeed::swap ( TrajectorySeed rh)
inline

Definition at line 46 of file TrajectorySeed.h.

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

46  {
47  hits_.swap(rh.hits_);
48  std::swap(tsos_,rh.tsos_);
49  std::swap(dir_,rh.dir_);
50  }
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:475

Member Data Documentation

PropagationDirection TrajectorySeed::dir_
private

Definition at line 83 of file TrajectorySeed.h.

Referenced by direction(), and swap().

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

Definition at line 81 of file TrajectorySeed.h.

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

PTrajectoryStateOnDet TrajectorySeed::tsos_
private

Definition at line 82 of file TrajectorySeed.h.

Referenced by startingState(), and swap().