![]() |
ATLAS Offline Software
|
#include <MultiComponentStateOnSurface.h>
Public Types | |
| enum | TrackStateOnSurfaceType { Measurement = 0 , InertMaterial = 1 , BremPoint = 2 , Scatterer = 3 , Perigee = 4 , Outlier = 5 , Hole = 6 , Unknown = 7 , CaloDeposit = 8 , Parameter = 9 , FitQuality = 10 , Alignment = 11 , NumberOfTrackStateOnSurfaceTypes = 12 } |
| enum | PersistencyHint { PartialPersistification = 0 , PersistifyMeasurement = 1 , PersistifyTrackParameters = 2 , PersistifySlimCaloDeposit = 3 , NumberOfPersistencyHints = 4 } |
| enum | Variety { SingleComponent = 0 , MultiComponent = 1 , Align = 2 } |
Public Member Functions | |
| MultiComponentStateOnSurface () | |
| Default constructor for POOL. | |
| MultiComponentStateOnSurface (const FitQualityOnSurface &, std::unique_ptr< MeasurementBase >, std::unique_ptr< TrackParameters >, MultiComponentState &&, std::unique_ptr< MaterialEffectsBase > materialEffectsOnTrack=nullptr) | |
| Create a MultiComponentStateOnSurface Object with an explicit declaration of the track parameters to be passed to the Trk::TrackStateOnSurface base class. | |
| MultiComponentStateOnSurface (const FitQualityOnSurface &, std::unique_ptr< MeasurementBase >, std::unique_ptr< TrackParameters >, MultiComponentState &&, std::unique_ptr< MaterialEffectsBase >, const std::bitset< NumberOfTrackStateOnSurfaceTypes > &types) | |
| Create a MultiComponentStateOnSurface Object with an explicit declaration of the track parameters to be passed to the base and also a TrackStateOnSurfaceType. | |
| MultiComponentStateOnSurface (const MultiComponentStateOnSurface &other) | |
| Copy constructor and assignment. | |
| MultiComponentStateOnSurface & | operator= (const MultiComponentStateOnSurface &other) |
| MultiComponentStateOnSurface (MultiComponentStateOnSurface &&other) noexcept=default | |
| Move constructor and assignment. | |
| MultiComponentStateOnSurface & | operator= (MultiComponentStateOnSurface &&other) noexcept=default |
| virtual | ~MultiComponentStateOnSurface ()=default |
| Virtual destructor. | |
| virtual MultiComponentStateOnSurface * | clone () const override final |
| Clone method for deep copy of MultiComponentStateOnSurface. | |
| virtual TrackStateOnSurface::Variety | variety () const override final |
| This is Multi. | |
| const MultiComponentState & | components () const |
| Method to return a referenceto the multi-component state const overload. | |
| MultiComponentState & | components () |
| Method to return a reference to the multi-component state non const overload. | |
| const FitQualityOnSurface & | fitQualityOnSurface () const |
| return FitQuality On Surface const overload | |
| FitQualityOnSurface & | fitQualityOnSurface () |
| return FitQuality On Surface non-const overload | |
| const TrackParameters * | trackParameters () const |
| return ptr to trackparameters const overload | |
| TrackParameters * | trackParameters () |
| return ptr to trackparameters non-const overload | |
| const MeasurementBase * | measurementOnTrack () const |
| returns MeasurementBase const overload | |
| MeasurementBase * | measurementOnTrack () |
| returns MeasurementBase non-const overload | |
| const MaterialEffectsBase * | materialEffectsOnTrack () const |
| return material effects const overload | |
| MaterialEffectsBase * | materialEffectsOnTrack () |
| return material effects non-const overload | |
| const AlignmentEffectsOnTrack * | alignmentEffectsOnTrack () const |
| return the the alignment effects const overload | |
| AlignmentEffectsOnTrack * | alignmentEffectsOnTrack () |
| return the the alignment effects non-const overload | |
| bool | type (const TrackStateOnSurfaceType type) const |
| Use this method to find out if the TSoS is of a certain type: i.e. | |
| std::string | dumpType () const |
| returns a string with the expanded type of the object (i.e. | |
| const std::bitset< NumberOfTrackStateOnSurfaceTypes > | types () const |
| returns a bitset with the types of this bitset. | |
| void | setHints (const uint8_t hints) const |
| Use this method to set persistification hints. | |
| const std::bitset< NumberOfPersistencyHints > | hints () const |
| Use this method to get the persistification hints. | |
| const Trk::Surface & | surface () const |
| return associated surface | |
| bool | isSane () const |
Static Public Member Functions | |
| static unsigned int long | joinBitsets (const std::bitset< NumberOfTrackStateOnSurfaceTypes > &types, const std::bitset< NumberOfPersistencyHints > &hints) |
| static void | splitToBitsets (const unsigned int long input, std::bitset< NumberOfTrackStateOnSurfaceTypes > &types, std::bitset< NumberOfPersistencyHints > &hints) |
Protected Attributes | |
| uint16_t | m_typeFlags {} |
| std::atomic< uint8_t > | m_hints {} |
Private Member Functions | |
| void | setFlags () |
| set sensible default flags | |
Private Attributes | |
| MultiComponentState | m_multiComponentState {} |
| FitQualityOnSurface | m_fitQualityOnSurface {} |
| std::unique_ptr< TrackParameters > | m_trackParameters {} |
| std::unique_ptr< MeasurementBase > | m_measurementOnTrack {} |
| std::unique_ptr< MaterialEffectsBase > | m_materialEffectsOnTrack {} |
| std::unique_ptr< AlignmentEffectsOnTrack > | m_alignmentEffectsOnTrack {} |
Friends | |
| class | ::TrackCollectionCnv |
| class | ::TrackStateOnSurfaceCnv_p3 |
Definition at line 41 of file MultiComponentStateOnSurface.h.
|
inherited |
Definition at line 155 of file TrackStateOnSurface.h.
|
inherited |
| Enumerator | |
|---|---|
| Measurement | This is a measurement, and will at least contain a Trk::MeasurementBase. |
| InertMaterial | This represents inert material, and so will contain MaterialEffectsBase. |
| BremPoint | This represents a brem point on the track, and so will contain TrackParameters and MaterialEffectsBase. |
| Scatterer | This represents a scattering point on the track, and so will contain TrackParameters and MaterialEffectsBase. |
| Perigee | This represents a perigee, and so will contain a Perigee object only. |
| Outlier | This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used in the track fit. |
| Hole | A hole on the track - this is defined in the following way. A hole is a missing measurement BETWEEN the first and last actual measurements. i.e. if your track starts in the SCT, you should not consider a missing b-layer hit as a hole. |
| Unknown | For some reason this does not fall into any of the other categories PLEASE DO NOT USE THIS - DEPRECATED! |
| CaloDeposit | This TSOS contains a CaloEnergy object. |
| Parameter | This TSOS contains a Trk::ParameterBase. |
| FitQuality | This TSOS contains a Trk::FitQualityOnSurface. |
| Alignment | This TSOS contains a Trk::AlignmentEffectsOnTrack. |
| NumberOfTrackStateOnSurfaceTypes | |
Definition at line 97 of file TrackStateOnSurface.h.
|
inherited |
| Enumerator | |
|---|---|
| SingleComponent | |
| MultiComponent | |
| Align | |
Definition at line 211 of file TrackStateOnSurface.h.
| Trk::MultiComponentStateOnSurface::MultiComponentStateOnSurface | ( | ) |
This should not be used!
Definition at line 14 of file MultiComponentStateOnSurface.cxx.
| Trk::MultiComponentStateOnSurface::MultiComponentStateOnSurface | ( | const FitQualityOnSurface & | fitQualityOnSurface, |
| std::unique_ptr< MeasurementBase > | measurementBase, | ||
| std::unique_ptr< TrackParameters > | trackParameters, | ||
| MultiComponentState && | multiComponentState, | ||
| std::unique_ptr< MaterialEffectsBase > | materialEffectsOnTrack = nullptr ) |
Create a MultiComponentStateOnSurface Object with an explicit declaration of the track parameters to be passed to the Trk::TrackStateOnSurface base class.
Definition at line 26 of file MultiComponentStateOnSurface.cxx.
| Trk::MultiComponentStateOnSurface::MultiComponentStateOnSurface | ( | const FitQualityOnSurface & | fitQualityOnSurface, |
| std::unique_ptr< MeasurementBase > | measurementBase, | ||
| std::unique_ptr< TrackParameters > | trackParameters, | ||
| MultiComponentState && | multiComponentState, | ||
| std::unique_ptr< MaterialEffectsBase > | materialEffectsOnTrack, | ||
| const std::bitset< NumberOfTrackStateOnSurfaceTypes > & | types ) |
Create a MultiComponentStateOnSurface Object with an explicit declaration of the track parameters to be passed to the base and also a TrackStateOnSurfaceType.
Definition at line 43 of file MultiComponentStateOnSurface.cxx.
| Trk::MultiComponentStateOnSurface::MultiComponentStateOnSurface | ( | const MultiComponentStateOnSurface & | other | ) |
Copy constructor and assignment.
Definition at line 59 of file MultiComponentStateOnSurface.cxx.
|
defaultnoexcept |
Move constructor and assignment.
|
virtualdefault |
Virtual destructor.
|
inherited |
return the the alignment effects non-const overload
|
inherited |
return the the alignment effects const overload
|
finaloverridevirtual |
Clone method for deep copy of MultiComponentStateOnSurface.
Reimplemented from Trk::TrackStateOnSurface.
Definition at line 80 of file MultiComponentStateOnSurface.cxx.
| MultiComponentState & Trk::MultiComponentStateOnSurface::components | ( | ) |
Method to return a reference to the multi-component state non const overload.
| const MultiComponentState & Trk::MultiComponentStateOnSurface::components | ( | ) | const |
Method to return a referenceto the multi-component state const overload.
|
inherited |
returns a string with the expanded type of the object (i.e.
if it has several type bits set, they all will be returned)
Definition at line 147 of file TrackStateOnSurface.cxx.
|
inherited |
return FitQuality On Surface non-const overload
|
inherited |
return FitQuality On Surface const overload
|
inherited |
Use this method to get the persistification hints.
|
inherited |
Definition at line 203 of file TrackStateOnSurface.cxx.
|
inlinestaticinherited |
Definition at line 183 of file TrackStateOnSurface.h.
|
inherited |
return material effects non-const overload
|
inherited |
return material effects const overload
|
inherited |
returns MeasurementBase non-const overload
|
inherited |
returns MeasurementBase const overload
| Trk::MultiComponentStateOnSurface & Trk::MultiComponentStateOnSurface::operator= | ( | const MultiComponentStateOnSurface & | other | ) |
Definition at line 68 of file MultiComponentStateOnSurface.cxx.
|
defaultnoexcept |
|
privateinherited |
set sensible default flags
|
inherited |
Use this method to set persistification hints.
This can be called only once per TSOS It will set a cached Value which we can not reset But this allows it to be const..
Definition at line 235 of file TrackStateOnSurface.cxx.
|
inlinestaticinherited |
Definition at line 196 of file TrackStateOnSurface.h.
|
inherited |
return associated surface
Used to perform sanity checks on this object (i.e. all consistuents are on the same surface). Returns 'true' if it seems okay.
Definition at line 188 of file TrackStateOnSurface.cxx.
|
inherited |
return ptr to trackparameters non-const overload
|
inherited |
return ptr to trackparameters const overload
|
inherited |
Use this method to find out if the TSoS is of a certain type: i.e.
if ( tsos->type(TrackStateOnSurface::Measurement) { //etc }
|
inherited |
returns a bitset with the types of this bitset.
As an example of how this is used, see the type( const TrackStateOnSurfaceType& type ) method but a better example would be if you wanted to check several type flags at once.
|
finaloverridevirtual |
This is Multi.
Reimplemented from Trk::TrackStateOnSurface.
|
friend |
Definition at line 44 of file MultiComponentStateOnSurface.h.
|
friend |
Definition at line 45 of file MultiComponentStateOnSurface.h.
|
privateinherited |
Definition at line 371 of file TrackStateOnSurface.h.
|
privateinherited |
Definition at line 367 of file TrackStateOnSurface.h.
|
mutableprotectedinherited |
Definition at line 374 of file TrackStateOnSurface.h.
|
privateinherited |
Definition at line 370 of file TrackStateOnSurface.h.
|
privateinherited |
Definition at line 369 of file TrackStateOnSurface.h.
|
private |
Definition at line 100 of file MultiComponentStateOnSurface.h.
|
privateinherited |
Definition at line 368 of file TrackStateOnSurface.h.
|
protectedinherited |
Definition at line 373 of file TrackStateOnSurface.h.