 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/filters/facet/SimpleFacetFilter.h>
12 #include <tracking/trackFindingCDC/eventdata/hits/CDCFacet.h>
14 #include <tracking/trackFindingCDC/utilities/StringManipulation.h>
16 #include <framework/core/ModuleParamList.templateDetails.h>
21 using namespace TrackFindingCDC;
24 : m_param_deviationCosCut(std::cos(M_PI / 180.0 * 9))
29 : m_param_deviationCosCut(deviationCosCut)
34 const std::string& prefix)
37 moduleParamList->
addParameter(prefixed(prefix,
"deviationCosCut"),
39 "Acceptable deviation cosine in the angle of adjacent tangents "
40 "to the drift circles.",
ParameterLine2D getStartToEndLine() const
Getter for the tangential line from the first to the third hit.
SimpleFacetFilter()
Constructor using default direction of flight deviation cut off.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the set of parameters of the filter to the module parameter list.
A line with a support point and tangential vector.
void adjustFitLine() const
Adjusts the contained fit line to touch such that it touches the first and third hit.
double m_param_deviationCosCut
Memory for the used direction of flight deviation.
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.
ParameterLine2D getStartToMiddleLine() const
Getter for the tangential line from the first to the second hit.
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
Expose the set of parameters of the filter to the module parameter list.
Weight operator()(const CDCFacet &facet) final
Main filter method returning the weight of the facet.
Class representing a triple of neighboring oriented wire with additional trajectory information.
double cosWith(const Vector2D &rhs) const
const Vector2D & tangential() const
Gives the tangential vector of the line.
ParameterLine2D getMiddleToEndLine() const
Getter for the tangential line from the second to the third hit.
The Module parameter list class.