Belle II Software development
|
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>
Public Types | |
using | IOTypes = std::tuple< AIOTypes... > |
Types that should be served to apply on invocation. | |
using | IOVectors = std::tuple< std::vector< AIOTypes >... > |
Vector types that should be served to apply on invocation. | |
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_N > | m_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_N > | m_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::TDCCountTranslatorBase > | m_tdcCountTranslator |
TDC Count translator to be used to calculate the initial dirft length estiamtes. | |
std::unique_ptr< CDC::ADCCountTranslatorBase > | m_adcCountTranslator |
ADC Count translator to be used to calculate the charge deposit in the drift cell. | |
DBObjPtr< CDClayerTimeCut > | m_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 happened before. | |
bool | m_terminated = false |
Flag to keep track whether termination happened before. | |
std::string | m_initializedAs |
Name of the type during initialisation. | |
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.
|
inherited |
|
inherited |
|
private |
Type of the base class.
Definition at line 48 of file WireHitCreator.h.
|
protectedinherited |
|
protectedinherited |
Register a processing signal listener to be notified.
Definition at line 55 of file CompositeProcessingSignalListener.cc.
|
final |
Main algorithm creating the wire hits.
Definition at line 212 of file WireHitCreator.cc.
|
overridevirtualinherited |
Receive and dispatch signal for the start of a new event.
Reimplemented from ProcessingSignalListener.
Reimplemented in SpacePointTagger< Belle2::CKFToPXDResult, Belle2::PXDCluster >, SpacePointTagger< Belle2::CKFToSVDResult, Belle2::SVDCluster >, BaseEventTimeExtractor< RecoTrack * >, BaseEventTimeExtractor< TrackFindingCDC::CDCWireHit & >, SharingHitsMatcher< Belle2::TrackFindingCDC::CDCTrack, Belle2::TrackFindingCDC::CDCSegment2D >, MCSymmetric< BaseAxialSegmentPairFilter >, MCSymmetric< BaseFacetFilter >, MCSymmetric< BaseFacetRelationFilter >, MCSymmetric< BaseSegmentPairFilter >, MCSymmetric< BaseSegmentPairRelationFilter >, MCSymmetric< BaseSegmentRelationFilter >, MCSymmetric< BaseSegmentTripleFilter >, MCSymmetric< BaseSegmentTripleRelationFilter >, MCSymmetric< BaseTrackRelationFilter >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCFacet >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCWireHit, true >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegment2D >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCTrack >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegmentPair >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegmentTriple >, RecoTrackStorer, ROIFinder, and SVDHoughTracking.
Definition at line 31 of file CompositeProcessingSignalListener.cc.
|
finalvirtual |
Signal the beginning of a new run.
Reimplemented from ProcessingSignalListener.
Definition at line 205 of file WireHitCreator.cc.
|
overridevirtualinherited |
Receive and dispatch signal for the end of the run.
Reimplemented from ProcessingSignalListener.
Definition at line 39 of file CompositeProcessingSignalListener.cc.
|
finalvirtual |
Expose the parameters to a module.
Reimplemented from Findlet< CDCWireHit >.
Definition at line 42 of file WireHitCreator.cc.
|
finalvirtual |
Short description of the findlet.
Reimplemented from Findlet< CDCWireHit >.
Definition at line 36 of file WireHitCreator.cc.
|
protectedinherited |
Get the number of currently registered listeners.
Definition at line 60 of file CompositeProcessingSignalListener.cc.
|
finalvirtual |
Signals the beginning of the event processing.
Reimplemented from ProcessingSignalListener.
Definition at line 118 of file WireHitCreator.cc.
|
overridevirtualinherited |
Receive and dispatch Signal for termination of the event processing.
Reimplemented from ProcessingSignalListener.
Reimplemented in StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::HyperHough >, StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::QuadraticLegendre >, and StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::Z0TanLambdaLegendre >.
Definition at line 47 of file CompositeProcessingSignalListener.cc.
|
private |
ADC Count translator to be used to calculate the charge deposit in the drift cell.
Definition at line 136 of file WireHitCreator.h.
|
private |
Cut for approximate drift time (super-layer dependent)
Definition at line 139 of file WireHitCreator.h.
|
private |
Method for the initial time of flight estimation.
Definition at line 117 of file WireHitCreator.h.
|
privateinherited |
Flag to keep track whether initialization happened before.
Definition at line 52 of file ProcessingSignalListener.h.
|
privateinherited |
Name of the type during initialisation.
Definition at line 58 of file ProcessingSignalListener.h.
|
private |
Cut for approximate drift time (super-layer dependent)
Definition at line 114 of file WireHitCreator.h.
|
private |
Parameter : Method for the initial time of flight estimation as string.
Definition at line 80 of file WireHitCreator.h.
|
private |
Parameter : List of layers to be ignored in tracking e.g. for simulating too high occupancy.
Definition at line 92 of file WireHitCreator.h.
|
private |
Parameter : Switch to deactivate the sag of the wires for the concerns of the track finders.
Definition at line 77 of file WireHitCreator.h.
|
private |
Parameter : Cut for approximate drift time (super-layer dependent)
Definition at line 95 of file WireHitCreator.h.
|
private |
Parameter : Location of the flight time zero.
Definition at line 83 of file WireHitCreator.h.
|
private |
Parameter : If true, the hits on bad wires are not ignored.
Definition at line 101 of file WireHitCreator.h.
|
private |
Parameter : Angular range in degrees for which hits should be unpacked.
Definition at line 104 of file WireHitCreator.h.
|
private |
Parameter : List of layers to be used.
Definition at line 89 of file WireHitCreator.h.
|
private |
Parameter : Indices of the Monte Carlo particles for which hits should be used.
Definition at line 107 of file WireHitCreator.h.
|
private |
Parameter : If true, the second hit information will be used to create Wire Hits.
Definition at line 98 of file WireHitCreator.h.
|
private |
Parameter : List of super layers to be used - mostly for debugging.
Definition at line 86 of file WireHitCreator.h.
|
private |
Parameter : Geometry set to be used. Either "base", "misalign" or " aligned".
Definition at line 74 of file WireHitCreator.h.
|
privateinherited |
References to subordinary signal processing listener contained in this findlet.
Definition at line 52 of file CompositeProcessingSignalListener.h.
|
private |
TDC Count translator to be used to calculate the initial dirft length estiamtes.
Definition at line 133 of file WireHitCreator.h.
|
privateinherited |
Flag to keep track whether termination happened before.
Definition at line 55 of file ProcessingSignalListener.h.
Central location of the flight time zero position. Usually the location of the trigger.
Definition at line 120 of file WireHitCreator.h.
|
private |
Bits for the used layers.
Definition at line 126 of file WireHitCreator.h.
|
private |
Unit vectors denoting the sector for which hits should be created.
Definition at line 129 of file WireHitCreator.h.
|
private |
Bits for the used super layers.
Definition at line 123 of file WireHitCreator.h.
|
private |
Geometry set to be used.
Definition at line 111 of file WireHitCreator.h.