8#include <tracking/trackFindingCDC/filters/facet/UnionRecordingFacetFilter.h>
10#include <tracking/trackFindingCDC/filters/facet/FitFacetVarSet.h>
11#include <tracking/trackFindingCDC/filters/facet/BendFacetVarSet.h>
12#include <tracking/trackFindingCDC/filters/facet/FitlessFacetVarSet.h>
13#include <tracking/trackFindingCDC/filters/facet/BasicFacetVarSet.h>
15#include <tracking/trackFindingCDC/filters/facet/MVAFacetFilter.h>
17#include <tracking/trackFindingCDC/filters/base/UnionRecordingFilter.icc.h>
20using namespace TrackFindingCDC;
27 varSetNames.insert(varSetNames.end(), {
"basic",
"fitless",
"bend",
"fit",
"mva"});
31std::unique_ptr<BaseVarSet<const CDCFacet> >
34 if (name ==
"basic") {
35 return std::make_unique<BasicFacetVarSet>();
36 }
else if (name ==
"fitless") {
37 return std::make_unique<FitlessFacetVarSet>();
38 }
else if (name ==
"bend") {
39 return std::make_unique<BendFacetVarSet>();
40 }
else if (name ==
"fit") {
41 return std::make_unique<FitFacetVarSet>();
42 }
else if (name ==
"mva") {
Background facet detection based on MVA.
std::unique_ptr< AVarSet > releaseVarSet() &&
Steal the set of variables form this filter - filter becomes dysfunctional afterwards.
std::unique_ptr< BaseVarSet< const CDCFacet > > createVarSet(const std::string &name) const final
Create a concrete variables set for facets from a name.
std::vector< std::string > getValidVarSetNames() const final
Get the valid names of variable sets for facets.
Convenience template to create a recording filter for a filter factory.
virtual std::unique_ptr< AVarSet > createVarSet(const std::string &name) const
Create a variable set for the given name.
virtual std::vector< std::string > getValidVarSetNames() const
Getter for the list of valid names of concrete variable sets.
Abstract base class for different kinds of events.