Belle II Software  release-08-01-10
SVDMeasurementCreatorFactory Class Reference

Add all measurement creators related to SVD hits. More...

#include <SVDMeasurementCreatorFactory.h>

Inheritance diagram for SVDMeasurementCreatorFactory:
Collaboration diagram for SVDMeasurementCreatorFactory:

Public Types

typedef SVDBaseMeasurementCreator CreatorType
 Typedef for convenience.
 

Public Member Functions

 SVDMeasurementCreatorFactory (const genfit::MeasurementFactory< genfit::AbsMeasurement > &measurementFactory)
 Initialize with a measurement factory.
 
SVDBaseMeasurementCreatorcreateMeasurementCreatorFromName (const std::string &creatorName) const override
 Only a simple reco hit creator and the momentum estimation is implemented in the moment.
 
void initialize ()
 Use the parameters given to the module and create the measurement creators from them.
 
const std::vector< std::shared_ptr< SVDBaseMeasurementCreator > > & getCreators () const
 Return the creators to the module.
 
std::map< std::string, std::map< std::string, std::string > > & getParameters ()
 Return a reference to the parameters you can use in the module.
 
void setParameters (const std::map< std::string, std::map< std::string, std::string >> &creatorsWithParametersDictionary)
 Set the parameters.
 

Private Attributes

const genfit::MeasurementFactory< genfit::AbsMeasurement > & m_measurementFactory
 A reference to the prefilled measurement factory.
 
std::vector< std::shared_ptr< SVDBaseMeasurementCreator > > m_measurementCreators
 A vector with the measurement creators. More...
 
std::map< std::string, std::map< std::string, std::string > > m_creatorsWithParametersDictionary
 The map of dictionaries of the parameters. More...
 

Detailed Description

Add all measurement creators related to SVD hits.

Definition at line 20 of file SVDMeasurementCreatorFactory.h.

Member Data Documentation

◆ m_creatorsWithParametersDictionary

std::map<std::string, std::map<std::string, std::string> > m_creatorsWithParametersDictionary
privateinherited

The map of dictionaries of the parameters.

Fill it with the module parameters.

Definition at line 89 of file MeasurementCreatorFactory.h.

◆ m_measurementCreators

std::vector<std::shared_ptr<SVDBaseMeasurementCreator > > m_measurementCreators
privateinherited

A vector with the measurement creators.

Is filled in initialize.

Definition at line 86 of file MeasurementCreatorFactory.h.


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