Belle II Software  release-05-01-25
TrackFinderCosmics.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #include <tracking/trackFindingCDC/findlets/complete/TrackFinderCosmics.h>
11 
12 #include <framework/core/ModuleParamList.templateDetails.h>
13 #include <framework/core/ModuleParam.h>
14 
15 using namespace Belle2;
16 using namespace TrackFindingCDC;
17 
19 {
20  ModuleParamList moduleParamList;
21  this->exposeParameters(&moduleParamList, "");
22  moduleParamList.getParameter<std::string>("flightTimeEstimation").setDefaultValue("downwards");
23  moduleParamList.getParameter<std::string>("SegmentOrientation").setDefaultValue("downwards");
24  moduleParamList.getParameter<std::string>("TrackOrientation").setDefaultValue("downwards");
25  moduleParamList.getParameter<std::string>("SegmentPairFilter").setDefaultValue("simple");
26  moduleParamList.getParameter<std::string>("SegmentPairRelationFilter").setDefaultValue("simple");
27 }
28 
30 {
31  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.";
32 }
Belle2::ModuleParamList::getParameter
ModuleParam< T > & getParameter(const std::string &name) const
Returns a reference to a parameter.
Definition: ModuleParamList.templateDetails.h:90
Belle2::TrackFindingCDC::TrackFinderCosmics::TrackFinderCosmics
TrackFinderCosmics()
Constructor adjusting some of the parameters to suiteable values for cosmics tracking.
Definition: TrackFinderCosmics.cc:18
Belle2::TrackFindingCDC::TrackFinderCosmics::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: TrackFinderCosmics.cc:29
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::TrackFinderAutomaton::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: TrackFinderAutomaton.cc:54
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46