StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StiTrackContainer Class Reference

#include <StiTrackContainer.h>

Inheritance diagram for StiTrackContainer:
Named Described

Public Member Functions

 StiTrackContainer (const string &name, const string &description)
 
void add (StiTrack *track)
 Add the given track to the container.
 
int getTrackCount (Filter< StiTrack > *filter) const
 
void sort ()
 
- Public Member Functions inherited from Named
void setName (const string &newName)
 Set the name of the object.
 
const string & getName () const
 Get the name of the object.
 
bool isName (const string &aName) const
 Determine whether name equals given name.
 
- Public Member Functions inherited from Described
void setDescription (const string &description)
 Set the Describe of the object.
 
const string getDescription () const
 Get the Describe of the object.
 
bool isDescribed () const
 Determine whether Describe is set, i.e object has a Describe.
 
bool isDescription (const string &description) const
 Determine whether Describe equals given Describe.
 
bool sameDescriptionAs (const Described &described) const
 Determine whether Describe equals that of given object.
 

Additional Inherited Members

- Protected Member Functions inherited from Named
 Named (const string &aName=" ")
 Only derived class are Named.
 
- Protected Member Functions inherited from Described
 Described (const string &aDescribe=" ")
 Only derived class are Described.
 
- Protected Attributes inherited from Named
string _name
 
- Protected Attributes inherited from Described
string _description
 

Detailed Description

StiTrackContainer is a container of track based on the STL vector class.

StiTrackContainer is polymorphic and can hold all forms of StiTrack objects. That includes in particular StiKalmanTrack.

Author
M.L. Miller (Yale Software)
C.A. Pruneau(Wayne State University)

Definition at line 29 of file StiTrackContainer.h.

Member Function Documentation

int StiTrackContainer::getTrackCount ( Filter< StiTrack > *  filter) const

Get the number of tracks held by this container that satisfies the given track filter.

This convenience method returns the number of tracks in this container that satisfy the given filter. If the filter is null pointer, return the size of this container.

Definition at line 48 of file StiTrackContainer.cxx.

Referenced by StiForwardTrackMaker::MakeInSti().


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