#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 | |
bool | isLooper () const |
signed char | nLoops () const |
range | recHits () const |
TrajectorySeed const & | seed () const |
edm::RefToBase< TrajectorySeed > | seedRef () const |
void | setNLoops (signed char value) |
void | setSeedRef (edm::RefToBase< TrajectorySeed > &seedRef) |
void | setStopReason (uint8_t value) |
uint8_t | stopReason () const |
TrackCandidate () | |
TrackCandidate (RecHitContainer &rh) | |
TrackCandidate (RecHitContainer &rh, TrajectorySeed const &s, PTrajectoryStateOnDet const &st, signed char nLoops=0, uint8_t stopReason=(uint8_t) StopReason::UNINITIALIZED) | |
TrackCandidate (RecHitContainer &rh, TrajectorySeed const &s, PTrajectoryStateOnDet const &st, const edm::RefToBase< TrajectorySeed > &seedRef, signed char nLoops=0, uint8_t stopReason=(uint8_t) StopReason::UNINITIALIZED) | |
PTrajectoryStateOnDet const & | trajectoryStateOnDet () const |
Private Attributes | |
signed char | nLoops_ |
RecHitContainer | rh_ |
TrajectorySeed | seed_ |
edm::RefToBase< TrajectorySeed > | seedRef_ |
PTrajectoryStateOnDet | state_ |
uint8_t | stopReason_ |
A track candidate is - a TSOS or equivalent (here a PTrajectoryStateOnDet) - a vector of rechits (here via the OwnVector interface) - a TrajectorySeed (to be confirmed as matching the final track) - a reference to the TrajectorySeed in the origianl collection of seeds. Often this collection is not saved on disk and therefore the reference may be invalid.
only the second is compulsory,the other three can be empty / not present
Definition at line 24 of file TrackCandidate.h.
typedef RecHitContainer::const_iterator TrackCandidate::const_iterator |
Definition at line 27 of file TrackCandidate.h.
typedef std::pair<const_iterator,const_iterator> TrackCandidate::range |
Definition at line 28 of file TrackCandidate.h.
Definition at line 26 of file TrackCandidate.h.
|
inline |
Definition at line 30 of file TrackCandidate.h.
|
inlineexplicit |
Definition at line 32 of file TrackCandidate.h.
References rh_, and edm::OwnVector< T, P >::swap().
|
inline |
|
inline |
Definition at line 43 of file TrackCandidate.h.
References rh_, and edm::OwnVector< T, P >::swap().
|
inline |
|
inline |
|
inline |
Definition at line 54 of file TrackCandidate.h.
References edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::end(), and rh_.
Referenced by TrackBuildingAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), FakeTrackProducer< T >::getHits(), and TrackProducerWithSCAssociation::produce().
|
inline |
Definition at line 56 of file TrackCandidate.h.
References seed_.
Referenced by TestHits::analyze(), TestSmoothHits::analyze(), and TrackProducerWithSCAssociation::produce().
|
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 72 of file TrackCandidate.h.
References seedRef_.
Referenced by TrackProducerWithSCAssociation::produce(), and setSeedRef().
|
inline |
|
inline |
Definition at line 74 of file TrackCandidate.h.
References seedRef(), and seedRef_.
|
inline |
Definition at line 65 of file TrackCandidate.h.
References stopReason_, and relativeConstraints::value.
Referenced by TrackMerger::merge().
|
inline |
Definition at line 61 of file TrackCandidate.h.
References stopReason_.
Referenced by TrackBuildingAnalyzer::analyze().
|
inline |
Definition at line 52 of file TrackCandidate.h.
References state_.
Referenced by TrackBuildingAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), FakeTrackProducer< T >::getState(), and TrackProducerWithSCAssociation::produce().
|
private |
Definition at line 81 of file TrackCandidate.h.
Referenced by isLooper(), nLoops(), and setNLoops().
|
private |
Definition at line 77 of file TrackCandidate.h.
Referenced by recHits(), and TrackCandidate().
|
private |
Definition at line 78 of file TrackCandidate.h.
Referenced by seed().
|
private |
Definition at line 80 of file TrackCandidate.h.
Referenced by seedRef(), and setSeedRef().
|
private |
Definition at line 79 of file TrackCandidate.h.
Referenced by trajectoryStateOnDet().
|
private |
Definition at line 82 of file TrackCandidate.h.
Referenced by setStopReason(), and stopReason().