MarlinTrk
02.08
|
Interface to KaltTest Kalman fitter - instantiates and holds the detector geometry. More...
#include <MarlinDDKalTest.h>
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::IMarlinTrack * | createTrack () |
instantiate its implementation of the IMarlinTrack More... | |
![]() | |
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 |
![]() | |
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 {} |
![]() | |
ConfigFlags | _cfg {} |
Friends | |
class | MarlinDDKalTestTrack |
Interface to KaltTest Kalman fitter - instantiates and holds the detector geometry.
Definition at line 42 of file MarlinDDKalTest.h.
MarlinTrk::MarlinDDKalTest::MarlinDDKalTest | ( | ) |
Default c'tor.
Definition at line 36 of file MarlinDDKalTest.cc.
References _det, std::endl(), is_initialised, and MarlinTrk::IMarlinTrkSystem::registerOptions().
|
delete |
MarlinTrk::MarlinDDKalTest::~MarlinDDKalTest | ( | ) |
|
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().
|
protected |
Definition at line 431 of file MarlinDDKalTest.cc.
References EVENT::TrackerHit::getCellID0(), and EVENT::TrackerHit::getPosition().
Referenced by MarlinTrk::MarlinDDKalTestTrack::addAndFit(), MarlinTrk::MarlinDDKalTestTrack::addHit(), and MarlinTrk::MarlinDDKalTestTrack::testChi2Increment().
|
protected |
Definition at line 439 of file MarlinDDKalTest.cc.
References UTIL::LCTrackerCellID::encoding_string(), std::endl(), getSensitiveMeasurementModules(), UTIL::BitField64::setValue(), std::vector< T >::size(), std::stringstream::str(), and UTIL::BitField64::valueString().
|
inlineprotected |
Definition at line 106 of file MarlinDDKalTest.h.
References _ipLayer.
Referenced by MarlinTrk::MarlinDDKalTestTrack::propagate().
|
protected |
Definition at line 373 of file MarlinDDKalTest.cc.
References _det.
Referenced by MarlinTrk::MarlinDDKalTestTrack::propagate().
|
protected |
Store active measurement module IDs needed for navigation.
Definition at line 299 of file MarlinDDKalTest.cc.
References _active_measurement_modules, std::vector< T >::empty(), std::endl(), std::multimap< K, T >::equal_range(), std::pair::first, std::vector< T >::push_back(), std::pair::second, and std::stringstream::str().
Referenced by findMeasLayer(), and MarlinTrk::MarlinDDKalTestTrack::intersectionWithDetElement().
|
protected |
Store active measurement module IDs needed for navigation.
Definition at line 260 of file MarlinDDKalTest.cc.
References _active_measurement_modules_by_layer, std::vector< T >::empty(), UTIL::LCTrackerCellID::encoding_string(), std::endl(), std::multimap< K, T >::equal_range(), std::pair::first, std::vector< T >::push_back(), std::pair::second, and std::stringstream::str().
Referenced by MarlinTrk::MarlinDDKalTestTrack::intersectionWithLayer().
|
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().
|
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().
|
virtual |
initialise track fitter system
Implements MarlinTrk::IMarlinTrkSystem.
Definition at line 79 of file MarlinDDKalTest.cc.
References _det, _detectors, _ipLayer, std::vector< T >::back(), std::back_inserter(), std::string::begin(), std::vector< T >::begin(), std::map< K, T >::begin(), std::ofstream::close(), std::copy(), det, UTIL::LCTrackerCellID::encoding_string(), std::string::end(), std::vector< T >::end(), std::map< K, T >::end(), std::endl(), std::string::find(), MarlinTrk::IMarlinTrkSystem::getOption(), MarlinTrk::IMarlinTrkSystem::getOptions(), includeEnergyLoss(), includeMultipleScattering(), is_initialised, name(), std::ofstream::open(), std::vector< T >::push_back(), std::vector< T >::reserve(), std::scientific(), std::setw(), std::vector< T >::size(), storeActiveMeasurementModuleIDs(), std::stringstream::str(), std::transform(), MarlinTrk::IMarlinTrkSystem::CFG::usedEdx, and MarlinTrk::IMarlinTrkSystem::CFG::useQMS.
|
inlinevirtual |
the name of the implementation
Reimplemented from MarlinTrk::IMarlinTrkSystem.
Definition at line 72 of file MarlinDDKalTest.h.
Referenced by init().
|
delete |
|
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.
|
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().
|
friend |
Definition at line 46 of file MarlinDDKalTest.h.
Referenced by createTrack().
|
protected |
Definition at line 115 of file MarlinDDKalTest.h.
Referenced by getSensitiveMeasurementModules(), and storeActiveMeasurementModuleIDs().
|
protected |
Definition at line 117 of file MarlinDDKalTest.h.
Referenced by getSensitiveMeasurementModulesForLayer(), and storeActiveMeasurementModuleIDs().
|
protected |
Definition at line 113 of file MarlinDDKalTest.h.
Referenced by getLastMeasLayer(), includeEnergyLoss(), includeMultipleScattering(), init(), MarlinDDKalTest(), MarlinTrk::MarlinDDKalTestTrack::propagate(), and ~MarlinDDKalTest().
|
protected |
Definition at line 119 of file MarlinDDKalTest.h.
Referenced by init(), and ~MarlinDDKalTest().
|
protected |
Definition at line 111 of file MarlinDDKalTest.h.
Referenced by getIPLayer(), and init().
|
static |
Definition at line 49 of file MarlinDDKalTest.h.
|
static |
Definition at line 50 of file MarlinDDKalTest.h.
|
protected |
Definition at line 96 of file MarlinDDKalTest.h.
Referenced by createTrack(), init(), and MarlinDDKalTest().
|
static |
Definition at line 52 of file MarlinDDKalTest.h.
|
static |
Definition at line 51 of file MarlinDDKalTest.h.