MarlinTrk  02.08
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
MarlinTrk::MarlinDDKalTest Class Reference

Interface to KaltTest Kalman fitter - instantiates and holds the detector geometry. More...

#include <MarlinDDKalTest.h>

+ Inheritance diagram for MarlinTrk::MarlinDDKalTest:

Public Member Functions

 MarlinDDKalTest ()
 Default c'tor. More...
 
 MarlinDDKalTest (const MarlinDDKalTest &)=delete
 
MarlinDDKalTest const & operator= (const MarlinDDKalTest &)=delete
 
 ~MarlinDDKalTest ()
 d'tor More...
 
virtual void setOption (unsigned CFGOption, bool val)
 Sets the specified option ( one of the constants defined in IMarlinTrkSystem::CFG ) to the given value. More...
 
void init ()
 initialise track fitter system More...
 
virtual std::string name ()
 the name of the implementation More...
 
MarlinTrk::IMarlinTrackcreateTrack ()
 instantiate its implementation of the IMarlinTrack More...
 
- Public Member Functions inherited from MarlinTrk::IMarlinTrkSystem
virtual ~IMarlinTrkSystem ()
 D'tor - cleans up any allocated resources. More...
 
bool getOption (unsigned CFGOption)
 Return the option's current value - false if option not defined. More...
 
std::string getOptions ()
 String with all configuration options and their current values. More...
 

Static Public Attributes

static const bool FitBackward = kIterBackward
 
static const bool FitForward = kIterForward
 
static const bool OrderOutgoing = true
 
static const bool OrderIncoming = false
 

Protected Member Functions

void includeMultipleScattering (bool on)
 take multiple scattering into account during the fit More...
 
void includeEnergyLoss (bool on)
 take energy loss into account during the fit More...
 
void storeActiveMeasurementModuleIDs (TVKalDetector *detector)
 Store active measurement module IDs for a given TVKalDetector needed for navigation. More...
 
void getSensitiveMeasurementModules (int detElementID, std::vector< const DDVMeasLayer * > &measmodules) const
 Store active measurement module IDs needed for navigation. More...
 
void getSensitiveMeasurementModulesForLayer (int layerID, std::vector< const DDVMeasLayer * > &measmodules) const
 Store active measurement module IDs needed for navigation. More...
 
const DDVMeasLayer * findMeasLayer (EVENT::TrackerHit *trkhit) const
 
const DDVMeasLayer * findMeasLayer (int detElementID, const TVector3 &point) const
 
const DDVMeasLayer * getLastMeasLayer (THelicalTrack const &helix, TVector3 const &point) const
 
const DDCylinderMeasLayer * getIPLayer () const
 
- Protected Member Functions inherited from MarlinTrk::IMarlinTrkSystem
void registerOptions ()
 Register the possible configuration options. More...
 

Protected Attributes

bool is_initialised =false
 
const DDCylinderMeasLayer * _ipLayer =nullptr
 
TKalDetCradle * _det =nullptr
 
std::multimap< int, const
DDVMeasLayer * > 
_active_measurement_modules {}
 
std::multimap< int, const
DDVMeasLayer * > 
_active_measurement_modules_by_layer {}
 
std::vector< DDKalDetector * > _detectors {}
 
- Protected Attributes inherited from MarlinTrk::IMarlinTrkSystem
ConfigFlags _cfg {}
 

Friends

class MarlinDDKalTestTrack
 

Detailed Description

Interface to KaltTest Kalman fitter - instantiates and holds the detector geometry.

Definition at line 42 of file MarlinDDKalTest.h.

Constructor & Destructor Documentation

MarlinTrk::MarlinDDKalTest::MarlinDDKalTest ( )

Default c'tor.

Definition at line 36 of file MarlinDDKalTest.cc.

References _det, std::endl(), is_initialised, and MarlinTrk::IMarlinTrkSystem::registerOptions().

MarlinTrk::MarlinDDKalTest::MarlinDDKalTest ( const MarlinDDKalTest )
delete
MarlinTrk::MarlinDDKalTest::~MarlinDDKalTest ( )

d'tor

Definition at line 51 of file MarlinDDKalTest.cc.

References _det, and _detectors.

Member Function Documentation

MarlinTrk::IMarlinTrack * MarlinTrk::MarlinDDKalTest::createTrack ( )
virtual

instantiate its implementation of the IMarlinTrack

Implements MarlinTrk::IMarlinTrkSystem.

Definition at line 220 of file MarlinDDKalTest.cc.

References std::endl(), is_initialised, MarlinDDKalTestTrack, and std::stringstream::str().

const DDVMeasLayer * MarlinTrk::MarlinDDKalTest::findMeasLayer ( EVENT::TrackerHit trkhit) const
protected
const DDVMeasLayer * MarlinTrk::MarlinDDKalTest::findMeasLayer ( int  detElementID,
const TVector3 &  point 
) const
protected
const DDCylinderMeasLayer* MarlinTrk::MarlinDDKalTest::getIPLayer ( ) const
inlineprotected

Definition at line 106 of file MarlinDDKalTest.h.

References _ipLayer.

Referenced by MarlinTrk::MarlinDDKalTestTrack::propagate().

const DDVMeasLayer * MarlinTrk::MarlinDDKalTest::getLastMeasLayer ( THelicalTrack const &  helix,
TVector3 const &  point 
) const
protected

Definition at line 373 of file MarlinDDKalTest.cc.

References _det.

Referenced by MarlinTrk::MarlinDDKalTestTrack::propagate().

void MarlinTrk::MarlinDDKalTest::getSensitiveMeasurementModules ( int  detElementID,
std::vector< const DDVMeasLayer * > &  measmodules 
) const
protected
void MarlinTrk::MarlinDDKalTest::getSensitiveMeasurementModulesForLayer ( int  layerID,
std::vector< const DDVMeasLayer * > &  measmodules 
) const
protected
void MarlinTrk::MarlinDDKalTest::includeEnergyLoss ( bool  on)
protected

take energy loss into account during the fit

Definition at line 247 of file MarlinDDKalTest.cc.

References _det, and std::endl().

Referenced by init(), and setOption().

void MarlinTrk::MarlinDDKalTest::includeMultipleScattering ( bool  on)
protected

take multiple scattering into account during the fit

Definition at line 234 of file MarlinDDKalTest.cc.

References _det, and std::endl().

Referenced by init(), and setOption().

void MarlinTrk::MarlinDDKalTest::init ( )
virtual
virtual std::string MarlinTrk::MarlinDDKalTest::name ( )
inlinevirtual

the name of the implementation

Reimplemented from MarlinTrk::IMarlinTrkSystem.

Definition at line 72 of file MarlinDDKalTest.h.

Referenced by init().

MarlinDDKalTest const& MarlinTrk::MarlinDDKalTest::operator= ( const MarlinDDKalTest )
delete
void MarlinTrk::MarlinDDKalTest::setOption ( unsigned  CFGOption,
bool  val 
)
virtual

Sets the specified option ( one of the constants defined in IMarlinTrkSystem::CFG ) to the given value.

Override here to re-configure E-loss and QMS after the initialization.

Reimplemented from MarlinTrk::IMarlinTrkSystem.

Definition at line 61 of file MarlinDDKalTest.cc.

References includeEnergyLoss(), includeMultipleScattering(), MarlinTrk::IMarlinTrkSystem::setOption(), MarlinTrk::IMarlinTrkSystem::CFG::usedEdx, and MarlinTrk::IMarlinTrkSystem::CFG::useQMS.

void MarlinTrk::MarlinDDKalTest::storeActiveMeasurementModuleIDs ( TVKalDetector *  detector)
protected

Store active measurement module IDs for a given TVKalDetector needed for navigation.

Definition at line 322 of file MarlinDDKalTest.cc.

References _active_measurement_modules, _active_measurement_modules_by_layer, std::vector< T >::begin(), std::vector< T >::end(), std::endl(), std::multimap< K, T >::insert(), and std::stringstream::str().

Referenced by init().

Friends And Related Function Documentation

friend class MarlinDDKalTestTrack
friend

Definition at line 46 of file MarlinDDKalTest.h.

Referenced by createTrack().

Member Data Documentation

std::multimap< int,const DDVMeasLayer *> MarlinTrk::MarlinDDKalTest::_active_measurement_modules {}
protected
std::multimap< int,const DDVMeasLayer *> MarlinTrk::MarlinDDKalTest::_active_measurement_modules_by_layer {}
protected
TKalDetCradle* MarlinTrk::MarlinDDKalTest::_det =nullptr
protected
std::vector< DDKalDetector* > MarlinTrk::MarlinDDKalTest::_detectors {}
protected

Definition at line 119 of file MarlinDDKalTest.h.

Referenced by init(), and ~MarlinDDKalTest().

const DDCylinderMeasLayer* MarlinTrk::MarlinDDKalTest::_ipLayer =nullptr
protected

Definition at line 111 of file MarlinDDKalTest.h.

Referenced by getIPLayer(), and init().

const bool MarlinTrk::MarlinDDKalTest::FitBackward = kIterBackward
static

Definition at line 49 of file MarlinDDKalTest.h.

const bool MarlinTrk::MarlinDDKalTest::FitForward = kIterForward
static

Definition at line 50 of file MarlinDDKalTest.h.

bool MarlinTrk::MarlinDDKalTest::is_initialised =false
protected

Definition at line 96 of file MarlinDDKalTest.h.

Referenced by createTrack(), init(), and MarlinDDKalTest().

const bool MarlinTrk::MarlinDDKalTest::OrderIncoming = false
static

Definition at line 52 of file MarlinDDKalTest.h.

const bool MarlinTrk::MarlinDDKalTest::OrderOutgoing = true
static

Definition at line 51 of file MarlinDDKalTest.h.


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