|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #ifndef TRKTRACKSTATEONSURFACE_H
11 #define TRKTRACKSTATEONSURFACE_H
72 friend class ::TrackCollectionCnv;
73 friend class ::TrackStateOnSurfaceCnv_p3;
184 const std::bitset<NumberOfTrackStateOnSurfaceTypes>&
types,
185 const std::bitset<NumberOfPersistencyHints>&
hints)
188 unsigned int long res =
hints.to_ulong();
197 const unsigned int long input,
198 std::bitset<NumberOfTrackStateOnSurfaceTypes>&
types,
199 std::bitset<NumberOfPersistencyHints>&
hints)
202 constexpr
unsigned int long maskTypesSet =
205 types = std::bitset<NumberOfTrackStateOnSurfaceTypes>(
input & maskTypesSet);
207 hints = std::bitset<NumberOfPersistencyHints>(
232 std::unique_ptr<MeasurementBase> meas,
234 std::unique_ptr<MaterialEffectsBase> materialEffects =
nullptr,
238 std::unique_ptr<MeasurementBase> meas,
240 std::unique_ptr<MaterialEffectsBase> materialEffects =
nullptr,
259 std::unique_ptr<MeasurementBase> meas,
262 const std::bitset<TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes>& typePattern,
266 std::unique_ptr<MeasurementBase> meas,
269 const std::bitset<TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes>& typePattern,
341 const std::bitset<NumberOfTrackStateOnSurfaceTypes>
types()
const;
353 const std::bitset<NumberOfPersistencyHints>
hints()
const;
379 operator<<(MsgStream& sl,
const TrackStateOnSurface& tsos);
383 operator<<(std::ostream& sl,
const TrackStateOnSurface& tsos);
const TrackParameters * trackParameters() const
return ptr to trackparameters const overload
FitQualityOnSurface m_fitQualityOnSurface
@ CaloDeposit
This TSOS contains a CaloEnergy object.
Trk::TrackStateOnSurface & operator=(const Trk::TrackStateOnSurface &rhs)
@ NumberOfPersistencyHints
TrackStateOnSurface()
Default ctor for POOL.
const Trk::Surface & surface() const
return associated surface
virtual TrackStateOnSurface * clone() const
Pseudo-constructor: needed to avoid excessive RTTI.
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
@ PersistifyTrackParameters
Mark track parameters for persisitification.
std::unique_ptr< MaterialEffectsBase > m_materialEffectsOnTrack
std::string dumpType() const
returns a string with the expanded type of the object (i.e.
virtual ~TrackStateOnSurface()=default
destructor
const MeasurementBase * measurementOnTrack() const
returns MeasurementBase const overload
const std::bitset< NumberOfTrackStateOnSurfaceTypes > types() const
returns a bitset with the types of this bitset.
void setFlags()
set sensible default flags
@ PersistifyMeasurement
Mark the measuremenet for persistification.
base class to integrate material effects on Trk::Track in a flexible way.
Class to represent misalignments or 'discontinuities' on tracks These have a surface where the z axis...
MaterialEffectsBase * materialEffectsOnTrack()
return material effects non-const overload
@ Alignment
This TSOS contains a Trk::AlignmentEffectsOnTrack.
const FitQualityOnSurface & fitQualityOnSurface() const
return FitQuality On Surface const overload
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
FitQualityOnSurface & fitQualityOnSurface()
return FitQuality On Surface 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.
@ Hole
A hole on the track - this is defined in the following way.
const MaterialEffectsBase * materialEffectsOnTrack() const
return material effects const overload
static unsigned int long joinBitsets(const std::bitset< NumberOfTrackStateOnSurfaceTypes > &types, const std::bitset< NumberOfPersistencyHints > &hints)
std::pair< std::vector< unsigned int >, bool > res
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
@ PersistifySlimCaloDeposit
Mark track parameters for persisitification.
@ Parameter
This TSOS contains a Trk::ParameterBase.
@ BremPoint
This represents a brem point on the track, and so will contain TrackParameters and MaterialEffectsBas...
const AlignmentEffectsOnTrack * alignmentEffectsOnTrack() const
return the the alignment effects const overload
std::unique_ptr< TrackParameters > m_trackParameters
Ensure that the ATLAS eigen extensions are properly loaded.
represents the track state (measurement, material, fit parameters and quality) at a surface.
@ InertMaterial
This represents inert material, and so will contain MaterialEffectsBase.
static void splitToBitsets(const unsigned int long input, std::bitset< NumberOfTrackStateOnSurfaceTypes > &types, std::bitset< NumberOfPersistencyHints > &hints)
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.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
std::atomic< uint8_t > m_hints
@ Scatterer
This represents a scattering point on the track, and so will contain TrackParameters and MaterialEffe...
TrackParameters * trackParameters()
return ptr to trackparameters non-const overload
AlignmentEffectsOnTrack * alignmentEffectsOnTrack()
return the the alignment effects non-const overload
std::unique_ptr< MeasurementBase > m_measurementOnTrack
std::unique_ptr< AlignmentEffectsOnTrack > m_alignmentEffectsOnTrack
@ Unknown
For some reason this does not fall into any of the other categories PLEASE DO NOT USE THIS - DEPRECAT...
@ PartialPersistification
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
@ NumberOfTrackStateOnSurfaceTypes
virtual Trk::TrackStateOnSurface::Variety variety() const
Use this method to find if this is a Single, Multi or Align TrackStateOnsurface.
MeasurementBase * measurementOnTrack()
returns MeasurementBase non-const overload