8#include <tracking/trackFindingCDC/filters/facetRelation/UnionRecordingFacetRelationFilter.h>
10#include <tracking/trackFindingCDC/filters/facetRelation/MVAFacetRelationFilter.h>
12#include <tracking/trackFindingCDC/filters/facetRelation/FitFacetRelationVarSet.h>
13#include <tracking/trackFindingCDC/filters/facetRelation/BendFacetRelationVarSet.h>
14#include <tracking/trackFindingCDC/filters/facetRelation/BasicFacetRelationVarSet.h>
15#include <tracking/trackFindingCDC/filters/facetRelation/BaseFacetRelationFilter.h>
17#include <tracking/trackFindingCDC/filters/facet/FitlessFacetVarSet.h>
19#include <tracking/trackFindingCDC/filters/base/UnionRecordingFilter.icc.h>
21#include <tracking/trackFindingCDC/varsets/RelationVarSet.h>
24using namespace TrackFindingCDC;
28std::vector<std::string>
32 varSetNames.insert(varSetNames.end(), {
"basic",
"relation",
" bend",
"fit",
"mva"});
36std::unique_ptr<BaseVarSet<Relation<const CDCFacet> > >
39 if (name ==
"basic") {
40 return std::make_unique<BasicFacetRelationVarSet>();
41 }
else if (name ==
"relation") {
42 return std::make_unique<RelationVarSet<FitlessFacetVarSet> >();
43 }
else if (name ==
"bend") {
44 return std::make_unique<BendFacetRelationVarSet>();
45 }
else if (name ==
"fit") {
46 return std::make_unique<FitFacetRelationVarSet>();
47 }
else if (name ==
"mva") {
Background facetRelation detection based on MVA.
std::unique_ptr< AVarSet > releaseVarSet() &&
Steal the set of variables form this filter - filter becomes dysfunctional afterwards.
std::vector< std::string > getValidVarSetNames() const override
Get the valid names of variable sets for facet relations.
std::unique_ptr< BaseVarSet< Relation< const CDCFacet > > > createVarSet(const std::string &name) const override
Create a concrete variables set for facet relations from a name.
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.