10#include <framework/datastore/StoreArray.h>
11#include <framework/core/ModuleParamList.h>
12#include <framework/geometry/B2Vector3.h>
13#include <framework/database/DBObjPtr.h>
14#include <mdst/dbobjects/BeamSpot.h>
15#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
16#include <tracking/trackFindingCDC/utilities/StringManipulation.h>
17#include <tracking/vxdHoughTracking/entities/VXDHoughState.h>
18#include <tracking/spacePointCreation/SpacePoint.h>
19#include <vxd/geometry/GeoCache.h>
29 namespace vxdHoughTracking {
76 void apply(std::vector<const SpacePoint*>& spacePoints, std::vector<VXDHoughState>& hits)
override
87 spacePoints.emplace_back(&spacePoint);
void SetXYZ(DataType x, DataType y, DataType z)
set all coordinates using data type
bool isValid() const
Check whether a valid object was obtained from the database.
Class for accessing objects in the database.
The Module parameter list class.
bool isRequired(const std::string &name="")
Ensure this array/object has been registered previously.
Accessor to arrays stored in the data store.
int getEntries() const
Get the number of objects in the array.
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.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
Forward prefixed parameters of this findlet to the module parameter list.
Findlet for loading SVDSpacePoints and prepare them for usage in the FastInterceptFinder2D by creatin...
SpacePointLoaderAndPreparer()
Load clusters and prepare them for intercept finding.
B2Vector3D m_BeamSpotPosition
B2Vector3D actually containing the BeamSpot position. This will be passed on to the VXDHoughState for...
bool m_useAllSpacePoints
Use all SVDSpacePoints for track finding or only unassigned ones.
void apply(std::vector< const SpacePoint * > &spacePoints, std::vector< VXDHoughState > &hits) override
Load the SVD SpacePoints and create a VXDHoughState object for each hit.
std::string m_SVDSpacePointStoreArrayName
StoreArray name of the input Track Store Array.
void initialize() override
Create the store arrays.
StoreArray< SpacePoint > m_storeSpacePoints
Input SpacePoints Store Array.
void beginRun() override
Retrieve the BeamSpot from DB.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
Simple container for hit information to be used during intercept finding.
void addParameter(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module list.
Abstract base class for different kinds of events.