CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 edm::OwnVector
< TrackingRecHit
RecHitContainer
 
typedef edm::Range
< RecHitContainer::const_iterator > 
RecHitRange
 

Public Member Functions

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

Private Attributes

PropagationDirection dir_ = invalidDirection
 
RecHitContainer hits_
 
PTrajectoryStateOnDet tsos_
 

Detailed Description

TrajectorySeed contains

Definition at line 18 of file TrajectorySeed.h.

Member Typedef Documentation

Definition at line 20 of file TrajectorySeed.h.

typedef edm::Range<RecHitContainer::const_iterator> TrajectorySeed::RecHitRange

Definition at line 21 of file TrajectorySeed.h.

Constructor & Destructor Documentation

TrajectorySeed::TrajectorySeed ( )
inline

Definition at line 23 of file TrajectorySeed.h.

Referenced by clone().

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

Definition at line 24 of file TrajectorySeed.h.

24 {}
TrajectorySeed::TrajectorySeed ( PTrajectoryStateOnDet const &  ptsos,
RecHitContainer const &  rh,
PropagationDirection  dir 
)
inline

Definition at line 26 of file TrajectorySeed.h.

27  : hits_(rh), tsos_(ptsos), dir_(dir) {}
RecHitContainer hits_
PropagationDirection dir_
PTrajectoryStateOnDet tsos_
TrajectorySeed::TrajectorySeed ( PTrajectoryStateOnDet const &  ptsos,
RecHitContainer &&  rh,
PropagationDirection  dir 
)
inlinenoexcept

Definition at line 29 of file TrajectorySeed.h.

30  : hits_(std::move(rh)), tsos_(ptsos), dir_(dir) {}
RecHitContainer hits_
PropagationDirection dir_
def move
Definition: eostools.py:511
PTrajectoryStateOnDet tsos_
TrajectorySeed::TrajectorySeed ( TrajectorySeed const &  o)
default
TrajectorySeed::TrajectorySeed ( TrajectorySeed &&  o)
defaultnoexcept

Member Function Documentation

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

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

Definition at line 57 of file TrajectorySeed.h.

References TrajectorySeed().

57 { return new TrajectorySeed(*this); }
PropagationDirection TrajectorySeed::direction ( ) const
inline
unsigned int TrajectorySeed::nHits ( ) const
inline
TrajectorySeed& TrajectorySeed::operator= ( TrajectorySeed const &  o)
default
TrajectorySeed& TrajectorySeed::operator= ( TrajectorySeed &&  o)
defaultnoexcept
RecHitRange TrajectorySeed::recHits ( void  ) const
inline

Definition at line 52 of file TrajectorySeed.h.

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

Referenced by QuickTrackAssociatorByHitsImpl::associateRecoToSim(), QuickTrackAssociatorByHitsImpl::associateSimToReco(), FWTrajectorySeedProxyBuilder::build(), PFElecTkProducer::findPfRef(), MTVHistoProducerAlgoForTracker::getSeedingLayerSetBin(), CachingSeedCleanerBySharedInput::good(), reco::ElectronSeed::hitsMask(), reco::ElectronSeed::initTwoHitSeed(), MuonSeedCleaner::OverlapSegments(), HLTMuonTrackMassFilter::pairMatched(), PrintRecoObjects::print(), TrajSeedMatcher::processSeed(), FastTSGFromL2Muon::produce(), TrackListMerger::produce(), TrackCandidateProducer::produce(), ExtraFromSeeds::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), L2MuonSeedGeneratorFromL1TkMu::produce(), MuonSeedCleaner::SeedChi2(), MuonSeedCleaner::SeedLength(), CosmicTrajectoryBuilder::seedMeasurements(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), SeedTransformer::seedTransform(), L3TkMuonProducer::sharedSeed(), CosmicTrajectoryBuilder::SortHits(), CRackTrajectoryBuilder::SortHits(), ExhaustiveMuonTrajectoryBuilder::trajectories(), and QuickTrackAssociatorByHitsImpl::weightedNumberOfTrackClusters().

52 { return {hits_.begin(), hits_.end()}; }
RecHitContainer hits_
iterator begin()
Definition: OwnVector.h:280
iterator end()
Definition: OwnVector.h:285
PTrajectoryStateOnDet const& TrajectorySeed::startingState ( ) const
inline
void TrajectorySeed::swap ( PTrajectoryStateOnDet ptsos,
RecHitContainer rh,
PropagationDirection dir 
)
inlinenoexcept

Definition at line 32 of file TrajectorySeed.h.

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

32  {
33  hits_.swap(rh);
34  std::swap(tsos_, ptsos);
35  std::swap(dir_, dir);
36  }
RecHitContainer hits_
PropagationDirection dir_
void swap(OwnVector< T, P > &other) noexcept
Definition: OwnVector.h:512
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
PTrajectoryStateOnDet tsos_
void TrajectorySeed::swap ( TrajectorySeed rh)
inlinenoexcept

Definition at line 38 of file TrajectorySeed.h.

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

38  {
39  hits_.swap(rh.hits_);
40  std::swap(tsos_, rh.tsos_);
41  std::swap(dir_, rh.dir_);
42  }
RecHitContainer hits_
PropagationDirection dir_
void swap(OwnVector< T, P > &other) noexcept
Definition: OwnVector.h:512
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
PTrajectoryStateOnDet tsos_

Member Data Documentation

PropagationDirection TrajectorySeed::dir_ = invalidDirection
private

Definition at line 62 of file TrajectorySeed.h.

Referenced by direction(), and swap().

RecHitContainer TrajectorySeed::hits_
private

Definition at line 60 of file TrajectorySeed.h.

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

PTrajectoryStateOnDet TrajectorySeed::tsos_
private

Definition at line 61 of file TrajectorySeed.h.

Referenced by startingState(), and swap().