StiTrackContainer Class Reference

#include <StiTrackContainer.h>

Inheritance diagram for StiTrackContainer:

Named Described

List of all members.

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 ()


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:

Generated on Fri Feb 10 04:28:09 2012 for StRoot by  doxygen 1.5.9