Belle II Software development
|
Findlet for loading SVDClusters that were created by the DATCONSVDClusterizer findlet and prepare them for usage in the FastInterceptFinder2D by calculating the conformal transformed x,y coordinates and the creating pairs of coordinates for finding track candidates in r-phi and r-z. More...
#include <DATCONSVDClusterLoaderAndPreparer.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 | |
DATCONSVDClusterLoaderAndPreparer () | |
Load clusters and prepare them for intercept finding. | |
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override |
Expose the parameters of the sub findlets. | |
void | initialize () override |
Create the store arrays. | |
void | apply (const std::vector< SVDCluster > &uClusters, const std::vector< SVDCluster > &vClusters, std::vector< std::pair< VxdID, std::pair< long, long > > > &uHits, std::vector< std::pair< VxdID, std::pair< long, long > > > &vHits) override |
Load the SVDClusters and create two vectors containing the hits prepared for intercept finding This function takes uClusters and vClusters as distinct vectors which where created by the DATCONSVDClusterizer findlet. | |
virtual std::string | getDescription () |
Brief description of the purpose of the concrete findlet. | |
virtual void | apply (ToVector< AIOTypes > &... ioVectors)=0 |
Main function executing the algorithm. | |
void | beginRun () override |
Receive and dispatch signal for the beginning of a new run. | |
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 = TrackFindingCDC::Findlet< const SVDCluster, const SVDCluster, std::pair< VxdID, std::pair< long, long > >, std::pair< VxdID, std::pair< long, long > > > |
Parent class. | |
Private Attributes | |
uint | m_param_maxClustersPerLayer = 200 |
Cut value for aborting tracking if more than this number of clusters is found on one layer. | |
std::array< uint, 8 > | m_nClusterPerLayer = {0} |
array containing the number of clusters per layer. If this exceeds a cut value, tracking is aborted | |
const std::array< int, 4 > | m_const_SVDRadii = {38990, 80000, 104000, 135150} |
Radii of the SVD layers, in µm. | |
const std::array< int, 4 > | m_const_RPhiShiftsOfLayers = { -4680, -10780, -11036, -19076} |
shift in r-phi to create windmill structure, in µm | |
const std::array< double, 4 > | m_const_InitialAngle = {(342.195 - 360.) / 180. * M_PI, 8. / 180. * M_PI, -8. / 180. * M_PI, -4. / 180. * M_PI} |
phi-value of the first ladder in each layer, i.e. sensors X.1.Y, in rad | |
const std::array< double, 4 > | m_const_AngleStep = {2. * M_PI / 7., M_PI / 5., M_PI / 6., M_PI / 8.} |
angle difference between two consecutive ladders, in rad | |
const std::array< double, 4 > | m_const_CosSlantedAngles = {1, cos(0.207694180987), cos(0.279252680319), cos(0.368264472171)} |
cosine values of the slanted sensors | |
const std::array< int, 2 > | m_const_ZShiftL3 = {92350, -32650} |
shift along z of the L3 senosrs, in µn | |
const std::array< int, 3 > | m_const_ZShiftL4 = {149042, 24760, -100240} |
shift along z of the L4 senosrs, in µn | |
const std::array< int, 4 > | m_const_ZShiftL5 = {233754, 110560, -14440, -139440} |
shift along z of the L5 senosrs, in µn | |
const std::array< int, 5 > | m_const_ZShiftL6 = {303471, 182060, 57060, -67940, -192940} |
shift along z of the L6 senosrs, in µn | |
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. | |
Findlet for loading SVDClusters that were created by the DATCONSVDClusterizer findlet and prepare them for usage in the FastInterceptFinder2D by calculating the conformal transformed x,y coordinates and the creating pairs of coordinates for finding track candidates in r-phi and r-z.
Definition at line 30 of file DATCONSVDClusterLoaderAndPreparer.h.
|
inherited |
|
inherited |
|
private |
Parent class.
Definition at line 34 of file DATCONSVDClusterLoaderAndPreparer.h.
|
protectedinherited |
Load clusters and prepare them for intercept finding.
Definition at line 18 of file DATCONSVDClusterLoaderAndPreparer.cc.
|
protectedinherited |
Register a processing signal listener to be notified.
Definition at line 55 of file CompositeProcessingSignalListener.cc.
|
override |
Load the SVDClusters and create two vectors containing the hits prepared for intercept finding This function takes uClusters and vClusters as distinct vectors which where created by the DATCONSVDClusterizer findlet.
Definition at line 35 of file DATCONSVDClusterLoaderAndPreparer.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.
|
overridevirtualinherited |
Receive and dispatch signal for the beginning of a new run.
Reimplemented from ProcessingSignalListener.
Reimplemented in LayerRelationFilter< AFilter >, FourHitFilter, QualityIndicatorFilter, ThreeHitFilter, TwoHitVirtualIPFilter, TwoHitVirtualIPQIFilter, RecoTrackStorer, ROIFinder, SpacePointLoaderAndPreparer, and TrackCandidateResultRefiner.
Definition at line 23 of file CompositeProcessingSignalListener.cc.
|
overridevirtualinherited |
Receive and dispatch signal for the end of the run.
Reimplemented from ProcessingSignalListener.
Definition at line 39 of file CompositeProcessingSignalListener.cc.
|
overridevirtual |
Expose the parameters of the sub findlets.
Reimplemented from Findlet< const SVDCluster, const SVDCluster, std::pair< VxdID, std::pair< long, long > >, std::pair< VxdID, std::pair< long, long > > >.
Definition at line 22 of file DATCONSVDClusterLoaderAndPreparer.cc.
|
inlinevirtualinherited |
|
protectedinherited |
Get the number of currently registered listeners.
Definition at line 60 of file CompositeProcessingSignalListener.cc.
|
overridevirtual |
Create the store arrays.
Reimplemented from ProcessingSignalListener.
Definition at line 30 of file DATCONSVDClusterLoaderAndPreparer.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 |
angle difference between two consecutive ladders, in rad
Definition at line 69 of file DATCONSVDClusterLoaderAndPreparer.h.
|
private |
cosine values of the slanted sensors
Definition at line 71 of file DATCONSVDClusterLoaderAndPreparer.h.
|
private |
phi-value of the first ladder in each layer, i.e. sensors X.1.Y, in rad
Definition at line 67 of file DATCONSVDClusterLoaderAndPreparer.h.
|
private |
shift in r-phi to create windmill structure, in µm
Definition at line 65 of file DATCONSVDClusterLoaderAndPreparer.h.
|
private |
Radii of the SVD layers, in µm.
Definition at line 63 of file DATCONSVDClusterLoaderAndPreparer.h.
|
private |
shift along z of the L3 senosrs, in µn
Definition at line 74 of file DATCONSVDClusterLoaderAndPreparer.h.
|
private |
shift along z of the L4 senosrs, in µn
Definition at line 76 of file DATCONSVDClusterLoaderAndPreparer.h.
|
private |
shift along z of the L5 senosrs, in µn
Definition at line 78 of file DATCONSVDClusterLoaderAndPreparer.h.
|
private |
shift along z of the L6 senosrs, in µn
Definition at line 80 of file DATCONSVDClusterLoaderAndPreparer.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 |
array containing the number of clusters per layer. If this exceeds a cut value, tracking is aborted
Definition at line 59 of file DATCONSVDClusterLoaderAndPreparer.h.
|
private |
Cut value for aborting tracking if more than this number of clusters is found on one layer.
Definition at line 56 of file DATCONSVDClusterLoaderAndPreparer.h.
|
privateinherited |
References to subordinary signal processing listener contained in this findlet.
Definition at line 52 of file CompositeProcessingSignalListener.h.
|
privateinherited |
Flag to keep track whether termination happened before.
Definition at line 55 of file ProcessingSignalListener.h.