Belle II Software development
TrackFinderCosmics.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#include <tracking/trackFindingCDC/findlets/complete/TrackFinderCosmics.h>
9
10#include <framework/core/ModuleParamList.templateDetails.h>
11#include <framework/core/ModuleParam.h>
12
13using namespace Belle2;
14using namespace TrackFindingCDC;
15
17{
18 ModuleParamList moduleParamList;
19 this->exposeParameters(&moduleParamList, "");
20 moduleParamList.getParameter<std::string>("flightTimeEstimation").setDefaultValue("downwards");
21 moduleParamList.getParameter<std::string>("SegmentOrientation").setDefaultValue("downwards");
22 moduleParamList.getParameter<std::string>("TrackOrientation").setDefaultValue("downwards");
23 moduleParamList.getParameter<std::string>("SegmentPairFilter").setDefaultValue("simple");
24 moduleParamList.getParameter<std::string>("SegmentPairRelationFilter").setDefaultValue("simple");
25}
26
28{
29 return "Performs patter recognition in the CDC based on local hit following and application of a cellular automaton in two stages - version suitable for cosmics.";
30}
The Module parameter list class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
TrackFinderCosmics()
Constructor adjusting some of the parameters to suiteable values for cosmics tracking.
std::string getDescription() final
Short description of the findlet.
ModuleParam< T > & getParameter(const std::string &name) const
Returns a reference to a parameter.
Abstract base class for different kinds of events.