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);
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.
Accessor to arrays stored in the data store.
void initialize() override
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
Interface for a minimal algorithm part that wants to expose some parameters to a module.
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.
TrackFindingCDC::Findlet< const SpacePoint *, VXDHoughState > Super
Parent class.
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.
B2Vector3< double > B2Vector3D
typedef for common usage with double
Abstract base class for different kinds of events.