![]() |
ATLAS Offline Software
|
#include <TrackSegment.h>
Public Types | |
| enum | Author { AuthorUnknown = 0, MooMdtSegmentMakerTool = 1, MooCscSegmentMakerTool = 2, Muonboy = 3, DCMathSegmentMaker = 4, MDT_DHoughSegmentMakerTool = 5, CSC_DHoughSegmentMakerTool = 6, Csc2dSegmentMaker = 7, Csc4dSegmentMaker = 8, TRT_SegmentMaker = 9, CTBTracking = 10, DCMathSegmentMakerCurved = 11, NswStereoSeeded = 12, NswStgcSeeded = 13, NswPadSeeded = 14, NswQuadAlign = 15, NumberOfAuthors = 16 } |
| enum to identify who created the segment. More... | |
Public Member Functions | |
| TrackSegment () | |
| Default Constructor for POOL. More... | |
| TrackSegment (const TrackSegment &seg)=default | |
| Copy Constructor. More... | |
| TrackSegment (TrackSegment &&) noexcept=default | |
| Move Constructor. More... | |
| TrackSegment & | operator= (const TrackSegment &seg)=default |
| Assignment operator. More... | |
| TrackSegment & | operator= (TrackSegment &&) noexcept=default |
| Move assignment operator. More... | |
| TrackSegment (LocalParameters &&locpars, Amg::MatrixX &&locerr, const Surface *sf, DataVector< const MeasurementBase > &&crots, FitQuality *fqual, Segment::Author author=Segment::AuthorUnknown) | |
| Constructor with parameters. More... | |
| virtual | ~TrackSegment ()=default |
| Destructor. More... | |
| virtual TrackSegment * | clone () const override final |
| needed to avoid excessive RTTI More... | |
| const Surface & | associatedSurface () const override final |
| returns the surface for the local to global transformation More... | |
| const Amg::Vector3D & | globalPosition () const override final |
| Interface method to get the global Position. More... | |
| MsgStream & | dump (MsgStream &out) const override final |
| returns some information about this MeasurementBase/TrackSegment. More... | |
| std::ostream & | dump (std::ostream &out) const override final |
| returns some information about this MeasurementBase/TrackSegment. More... | |
| std::unique_ptr< Segment > | uniqueClone () const |
| NVI uniqueClone method. More... | |
| virtual bool | type (MeasurementBaseType::Type type) const override final |
| Extended method checking the type. More... | |
| const std::vector< const Trk::MeasurementBase * > & | containedMeasurements () const |
| returns the vector of Trk::MeasurementBase objects More... | |
| const DataVector< const Trk::MeasurementBase > & | containedMeasurementsDataVector () const |
| bool | hasContainedMeasurements () const |
| unsigned int | numberOfMeasurementBases () const |
| Return the number of contained Trk::MeasurementBase (s) More... | |
| const MeasurementBase * | measurement (unsigned int) const |
| returns the Trk::MeasurementBase objects depending on the integer More... | |
| const FitQuality * | fitQuality () const |
| return the FitQuality object, returns NULL if no FitQuality is defined More... | |
| void | setAuthor (Author a) |
| sets the segment author More... | |
| Author | author () const |
| return segment author More... | |
| std::string | dumpAuthor () const |
| returns human readble string version of author More... | |
| const LocalParameters & | localParameters () const |
| Interface method to get the LocalParameters. More... | |
| const Amg::MatrixX & | localCovariance () const |
| Interface method to get the localError. More... | |
| const S * | surfacePtr () |
| return the ptr we hold useful for tests More... | |
| const S * | release () noexcept |
| release ala unique_ptr release More... | |
| void | destroySurface () noexcept |
| destroySurface deletes the ptr if not null and the surface has not a associatedDetectorElement Usefull also for testing More... | |
Static Public Member Functions | |
| static std::size_t | numberOfInstantiations () |
| static const S * | cloneHelper (const S *input) |
| Helper for cloning or not when we need depending on if we have an associatedDetectorElement. More... | |
Static Public Attributes | |
| static std::atomic_size_t | s_numberOfInstantiations |
Protected Attributes | |
| std::unique_ptr< FitQuality > | m_fitQuality |
| The fit quality of the Segment. More... | |
| DataVector< const MeasurementBase > | m_containedMeasBases |
| The vector of contained (generic) Trk::MeasurementBase objects. More... | |
| Author | m_author |
| segment author More... | |
| LocalParameters | m_localParams |
| Amg::MatrixX | m_localCovariance |
| const S * | m_associatedSurface = nullptr |
Private Attributes | |
| Amg::Vector3D | m_globalPosition |
Friends | |
| class | ::TrackSegmentCnv_p1 |
Class for a generic track segment that holdes polymorphic Trk::MeasurementBase objects, it extends the Trk::Segment base class.
Trk::MeasurementBase objects of different type can be used to describe this track segment. The fitted Trk::LocalParameters such as the associated ErrorMatrix are directly forwarded to be stored in the Trk::MeasurementBase base class.
A Surface has to be provided to give the reference frame the \ Trk::TrackSegment is expressed to.
Definition at line 53 of file TrackSegment.h.
|
inherited |
enum to identify who created the segment.
If you update this don't forget to update the dump method.
Definition at line 62 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
| Trk::TrackSegment::TrackSegment | ( | ) |
Definition at line 20 of file TrackSegment.cxx.
|
default |
Copy Constructor.
|
defaultnoexcept |
Move Constructor.
| Trk::TrackSegment::TrackSegment | ( | Trk::LocalParameters && | locpars, |
| Amg::MatrixX && | locerr, | ||
| const Surface * | sf, | ||
| DataVector< const MeasurementBase > && | crots, | ||
| FitQuality * | fqual, | ||
| Segment::Author | author = Segment::AuthorUnknown |
||
| ) |
|
virtualdefault |
Destructor.
returns the surface for the local to global transformation
Implements Trk::MeasurementBase.
Definition at line 112 of file TrackSegment.h.
|
inlineinherited |
return segment author
Definition at line 199 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
inlinefinaloverridevirtual |
needed to avoid excessive RTTI
Implements Trk::Segment.
Definition at line 106 of file TrackSegment.h.
|
inlinestaticinherited |
Helper for cloning or not when we need depending on if we have an associatedDetectorElement.
Definition at line 213 of file SurfaceHolderImpl.h.
|
inlineinherited |
returns the vector of Trk::MeasurementBase objects
Definition at line 166 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
inlineinherited |
Definition at line 172 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
inlinenoexceptinherited |
destroySurface deletes the ptr if not null and the surface has not a associatedDetectorElement Usefull also for testing
Definition at line 201 of file SurfaceHolderImpl.h.
|
finaloverridevirtual |
returns some information about this MeasurementBase/TrackSegment.
It should be overloaded by any child classes
Implements Trk::MeasurementBase.
Definition at line 52 of file TrackSegment.cxx.
|
finaloverridevirtual |
returns some information about this MeasurementBase/TrackSegment.
It should be overloaded by any child classes
Implements Trk::MeasurementBase.
Definition at line 64 of file TrackSegment.cxx.
|
inherited |
returns human readble string version of author
Definition at line 97 of file Tracking/TrkEvent/TrkSegment/src/Segment.cxx.
|
inlineinherited |
return the FitQuality object, returns NULL if no FitQuality is defined
Definition at line 160 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
finaloverridevirtual |
Interface method to get the global Position.
Implements Trk::MeasurementBase.
Definition at line 46 of file TrackSegment.cxx.
|
inlineinherited |
Definition at line 178 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
inlineinherited |
Interface method to get the localError.
Definition at line 138 of file MeasurementBase.h.
|
inlineinherited |
Interface method to get the LocalParameters.
Definition at line 132 of file MeasurementBase.h.
|
inlineinherited |
returns the Trk::MeasurementBase objects depending on the integer
Definition at line 184 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
inlinestaticinherited |
Definition at line 25 of file TrkObjectCounter.h.
|
inlineinherited |
Return the number of contained Trk::MeasurementBase (s)
Definition at line 193 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
default |
Assignment operator.
|
defaultnoexcept |
Move assignment operator.
|
inlinenoexceptinherited |
|
inherited |
sets the segment author
Definition at line 148 of file Tracking/TrkEvent/TrkSegment/src/Segment.cxx.
|
inlineinherited |
|
inlinefinaloverridevirtualinherited |
Extended method checking the type.
Implements Trk::MeasurementBase.
Definition at line 114 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
inlineinherited |
NVI uniqueClone method.
Definition at line 108 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
friend |
Definition at line 100 of file TrackSegment.h.
|
protectedinherited |
Definition at line 221 of file SurfaceHolderImpl.h.
|
protectedinherited |
segment author
Definition at line 156 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
protectedinherited |
The vector of contained (generic) Trk::MeasurementBase objects.
Definition at line 153 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
protectedinherited |
The fit quality of the Segment.
Definition at line 150 of file Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h.
|
private |
Definition at line 102 of file TrackSegment.h.
|
protectedinherited |
Definition at line 112 of file MeasurementBase.h.
|
protectedinherited |
Definition at line 111 of file MeasurementBase.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.
1.8.18