 |
Belle II Software
release-05-01-25
|
10 #include <tracking/ckf/svd/findlets/RelationApplier.h>
11 #include <tracking/ckf/general/utilities/SearchDirection.h>
13 #include <tracking/trackFindingCDC/utilities/StringManipulation.h>
15 #include <tracking/dataobjects/RecoTrack.h>
17 #include <framework/core/ModuleParamList.h>
26 relationFromTracks.isRequired();
29 relationToTracks.isRequired();
40 const RecoTrack* cdcTrack = relation.getFrom();
41 const RecoTrack* svdTrack = relation.getTo();
48 moduleParamList->
addParameter(TrackFindingCDC::prefixed(prefix,
"writeOutDirection"),
50 "Write out the relations with the direction of the VXD part as weight");
53 "Create relations from this store array.");
56 "Create relations to this store array.");
TrackFindingCDC::EForwardBackward fromString(const std::string &directionString)
Helper function to turn a direction string into a valid forward backward information.
bool registerRelationTo(const StoreArray< TO > &toArray, DataStore::EDurability durability=DataStore::c_Event, DataStore::EStoreFlags storeFlags=DataStore::c_WriteOut, const std::string &namedRelation="") const
Register a relation to the given StoreArray.
TrackFindingCDC::EForwardBackward m_param_writeOutDirection
Direction parameter converted from the string parameters.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose parameters.
void addRelationTo(const RelationsInterface< BASE > *object, float weight=1.0, const std::string &namedRelation="") const
Add a relation from this object to another object (with caching).
void initialize() final
Receive signal before the start of the event processing.
void initialize() override
Receive and dispatch signal before the start of the event processing.
This is the Reconstruction Event-Data Model Track.
std::string m_param_toRelationsStoreArrayName
Create relations to this store array.
void addParameter(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module list.
std::string m_param_fromRelationsStoreArrayName
Create relations from this store array.
Abstract base class for different kinds of events.
std::string m_param_writeOutDirectionAsString
Parameter for the distance given to the framework (can not handle EForwardBackward directly)
void apply(const std::vector< TrackFindingCDC::WeightedRelation< const RecoTrack, const RecoTrack >> &relationsCDCToSVD) final
Copy the relations to the store array.
Type for two related objects with a weight.
Accessor to arrays stored in the data store.
The Module parameter list class.