ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Trk::IMaterialAllocator Class Referenceabstract

#include <IMaterialAllocator.h>

Inheritance diagram for Trk::IMaterialAllocator:
Collaboration diagram for Trk::IMaterialAllocator:

Public Types

typedef std::vector< std::unique_ptr< const TrackStateOnSurface > > Garbage_t
 

Public Member Functions

virtual ~IMaterialAllocator ()
 Virtual destructor. More...
 
virtual void addLeadingMaterial (std::vector< FitMeasurement * > &measurements, ParticleHypothesis particleHypothesis, FitParameters &fitParameters, Garbage_t &garbage) const =0
 IMaterialAllocator interface: add leading material effects to fit measurements and parameters. More...
 
virtual void allocateMaterial (std::vector< FitMeasurement * > &measurements, ParticleHypothesis particleHypothesis, FitParameters &fitParameters, const TrackParameters &startParameters, Garbage_t &garbage) const =0
 IMaterialAllocator interface: allocate material. More...
 
virtual void initializeScattering (std::vector< FitMeasurement * > &measurements) const =0
 IMaterialAllocator interface: initialize scattering (needs to know X0 integral) More...
 
virtual std::vector< const TrackStateOnSurface * > * leadingSpectrometerTSOS (const TrackParameters &spectrometerParameters, Garbage_t &garbage) const =0
 IMaterialAllocator interface: material TSOS between spectrometer entrance surface and parameters given in spectrometer. More...
 
virtual void orderMeasurements (std::vector< FitMeasurement * > &measurements, Amg::Vector3D startDirection, Amg::Vector3D startPosition) const =0
 IMaterialAllocator interface: clear temporary TSOS. More...
 
virtual bool reallocateMaterial (std::vector< FitMeasurement * > &measurements, FitParameters &fitParameters, Garbage_t &garbage) const =0
 IMaterialAllocator interface: has material been reallocated? More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 AlgTool and IAlgTool interface methods. More...
 

Detailed Description

Base class for MaterialAllocator AlgTool

Author
Alan..nosp@m.Popp.nosp@m.leton.nosp@m.@cer.nosp@m.n.ch

Definition at line 38 of file IMaterialAllocator.h.

Member Typedef Documentation

◆ Garbage_t

typedef std::vector<std::unique_ptr<const TrackStateOnSurface> > Trk::IMaterialAllocator::Garbage_t

Definition at line 40 of file IMaterialAllocator.h.

Constructor & Destructor Documentation

◆ ~IMaterialAllocator()

virtual Trk::IMaterialAllocator::~IMaterialAllocator ( )
inlinevirtual

Virtual destructor.

Definition at line 43 of file IMaterialAllocator.h.

43 {}

Member Function Documentation

◆ addLeadingMaterial()

virtual void Trk::IMaterialAllocator::addLeadingMaterial ( std::vector< FitMeasurement * > &  measurements,
ParticleHypothesis  particleHypothesis,
FitParameters fitParameters,
Garbage_t garbage 
) const
pure virtual

IMaterialAllocator interface: add leading material effects to fit measurements and parameters.

Implemented in Trk::MaterialAllocator.

◆ allocateMaterial()

virtual void Trk::IMaterialAllocator::allocateMaterial ( std::vector< FitMeasurement * > &  measurements,
ParticleHypothesis  particleHypothesis,
FitParameters fitParameters,
const TrackParameters startParameters,
Garbage_t garbage 
) const
pure virtual

IMaterialAllocator interface: allocate material.

Implemented in Trk::MaterialAllocator.

◆ initializeScattering()

virtual void Trk::IMaterialAllocator::initializeScattering ( std::vector< FitMeasurement * > &  measurements) const
pure virtual

IMaterialAllocator interface: initialize scattering (needs to know X0 integral)

Implemented in Trk::MaterialAllocator.

◆ interfaceID()

static const InterfaceID& Trk::IMaterialAllocator::interfaceID ( )
inlinestatic

AlgTool and IAlgTool interface methods.

Definition at line 46 of file IMaterialAllocator.h.

46 { return IID_IMaterialAllocator; }

◆ leadingSpectrometerTSOS()

virtual std::vector<const TrackStateOnSurface*>* Trk::IMaterialAllocator::leadingSpectrometerTSOS ( const TrackParameters spectrometerParameters,
Garbage_t garbage 
) const
pure virtual

IMaterialAllocator interface: material TSOS between spectrometer entrance surface and parameters given in spectrometer.

Implemented in Trk::MaterialAllocator.

◆ orderMeasurements()

virtual void Trk::IMaterialAllocator::orderMeasurements ( std::vector< FitMeasurement * > &  measurements,
Amg::Vector3D  startDirection,
Amg::Vector3D  startPosition 
) const
pure virtual

IMaterialAllocator interface: clear temporary TSOS.

Implemented in Trk::MaterialAllocator.

◆ reallocateMaterial()

virtual bool Trk::IMaterialAllocator::reallocateMaterial ( std::vector< FitMeasurement * > &  measurements,
FitParameters fitParameters,
Garbage_t garbage 
) const
pure virtual

IMaterialAllocator interface: has material been reallocated?

Implemented in Trk::MaterialAllocator.


The documentation for this class was generated from the following file: