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

Create CKF states, based on the current path. Perform some basic selection at this stage (based on phi, max. jump of layers) More...

#include <CDCCKFStateCreator.h>

Inheritance diagram for CDCCKFStateCreator:
Collaboration diagram for CDCCKFStateCreator:

Classes

struct  CDCCKFWireHitCache
 Store basic wire info for faster access. More...
 

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

void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override
 Expose the parameters of the sub findlets.
 
void beginEvent () override
 Clear the wireHit cache.
 
void apply (std::vector< CDCCKFState > &nextStates, const CDCCKFPath &path, const std::vector< const TrackFindingCDC::CDCWireHit * > &wireHits) override
 Main method of the findlet. Select + create states (output parameter nextStates) suitable for the input path, based on input wireHits.
 
virtual std::string getDescription ()
 Brief description of the purpose of the concret findlet.
 
virtual void apply (ToVector< AIOTypes > &... ioVectors)=0
 Main function executing the algorithm.
 
void initialize () override
 Receive and dispatch signal before the start of the event processing.
 
void beginRun () override
 Receive and dispatch signal for the beginning of a new run.
 
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 = TrackFindingCDC::Findlet< CDCCKFState, const CDCCKFState, const TrackFindingCDC::CDCWireHit *const >
 Parent class.
 

Private Attributes

int m_maximalLayerJump = 2
 Maximum allowed step over layers.
 
int m_maximalLayerJump_backwardSeed = 3
 Maximum allowed step over layers (if outside->in CKF) for first step after seed (e.g. ECLShower)
 
double m_maximalDeltaPhi = TMath::Pi() / 8
 Maximal distance in phi between the path last hit/seed and the candidate hit.
 
std::string m_param_writeOutDirectionAsString = "forward"
 Parameter for the direction in which the tracks are built.
 
TrackFindingCDC::EForwardBackward m_param_writeOutDirection = TrackFindingCDC::EForwardBackward::c_Unknown
 Direction parameter converted from the string parameters.
 
bool doForward = true
 Direction parameter converted to boolean for convenience.
 
std::vector< CDCCKFWireHitCachem_wireHitCache = {}
 Cache to store frequently used information.
 
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

Create CKF states, based on the current path. Perform some basic selection at this stage (based on phi, max. jump of layers)

Definition at line 33 of file CDCCKFStateCreator.h.


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