Findlet to fit tracks and remove all non fitted ones.
More...
#include <TrackFitterAndDeleter.h>
|
using | IOTypes |
| Types that should be served to apply on invocation.
|
|
using | IOTypes |
| Types that should be served to apply on invocation.
|
|
using | IOVectors |
| Vector types that should be served to apply on invocation.
|
|
using | IOVectors |
| Vector types that should be served to apply on invocation.
|
|
|
void | apply (std::vector< RecoTrack * > &recoTracks) override |
| Fit the tracks and remove unfittable ones.
|
|
virtual std::string | getDescription () |
| Brief description of the purpose of the concrete findlet.
|
|
virtual std::string | getDescription () |
| Brief description of the purpose of the concrete findlet.
|
|
virtual void | apply (ToVector< AIOTypes > &... ioVectors)=0 |
| Main function executing the algorithm.
|
|
void | initialize () override |
| Receive and dispatch signal before the start of the event processing.
|
|
void | beginRun () override |
| Receive and dispatch signal for the beginning of a new run.
|
|
void | beginEvent () override |
| Receive and dispatch signal for the start of a new event.
|
|
void | endRun () override |
| Receive and dispatch signal for the end of the run.
|
|
void | terminate () override |
| Receive and dispatch Signal for termination of the event processing.
|
|
virtual void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) |
| Expose the set of parameters of the filter to the module parameter list.
|
|
|
using | ToVector |
| Short hand for ToRangeImpl.
|
|
using | ToVector |
| Short hand for ToRangeImpl.
|
|
|
using | Super |
| Type of the base class.
|
|
Findlet to fit tracks and remove all non fitted ones.
Definition at line 21 of file TrackFitterAndDeleter.h.
◆ IOTypes [1/2]
Types that should be served to apply on invocation.
Definition at line 30 of file Findlet.h.
◆ IOTypes [2/2]
Types that should be served to apply on invocation.
Definition at line 30 of file Findlet.h.
◆ IOVectors [1/2]
Vector types that should be served to apply on invocation.
Definition at line 53 of file Findlet.h.
◆ IOVectors [2/2]
Vector types that should be served to apply on invocation.
Definition at line 53 of file Findlet.h.
◆ Super
◆ ToVector [1/2]
Short hand for ToRangeImpl.
Definition at line 49 of file Findlet.h.
◆ ToVector [2/2]
Short hand for ToRangeImpl.
Definition at line 49 of file Findlet.h.
◆ addProcessingSignalListener()
Register a processing signal listener to be notified.
Definition at line 53 of file CompositeProcessingSignalListener.cc.
56{
58}
Interface for a minimal algorithm part that wants to expose some parameters to a module.
◆ apply()
void apply |
( |
std::vector< RecoTrack * > & | recoTracks | ) |
|
|
override |
Fit the tracks and remove unfittable ones.
Definition at line 15 of file TrackFitterAndDeleter.cc.
16{
17 TrackFitter trackFitter;
18 for (RecoTrack* recoTrack : recoTracks) {
19 trackFitter.
fit(*recoTrack);
20 }
21
22
23 const auto trackWasNotFitted = [](RecoTrack * recoTrack) {
24 return not recoTrack->wasFitSuccessful();
25 };
26 TrackFindingCDC::erase_remove_if(recoTracks, trackWasNotFitted);
27}
bool fit(RecoTrack &recoTrack, genfit::AbsTrackRep *trackRepresentation, bool resortHits=false) const
Fit a reco track with a given non-default track representation.
◆ beginEvent()
Receive and dispatch signal for the start of a new event.
Definition at line 36 of file CompositeProcessingSignalListener.cc.
32{
36 }
37}
void beginEvent() override
Receive and dispatch signal for the start of a new event.
virtual void beginEvent()
Receive signal for the start of a new event.
◆ beginRun()
Receive and dispatch signal for the beginning of a new run.
Definition at line 33 of file CompositeProcessingSignalListener.cc.
24{
28 }
29}
void beginRun() override
Receive and dispatch signal for the beginning of a new run.
virtual void beginRun()
Receive signal for the beginning of a new run.
◆ endRun()
Receive and dispatch signal for the end of the run.
Definition at line 39 of file CompositeProcessingSignalListener.cc.
40{
43 }
45}
void endRun() override
Receive and dispatch signal for the end of the run.
virtual void endRun()
Receive signal for the end of the run.
◆ exposeParameters()
virtual void exposeParameters |
( |
ModuleParamList * | moduleParamList, |
|
|
const std::string & | prefix ) |
|
inlinevirtualinherited |
Expose the set of parameters of the filter to the module parameter list.
- Parameters
-
moduleParamList | Module parameter list to add the new parameters to |
prefix | Prefix (or sometimes postfix) to be added to all nely added parameters. |
Definition at line 47 of file CompositeProcessingSignalListener.h.
◆ getDescription() [1/2]
virtual std::string getDescription |
( |
| ) |
|
|
inlinevirtualinherited |
Brief description of the purpose of the concrete findlet.
Definition at line 60 of file Findlet.h.
61 {
62 return "(no description)";
63 }
◆ getDescription() [2/2]
virtual std::string getDescription |
( |
| ) |
|
|
inlinevirtualinherited |
Brief description of the purpose of the concrete findlet.
Definition at line 60 of file Findlet.h.
61 {
62 return "(no description)";
63 }
◆ getNProcessingSignalListener()
int getNProcessingSignalListener |
( |
| ) |
|
|
protectedinherited |
◆ initialize()
Receive and dispatch signal before the start of the event processing.
Definition at line 30 of file CompositeProcessingSignalListener.cc.
16{
20 }
21}
void initialize() override
Receive and dispatch signal before the start of the event processing.
virtual void initialize()
Receive signal before the start of the event processing.
◆ terminate()
Receive and dispatch Signal for termination of the event processing.
Definition at line 42 of file CompositeProcessingSignalListener.cc.
48{
51 }
53}
void terminate() override
Receive and dispatch Signal for termination of the event processing.
virtual void terminate()
Receive Signal for termination of the event processing.
◆ m_initialized
◆ m_initializedAs
std::string m_initializedAs |
|
privateinherited |
◆ m_subordinaryProcessingSignalListeners
◆ m_terminated
The documentation for this class was generated from the following files: