Belle II Software  release-08-01-10
WireHitCreator Class Referenceabstract

Combines the geometrical information and the raw hit information into wire hits, which can be used from all modules after that. More...

#include <WireHitCreator.h>

Inheritance diagram for WireHitCreator:
Collaboration diagram for WireHitCreator:

Public Types

using IOTypes = std::tuple< AIOTypes... >
 Types that should be served to apply on invokation.
 
using IOVectors = std::tuple< std::vector< AIOTypes >... >
 Vector types that should be served to apply on invokation.
 

Public Member Functions

 WireHitCreator ()
 Default constructor.
 
 ~WireHitCreator ()
 Default destructor.
 
std::string getDescription () final
 Short description of the findlet.
 
void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) final
 Expose the parameters to a module.
 
void initialize () final
 Signals the beginning of the event processing.
 
void beginRun () final
 Signal the beginning of a new run.
 
void apply (std::vector< CDCWireHit > &outputWireHits) final
 Main algorithm creating the wire hits.
 
virtual void apply (ToVector< AIOTypes > &... ioVectors)=0
 Main function executing the algorithm.
 
void beginEvent () override
 Receive and dispatch signal for the start of a new event.
 
void endRun () override
 Receive and dispatch signal for the end of the run.
 
void terminate () override
 Receive and dispatch Signal for termination of the event processing.
 

Protected Types

using ToVector = typename ToVectorImpl< T >::Type
 Short hand for ToRangeImpl.
 

Protected Member Functions

void addProcessingSignalListener (ProcessingSignalListener *psl)
 Register a processing signal listener to be notified.
 
int getNProcessingSignalListener ()
 Get the number of currently registered listeners.
 

Private Types

using Super = Findlet< CDCWireHit >
 Type of the base class.
 

Private Attributes

std::string m_param_wirePosition = "base"
 Parameter : Geometry set to be used. Either "base", "misalign" or " aligned".
 
bool m_param_ignoreWireSag = false
 Parameter : Switch to deactivate the sag of the wires for the concerns of the track finders.
 
std::string m_param_flightTimeEstimation = "none"
 Parameter : Method for the initial time of flight estimation as string.
 
std::tuple< double, double, double > m_param_triggerPoint = {0.0, 0.0, 0.0}
 Parameter : Location of the flight time zero.
 
std::vector< int > m_param_useSuperLayers
 Parameter : List of super layers to be used - mostly for debugging.
 
std::vector< uint > m_param_useLayers
 Parameter : List of layers to be used.
 
std::vector< uint > m_param_ignoreLayers
 Parameter : List of layers to be ignored in tracking e.g. for simulating too high occupancy.
 
std::vector< float > m_param_maxDriftTimes = { -1, -1, -1, -1, -1, -1, -1, -1, -1}
 Parameter : Cut for approximate drift time (super-layer dependent)
 
bool m_param_useSecondHits = false
 Parameter : If true, the second hit information will be used to create Wire Hits.
 
bool m_param_useBadWires = false
 Parameter : If true, the hits on bad wires are not ignored.
 
std::tuple< double, double > m_param_useDegreeSector {INFINITY, INFINITY}
 Parameter : Angular range in degrees for which hits should be unpacked.
 
std::vector< int > m_param_useMCParticleIds {}
 Parameter : Indices of the Monte Carlo particles for which hits should be used.
 
EWirePosition m_wirePosition = EWirePosition::c_Base
 Geometry set to be used.
 
std::array< float, ISuperLayerUtil::c_Nm_maxDriftTimes = { -1, -1, -1, -1, -1, -1, -1, -1, -1}
 Cut for approximate drift time (super-layer dependent)
 
EPreferredDirection m_flightTimeEstimation = EPreferredDirection::c_None
 Method for the initial time of flight estimation.
 
Vector3D m_triggerPoint = Vector3D(0.0, 0.0, 0.0)
 Central location of the flight time zero position. Usually the location of the trigger.
 
std::array< bool, ISuperLayerUtil::c_Nm_useSuperLayers {}
 Bits for the used super layers.
 
std::array< bool, c_maxNSenseLayers > m_useLayers {}
 Bits for the used layers.
 
std::array< Vector2D, 2 > m_useSector {}
 Unit vectors denoting the sector for which hits should be created.
 
std::unique_ptr< CDC::TDCCountTranslatorBasem_tdcCountTranslator
 TDC Count translator to be used to calculate the initial dirft length estiamtes.
 
std::unique_ptr< CDC::ADCCountTranslatorBasem_adcCountTranslator
 ADC Count translator to be used to calculate the charge deposit in the drift cell.
 
DBObjPtr< CDClayerTimeCutm_DBCDClayerTimeCut
 Cut for approximate drift time (super-layer dependent)
 
std::vector< ProcessingSignalListener * > m_subordinaryProcessingSignalListeners
 References to subordinary signal processing listener contained in this findlet.
 
bool m_initialized = false
 Flag to keep track whether initialization happend before.
 
bool m_terminated = false
 Flag to keep track whether termination happend before.
 
std::string m_initializedAs
 Name of the type during initialisation.
 

Detailed Description

Combines the geometrical information and the raw hit information into wire hits, which can be used from all modules after that.

Definition at line 44 of file WireHitCreator.h.


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