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

XANAVertex Class Reference

#include <XANAVertex.h>

List of all members.

Public Methods

 XANAVertex ()
 XANAVertex (HepPoint3D position, Float_t chi2, Float_t ndof, std::string algoName)
 construct with data. More...

virtual ~XANAVertex ()
HepPoint3D getPosition () const
Float_t getChi2 () const
Float_t getNormalizedChi2 () const
Float_t getNdof () const
HepVector3D getVectorialSum () const
std::string getAlgoName () const
char * getCharAlgoName () const
void setPosition (HepPoint3D position)
void setChi2 (Float_t chi2)
void setNdof (Float_t ndof)
void setAlgoName (std::string algoName)
TRefArray * getTracks () const
TRefArray * getTracksAtVertex () const
void addTrack (XANATrack *track)
void addTrackAtVertex (XANATrackAtVertex *track)
void clear ()
Bool_t IsUsed () const
 tells if this object is linked as constituent of higher level object. More...

Bool_t operator== (const XANAVertex &) const
 XANAVertex (const XANAVertex &right)
const XANAVertex & operator= (const XANAVertex &right)

Protected Attributes

HepPoint3D position_
 the vertex position. More...

HepVector3D vectorialSum_
 the vectorialSum of track momentum. More...

Float_t chi2_
 total chi2. More...

Float_t ndof_
 number of degrees of freedom. More...

Short_t numberOfTracks_
TRefArray * tracks_
Short_t numberOfTracksAtVertex_
TRefArray * tracksAtVertex_
Int_t algoLen_
 identifies which algo was used. More...

char * algoName_

Private Methods

void lock ()
void unlock ()

Private Attributes

Bool_t locked_

Static Private Attributes

const Int_t strLen_


Constructor & Destructor Documentation

XANAVertex::XANAVertex  
 

XANAVertex::XANAVertex HepPoint3D    position,
Float_t    chi2,
Float_t    ndof,
std::string    algoName
 

construct with data.

virtual XANAVertex::~XANAVertex   [virtual]
 

XANAVertex::XANAVertex const XANAVertex &    right
 


Member Function Documentation

void XANAVertex::addTrack XANATrack   track
 

Referenced by VertexObserver::upDate.

void XANAVertex::addTrackAtVertex XANATrackAtVertex   track
 

void XANAVertex::clear  
 

std::string XANAVertex::getAlgoName   const [inline]
 

Definition at line 34 of file XANAVertex.h.

References algoName_.

00034 {return std::string(algoName_);}

char* XANAVertex::getCharAlgoName   const [inline]
 

Definition at line 35 of file XANAVertex.h.

References algoName_.

00035 {return algoName_;}

Float_t XANAVertex::getChi2   const [inline]
 

Definition at line 30 of file XANAVertex.h.

References chi2_.

00030 {return chi2_;}

Float_t XANAVertex::getNdof   const [inline]
 

Definition at line 32 of file XANAVertex.h.

References ndof_.

00032 {return ndof_;}

Float_t XANAVertex::getNormalizedChi2   const [inline]
 

Definition at line 31 of file XANAVertex.h.

References chi2_, and ndof_.

00031 {return chi2_/ndof_;}

HepPoint3D XANAVertex::getPosition   const [inline]
 

Definition at line 29 of file XANAVertex.h.

References position_.

00029 {return position_;}

TRefArray* XANAVertex::getTracks   const [inline]
 

Definition at line 44 of file XANAVertex.h.

References tracks_.

00044 {return tracks_;}

TRefArray* XANAVertex::getTracksAtVertex   const [inline]
 

Definition at line 46 of file XANAVertex.h.

References tracksAtVertex_.

00046 {return tracksAtVertex_;}

HepVector3D XANAVertex::getVectorialSum   const [inline]
 

Definition at line 33 of file XANAVertex.h.

References vectorialSum_.

00033 {return vectorialSum_;}

Bool_t XANAVertex::IsUsed   const [inline]
 

tells if this object is linked as constituent of higher level object.

Definition at line 55 of file XANAVertex.h.

References locked_.

00055 {return locked_;}

void XANAVertex::lock   [inline, private]
 

Definition at line 91 of file XANAVertex.h.

References locked_.

00091 {locked_ = true;}

const XANAVertex& XANAVertex::operator= const XANAVertex &    right
 

Bool_t XANAVertex::operator== const XANAVertex &    const
 

void XANAVertex::setAlgoName std::string    algoName [inline]
 

Definition at line 41 of file XANAVertex.h.

References algoName_.

00041 {sprintf(algoName_,algoName.c_str());}

void XANAVertex::setChi2 Float_t    chi2 [inline]
 

Definition at line 39 of file XANAVertex.h.

References chi2_.

00039 {chi2_=chi2;}

void XANAVertex::setNdof Float_t    ndof [inline]
 

Definition at line 40 of file XANAVertex.h.

References ndof_.

00040 {ndof_=ndof;}

void XANAVertex::setPosition HepPoint3D    position [inline]
 

Definition at line 38 of file XANAVertex.h.

References position_.

00038 {position_=position;}  

void XANAVertex::unlock   [inline, private]
 

Definition at line 92 of file XANAVertex.h.

References locked_.

00092 { locked_ = false;}


Member Data Documentation

Int_t XANAVertex::algoLen_ [protected]
 

identifies which algo was used.

Definition at line 84 of file XANAVertex.h.

char* XANAVertex::algoName_ [protected]
 

Definition at line 85 of file XANAVertex.h.

Referenced by getAlgoName, getCharAlgoName, and setAlgoName.

Float_t XANAVertex::chi2_ [protected]
 

total chi2.

Definition at line 71 of file XANAVertex.h.

Referenced by getChi2, getNormalizedChi2, and setChi2.

Bool_t XANAVertex::locked_ [private]
 

Definition at line 90 of file XANAVertex.h.

Referenced by IsUsed, lock, and unlock.

Float_t XANAVertex::ndof_ [protected]
 

number of degrees of freedom.

Definition at line 73 of file XANAVertex.h.

Referenced by getNdof, getNormalizedChi2, and setNdof.

Short_t XANAVertex::numberOfTracks_ [protected]
 

Definition at line 75 of file XANAVertex.h.

Short_t XANAVertex::numberOfTracksAtVertex_ [protected]
 

Definition at line 79 of file XANAVertex.h.

HepPoint3D XANAVertex::position_ [protected]
 

the vertex position.

Definition at line 67 of file XANAVertex.h.

Referenced by getPosition, and setPosition.

const Int_t XANAVertex::strLen_ [static, private]
 

Definition at line 89 of file XANAVertex.h.

TRefArray* XANAVertex::tracks_ [protected]
 

Definition at line 77 of file XANAVertex.h.

Referenced by getTracks.

TRefArray* XANAVertex::tracksAtVertex_ [protected]
 

Definition at line 81 of file XANAVertex.h.

Referenced by getTracksAtVertex.

HepVector3D XANAVertex::vectorialSum_ [protected]
 

the vectorialSum of track momentum.

Definition at line 69 of file XANAVertex.h.

Referenced by getVectorialSum.


The documentation for this class was generated from the following file:
Generated on Tue May 10 10:01:39 2005 for XANADOO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002