star-travex
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
StiVolumeFilter Class Reference

A singleton to manage constraints on save Sti objects such as tracks and track nodes. More...

#include <StiVolumeFilter.h>

Public Member Functions

StDetectorId GetDetGroupId () const
 
bool AcceptTrack (const StiKalmanTrack &track) const
 
bool AcceptTrackNode (const StiKalmanTrackNode &node) const
 
bool HasAcceptedNode (const StiKalmanTrack &track) const
 
const std::set< boost::regex > & GetNamePatterns () const
 

Static Public Member Functions

static StiVolumeFilterGetInstance ()
 

Protected Attributes

StDetectorId fgDetGroupId
 Detector group id used in this study. More...
 
bool fgDetActiveOnly
 Another selection criteria to save nodes. More...
 
std::set< boost::regex > fgVolumeSelectPatterns
 A set of regex patterns to select and save track nodes passing through volumes with matching names. More...
 

Private Member Functions

 StiVolumeFilter ()
 By default, we set no constraints on tracks w.r.t. More...
 
 StiVolumeFilter (const StiVolumeFilter &)=delete
 
void operator= (StiVolumeFilter const &)=delete
 

Detailed Description

A singleton to manage constraints on save Sti objects such as tracks and track nodes.

Definition at line 16 of file StiVolumeFilter.h.

Constructor & Destructor Documentation

StiVolumeFilter::StiVolumeFilter ( )
private

By default, we set no constraints on tracks w.r.t.

their association with a specific detector group

Definition at line 11 of file StiVolumeFilter.cxx.

StiVolumeFilter::StiVolumeFilter ( const StiVolumeFilter )
privatedelete

Member Function Documentation

bool StiVolumeFilter::AcceptTrack ( const StiKalmanTrack &  track) const

Definition at line 38 of file StiVolumeFilter.cxx.

bool StiVolumeFilter::AcceptTrackNode ( const StiKalmanTrackNode &  node) const

Definition at line 44 of file StiVolumeFilter.cxx.

StDetectorId StiVolumeFilter::GetDetGroupId ( ) const
inline

Definition at line 22 of file StiVolumeFilter.h.

StiVolumeFilter & StiVolumeFilter::GetInstance ( )
static

Definition at line 31 of file StiVolumeFilter.cxx.

const std::set<boost::regex>& StiVolumeFilter::GetNamePatterns ( ) const
inline

Definition at line 27 of file StiVolumeFilter.h.

bool StiVolumeFilter::HasAcceptedNode ( const StiKalmanTrack &  track) const

Definition at line 84 of file StiVolumeFilter.cxx.

void StiVolumeFilter::operator= ( StiVolumeFilter const &  )
privatedelete

Member Data Documentation

bool StiVolumeFilter::fgDetActiveOnly
protected

Another selection criteria to save nodes.

Definition at line 32 of file StiVolumeFilter.h.

StDetectorId StiVolumeFilter::fgDetGroupId
protected

Detector group id used in this study.

Definition at line 31 of file StiVolumeFilter.h.

std::set<boost::regex> StiVolumeFilter::fgVolumeSelectPatterns
protected

A set of regex patterns to select and save track nodes passing through volumes with matching names.

Definition at line 35 of file StiVolumeFilter.h.


The documentation for this class was generated from the following files: