1 #ifndef StiVolumeFilter_h
2 #define StiVolumeFilter_h
4 #include <boost/regex.hpp>
6 #include "StEvent/StEnumerations.h"
9 class StiKalmanTrackNode;
24 bool AcceptTrack(
const StiKalmanTrack& track)
const;
StDetectorId GetDetGroupId() const
StDetectorId fgDetGroupId
Detector group id used in this study.
bool AcceptTrack(const StiKalmanTrack &track) const
bool fgDetActiveOnly
Another selection criteria to save nodes.
void operator=(StiVolumeFilter const &)=delete
std::set< boost::regex > fgVolumeSelectPatterns
A set of regex patterns to select and save track nodes passing through volumes with matching names...
static StiVolumeFilter & GetInstance()
A singleton to manage constraints on save Sti objects such as tracks and track nodes.
StiVolumeFilter()
By default, we set no constraints on tracks w.r.t.
bool AcceptTrackNode(const StiKalmanTrackNode &node) const
const std::set< boost::regex > & GetNamePatterns() const
bool HasAcceptedNode(const StiKalmanTrack &track) const