8#include <tracking/trackFindingCDC/filters/cluster/UnionRecordingClusterFilter.h>
10#include <tracking/trackFindingCDC/filters/cluster/BasicClusterVarSet.h>
11#include <tracking/trackFindingCDC/filters/cluster/BkgTruthClusterVarSet.h>
13#include <tracking/trackFindingCDC/filters/base/UnionRecordingFilter.icc.h>
17using namespace TrackFindingCDC;
24 varSetNames.insert(varSetNames.end(), {
"basic",
"bkg_truth"});
28std::unique_ptr<BaseVarSet<CDCWireHitCluster> >
31 if (name ==
"basic") {
32 return std::make_unique<BasicClusterVarSet>();
33 }
else if (name ==
"bkg_truth") {
34 return std::make_unique<BkgTruthClusterVarSet>();
std::vector< std::string > getValidVarSetNames() const override
Get the valid names of variable sets for wire hit clusters.
std::unique_ptr< BaseVarSet< CDCWireHitCluster > > createVarSet(const std::string &name) const override
Create a concrete variables set for wire hit clusters 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.