#include <TrackCandidate.h>
Public Types | |
typedef RecHitContainer::const_iterator | const_iterator |
typedef std::pair < const_iterator, const_iterator > | range |
typedef edm::OwnVector < TrackingRecHit > | RecHitContainer |
Public Member Functions | |
range | recHits () const |
TrajectorySeed const & | seed () const |
edm::RefToBase< TrajectorySeed > | seedRef () const |
void | setSeedRef (edm::RefToBase< TrajectorySeed > &seedRef) |
TrackCandidate (RecHitContainer &rh) | |
TrackCandidate (RecHitContainer &rh, TrajectorySeed const &s, PTrajectoryStateOnDet const &st, const edm::RefToBase< TrajectorySeed > &seedRef) | |
TrackCandidate (RecHitContainer &rh, TrajectorySeed const &s, PTrajectoryStateOnDet const &st) | |
TrackCandidate () | |
PTrajectoryStateOnDet const & | trajectoryStateOnDet () const |
virtual | ~TrackCandidate () |
Private Attributes | |
RecHitContainer | rh_ |
TrajectorySeed | seed_ |
edm::RefToBase< TrajectorySeed > | seedRef_ |
PTrajectoryStateOnDet | state_ |
A track candidate is
only the second is compulsory,the other three can be empty / not present
Definition at line 23 of file TrackCandidate.h.
typedef RecHitContainer::const_iterator TrackCandidate::const_iterator |
Definition at line 26 of file TrackCandidate.h.
typedef std::pair<const_iterator,const_iterator> TrackCandidate::range |
Definition at line 27 of file TrackCandidate.h.
Definition at line 25 of file TrackCandidate.h.
TrackCandidate::TrackCandidate | ( | ) | [inline] |
virtual TrackCandidate::~TrackCandidate | ( | ) | [inline, virtual] |
Definition at line 30 of file TrackCandidate.h.
{}
TrackCandidate::TrackCandidate | ( | RecHitContainer & | rh | ) | [inline] |
Definition at line 32 of file TrackCandidate.h.
References rh_, and edm::OwnVector< T, P >::swap().
TrackCandidate::TrackCandidate | ( | RecHitContainer & | rh, |
TrajectorySeed const & | s, | ||
PTrajectoryStateOnDet const & | st | ||
) | [inline] |
TrackCandidate::TrackCandidate | ( | RecHitContainer & | rh, |
TrajectorySeed const & | s, | ||
PTrajectoryStateOnDet const & | st, | ||
const edm::RefToBase< TrajectorySeed > & | seedRef | ||
) | [inline] |
range TrackCandidate::recHits | ( | void | ) | const [inline] |
Definition at line 52 of file TrackCandidate.h.
References edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::end(), and rh_.
Referenced by TestHits::analyze(), TrackBuildingAnalyzer::analyze(), TestSmoothHits::analyze(), TrackProducerWithSCAssociation::produce(), and RoadSearchHelixMakerAlgorithm::run().
TrajectorySeed const& TrackCandidate::seed | ( | ) | const [inline] |
Definition at line 54 of file TrackCandidate.h.
References seed_.
Referenced by TestHits::analyze(), TestSmoothHits::analyze(), and TrackProducerWithSCAssociation::produce().
{return seed_;}
edm::RefToBase<TrajectorySeed> TrackCandidate::seedRef | ( | ) | const [inline] |
return the edm::reference to the trajectory seed in the original seeds collection. If the collection has been dropped from the Event, the reference may be invalid. Its validity should be tested, before the reference is actually used.
Definition at line 61 of file TrackCandidate.h.
References seedRef_.
Referenced by TrackProducerWithSCAssociation::produce(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), and setSeedRef().
{ return seedRef_; }
void TrackCandidate::setSeedRef | ( | edm::RefToBase< TrajectorySeed > & | seedRef | ) | [inline] |
PTrajectoryStateOnDet const& TrackCandidate::trajectoryStateOnDet | ( | ) | const [inline] |
Definition at line 50 of file TrackCandidate.h.
References state_.
Referenced by TestHits::analyze(), TrackBuildingAnalyzer::analyze(), TestSmoothHits::analyze(), TrackCandidateProducer::produce(), and TrackProducerWithSCAssociation::produce().
{ return state_;}
RecHitContainer TrackCandidate::rh_ [private] |
Definition at line 66 of file TrackCandidate.h.
Referenced by recHits(), and TrackCandidate().
TrajectorySeed TrackCandidate::seed_ [private] |
Definition at line 67 of file TrackCandidate.h.
Referenced by seed().
edm::RefToBase<TrajectorySeed> TrackCandidate::seedRef_ [private] |
Definition at line 69 of file TrackCandidate.h.
Referenced by seedRef(), and setSeedRef().
PTrajectoryStateOnDet TrackCandidate::state_ [private] |
Definition at line 68 of file TrackCandidate.h.
Referenced by trajectoryStateOnDet().