Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SiRecObjs Class Reference

#include <SiRecObjs.h>

Inheritance diagram for SiRecObjs:

ISiRecObjs List of all members.

Public Methods

 SiRecObjs ()
 constructor - ini the list. More...

virtual ~SiRecObjs ()
 destructor - delete the pointers to the data. More...

virtual const CLID& clID () const
void addGamma (GFgamma* g)
 add a GFgamma to the list. More...

void addParticle (GFparticle* p)
 add a GFparticle to the list. More...

int numGammas () const
 returns number of gammas. More...

GFgammaGamma (int i) const
 returns pointer to GFgamma in i position. More...

int numParticles () const
 returns number of GFparticles. More...

GFparticleParticle (int i) const
 returns pointer to GFparticle in position i. More...

void update (gui::DisplayRep& v)
 draws the SiRecObjs. More...

virtual void clear ()
 clear the list of SiRecObjs. More...

virtual void make ()
 empty method. More...

virtual void writeOut (MsgStream& log) const
 write out the information of the SiRecObjs. More...

double getXGFparticleSlope (int i)
 Get the X slope of the ith GFparticle. More...

double getYGFparticleSlope (int i)
 Get the Y slope of the ith GFparticle. More...

Point getGammaVertex (int i)
 get the vextex of the ith Gamma. More...

Vector getGammaDirection (int i)
 get the direction vector of the ith Gamma. More...

double getXGFgammaSlope (int i)
 Get the X slope of the ith GFgamma. More...

double getYGFgammaSlope (int i)
 Get the Y slope of the ith GFgamma. More...


Static Public Methods

const CLID& classID ()

Private Methods

virtual void ini ()
 ini the lists. More...

void draw (gui::DisplayRep& v)
 draws the objects. More...


Private Attributes

std::vector<GFparticle*> m_GFparticleList
 vector with the list of GFparticle reconstructed. More...

std::vector<GFgamma*> m_GFgammaList
 vector with the list of GFgamma reconstructed. More...


Detailed Description

SiRecObjs container and service class of the Tracker Reconstructed objects (gamma and tracks)

Definition at line 32 of file SiRecObjs.h.


Constructor & Destructor Documentation

SiRecObjs::SiRecObjs ( ) [inline]
 

constructor - ini the list.

Definition at line 39 of file SiRecObjs.h.

SiRecObjs::~SiRecObjs ( ) [inline, virtual]
 

destructor - delete the pointers to the data.

Definition at line 41 of file SiRecObjs.h.


Member Function Documentation

GFgamma * SiRecObjs::Gamma ( int i ) const [inline]
 

returns pointer to GFgamma in i position.

Definition at line 55 of file SiRecObjs.h.

Referenced by RecTupleValues::calcTupleValues(), and TkrRecObjsRep::update().

GFparticle * SiRecObjs::Particle ( int i ) const [inline]
 

returns pointer to GFparticle in position i.

Definition at line 59 of file SiRecObjs.h.

Referenced by TkrRecObjsRep::update().

void SiRecObjs::addGamma ( GFgamma * g ) [inline]
 

add a GFgamma to the list.

Definition at line 48 of file SiRecObjs.h.

void SiRecObjs::addParticle ( GFparticle * p ) [inline]
 

add a GFparticle to the list.

Definition at line 50 of file SiRecObjs.h.

const CLID & SiRecObjs::clID ( ) const [inline, virtual]
 

Definition at line 45 of file SiRecObjs.h.

const CLID & SiRecObjs::classID ( ) [inline, static]
 

Definition at line 44 of file SiRecObjs.h.

Referenced by clID().

void SiRecObjs::clear ( ) [virtual]
 

clear the list of SiRecObjs.

Definition at line 22 of file SiRecObjs.cpp.

Referenced by ~SiRecObjs().

void SiRecObjs::draw ( gui::DisplayRep & v ) [private]
 

draws the objects.

Definition at line 37 of file SiRecObjs.cpp.

Referenced by update().

Vector SiRecObjs::getGammaDirection ( int i ) [inline]
 

get the direction vector of the ith Gamma.

Definition at line 79 of file SiRecObjs.h.

Point SiRecObjs::getGammaVertex ( int i ) [inline]
 

get the vextex of the ith Gamma.

Definition at line 77 of file SiRecObjs.h.

double SiRecObjs::getXGFgammaSlope ( int i ) [inline]
 

Get the X slope of the ith GFgamma.

Definition at line 81 of file SiRecObjs.h.

double SiRecObjs::getXGFparticleSlope ( int i ) [inline]
 

Get the X slope of the ith GFparticle.

Definition at line 73 of file SiRecObjs.h.

double SiRecObjs::getYGFgammaSlope ( int i ) [inline]
 

Get the Y slope of the ith GFgamma.

Definition at line 83 of file SiRecObjs.h.

double SiRecObjs::getYGFparticleSlope ( int i ) [inline]
 

Get the Y slope of the ith GFparticle.

Definition at line 75 of file SiRecObjs.h.

void SiRecObjs::ini ( ) [private, virtual]
 

ini the lists.

Definition at line 15 of file SiRecObjs.cpp.

Referenced by SiRecObjs().

void SiRecObjs::make ( ) [inline, virtual]
 

empty method.

Definition at line 67 of file SiRecObjs.h.

int SiRecObjs::numGammas ( ) const [inline]
 

returns number of gammas.

Definition at line 53 of file SiRecObjs.h.

Referenced by RecTupleValues::calcTupleValues(), and TkrRecObjsRep::update().

int SiRecObjs::numParticles ( ) const [inline]
 

returns number of GFparticles.

Definition at line 57 of file SiRecObjs.h.

Referenced by TkrRecObjsRep::update().

void SiRecObjs::update ( gui::DisplayRep & v ) [inline]
 

draws the SiRecObjs.

Definition at line 62 of file SiRecObjs.h.

void SiRecObjs::writeOut ( MsgStream & log ) const [virtual]
 

write out the information of the SiRecObjs.

Definition at line 48 of file SiRecObjs.cpp.


Member Data Documentation

std::vector< GFgamma *> SiRecObjs::m_GFgammaList [private]
 

vector with the list of GFgamma reconstructed.

Definition at line 98 of file SiRecObjs.h.

std::vector< GFparticle *> SiRecObjs::m_GFparticleList [private]
 

vector with the list of GFparticle reconstructed.

Definition at line 96 of file SiRecObjs.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:21:29 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000