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

XANAElectronSeed Class Reference

#include <XANAElectronSeed.h>

Collaboration diagram for XANAElectronSeed:

Collaboration graph
[legend]
List of all members.

Public Methods

 XANAElectronSeed ()
 XANAElectronSeed (Short_t numberOfTrackHits, Short_t direction, HepPoint3D positionAtFirstPoint, HepVector3D momentumAtFirstPoint, HepPoint3D positionAtLastPoint, HepVector3D momentumAtLastPoint, std::string algoName)
 construct with data. More...

virtual ~XANAElectronSeed ()
Short_t getNumberOfHits () const
Short_t getDirection () const
HepVector3D getMomentumAtFirstPoint () const
HepPoint3D getPositionAtFirstPoint () const
HepVector3D getMomentumAtLastPoint () const
HepPoint3D getPositionAtLastPoint () const
char * getCharAlgoName () const
std::string getAlgoName () const
void setNumberOfHits (Short_t numberOfHits)
void setDirection (Short_t direction)
void setMomentumAtLastPoint (HepPoint3D positionAtLastPoint)
void setPositionAtLastPoint (HepVector3D momentumAtLastPoint)
void setMomentumAtFirstPoint (HepPoint3D positionAtFirstPoint)
void setPositionAtFirstPoint (HepVector3D momentumAtFirstPoint)
void setAlgoName (std::string algoName)
XANAElectronTrackgetElectronTrack () const
void setElectronTrack (XANAElectronTrack *track)
XANASuperClustergetSuperCluster () const
void setSuperCluster (XANASuperCluster *super)
Bool_t IsUsed () const
 tells if this object is linked as constituent of higher level object. More...

Bool_t operator== (const XANAElectronSeed &) const
Bool_t operator< (const XANAElectronSeed &) const
 XANAElectronSeed (const XANAElectronSeed &right)

Protected Attributes

Short_t numberOfHits_
 number of track hits. More...

Short_t direction_
 direction: +1 means forward, -1 means bacward. More...

HepPoint3D positionAtFirstPoint_
 track position at first hit (differs from first hit position). More...

HepVector3D momentumAtFirstPoint_
 track momentum at first hit. More...

HepPoint3D positionAtLastPoint_
 track position at last hit (differs from last hit position). More...

HepVector3D momentumAtLastPoint_
 track momentum at last hit. More...

XANASeedMatch match_
 seed match parameters. More...

TRef track_
 relation to electron track. More...

TRef cluster_
 relation to super cluster. More...

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

XANAElectronSeed::XANAElectronSeed  
 

XANAElectronSeed::XANAElectronSeed Short_t    numberOfTrackHits,
Short_t    direction,
HepPoint3D    positionAtFirstPoint,
HepVector3D    momentumAtFirstPoint,
HepPoint3D    positionAtLastPoint,
HepVector3D    momentumAtLastPoint,
std::string    algoName
 

construct with data.

virtual XANAElectronSeed::~XANAElectronSeed   [virtual]
 

XANAElectronSeed::XANAElectronSeed const XANAElectronSeed &    right
 


Member Function Documentation

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

Definition at line 42 of file XANAElectronSeed.h.

References algoName_.

Referenced by main.

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

char* XANAElectronSeed::getCharAlgoName   const [inline]
 

Definition at line 41 of file XANAElectronSeed.h.

References algoName_.

00041 {return algoName_;}

Short_t XANAElectronSeed::getDirection   const [inline]
 

Definition at line 36 of file XANAElectronSeed.h.

References direction_.

00036 {return direction_;}  

XANAElectronTrack* XANAElectronSeed::getElectronTrack   const [inline]
 

Definition at line 54 of file XANAElectronSeed.h.

References track_.

Referenced by main.

00054 {return (XANAElectronTrack *)(track_.GetObject());}

HepVector3D XANAElectronSeed::getMomentumAtFirstPoint   const [inline]
 

Definition at line 37 of file XANAElectronSeed.h.

References momentumAtFirstPoint_.

00037 {return momentumAtFirstPoint_;}

HepVector3D XANAElectronSeed::getMomentumAtLastPoint   const [inline]
 

Definition at line 39 of file XANAElectronSeed.h.

References momentumAtLastPoint_.

00039 {return momentumAtLastPoint_;}

Short_t XANAElectronSeed::getNumberOfHits   const [inline]
 

Definition at line 35 of file XANAElectronSeed.h.

References numberOfHits_.

Referenced by main.

00035 {return numberOfHits_;}  

HepPoint3D XANAElectronSeed::getPositionAtFirstPoint   const [inline]
 

Definition at line 38 of file XANAElectronSeed.h.

References positionAtFirstPoint_.

00038 {return positionAtFirstPoint_;}  

HepPoint3D XANAElectronSeed::getPositionAtLastPoint   const [inline]
 

Definition at line 40 of file XANAElectronSeed.h.

References positionAtLastPoint_.

00040 {return positionAtLastPoint_;}  

XANASuperCluster* XANAElectronSeed::getSuperCluster   const [inline]
 

Definition at line 56 of file XANAElectronSeed.h.

References cluster_.

Referenced by main.

00056 {return (XANASuperCluster *)(cluster_.GetObject());}

Bool_t XANAElectronSeed::IsUsed   const [inline]
 

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

Definition at line 60 of file XANAElectronSeed.h.

References locked_.

00060 {return locked_;}

void XANAElectronSeed::lock   [inline, private]
 

Definition at line 95 of file XANAElectronSeed.h.

References locked_.

00095 {locked_ = true;}

Bool_t XANAElectronSeed::operator< const XANAElectronSeed &    const
 

Bool_t XANAElectronSeed::operator== const XANAElectronSeed &    const
 

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

Definition at line 51 of file XANAElectronSeed.h.

References algoName_.

Referenced by XANAEsdBuilder::setElectrons.

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

void XANAElectronSeed::setDirection Short_t    direction [inline]
 

Definition at line 46 of file XANAElectronSeed.h.

References direction_.

Referenced by XANAEsdBuilder::setElectrons.

00046 {direction_=direction;}  

void XANAElectronSeed::setElectronTrack XANAElectronTrack   track
 

void XANAElectronSeed::setMomentumAtFirstPoint HepPoint3D    positionAtFirstPoint [inline]
 

Definition at line 49 of file XANAElectronSeed.h.

References positionAtFirstPoint_.

Referenced by XANAEsdBuilder::setElectrons.

00049 {positionAtFirstPoint_=positionAtFirstPoint;}

void XANAElectronSeed::setMomentumAtLastPoint HepPoint3D    positionAtLastPoint [inline]
 

Definition at line 47 of file XANAElectronSeed.h.

References positionAtLastPoint_.

Referenced by XANAEsdBuilder::setElectrons.

00047 {positionAtLastPoint_=positionAtLastPoint;}

void XANAElectronSeed::setNumberOfHits Short_t    numberOfHits [inline]
 

Definition at line 45 of file XANAElectronSeed.h.

References numberOfHits_.

Referenced by XANAEsdBuilder::setElectrons.

00045 {numberOfHits_=numberOfHits;}  

void XANAElectronSeed::setPositionAtFirstPoint HepVector3D    momentumAtFirstPoint [inline]
 

Definition at line 50 of file XANAElectronSeed.h.

References momentumAtFirstPoint_.

Referenced by XANAEsdBuilder::setElectrons.

00050 {momentumAtFirstPoint_=momentumAtFirstPoint;}  

void XANAElectronSeed::setPositionAtLastPoint HepVector3D    momentumAtLastPoint [inline]
 

Definition at line 48 of file XANAElectronSeed.h.

References momentumAtLastPoint_.

Referenced by XANAEsdBuilder::setElectrons.

00048 {momentumAtLastPoint_=momentumAtLastPoint;}  

void XANAElectronSeed::setSuperCluster XANASuperCluster   super
 

void XANAElectronSeed::unlock   [inline, private]
 

Definition at line 96 of file XANAElectronSeed.h.

References locked_.

00096 { locked_ = false;}


Member Data Documentation

Int_t XANAElectronSeed::algoLen_ [protected]
 

identifies which algo was used.

Definition at line 88 of file XANAElectronSeed.h.

char* XANAElectronSeed::algoName_ [protected]
 

Definition at line 89 of file XANAElectronSeed.h.

Referenced by getAlgoName, getCharAlgoName, and setAlgoName.

TRef XANAElectronSeed::cluster_ [protected]
 

relation to super cluster.

Definition at line 86 of file XANAElectronSeed.h.

Referenced by getSuperCluster.

Short_t XANAElectronSeed::direction_ [protected]
 

direction: +1 means forward, -1 means bacward.

Definition at line 72 of file XANAElectronSeed.h.

Referenced by getDirection, and setDirection.

Bool_t XANAElectronSeed::locked_ [private]
 

Definition at line 94 of file XANAElectronSeed.h.

Referenced by IsUsed, lock, and unlock.

XANASeedMatch XANAElectronSeed::match_ [protected]
 

seed match parameters.

Definition at line 82 of file XANAElectronSeed.h.

HepVector3D XANAElectronSeed::momentumAtFirstPoint_ [protected]
 

track momentum at first hit.

Definition at line 76 of file XANAElectronSeed.h.

Referenced by getMomentumAtFirstPoint, and setPositionAtFirstPoint.

HepVector3D XANAElectronSeed::momentumAtLastPoint_ [protected]
 

track momentum at last hit.

Definition at line 80 of file XANAElectronSeed.h.

Referenced by getMomentumAtLastPoint, and setPositionAtLastPoint.

Short_t XANAElectronSeed::numberOfHits_ [protected]
 

number of track hits.

Definition at line 70 of file XANAElectronSeed.h.

Referenced by getNumberOfHits, and setNumberOfHits.

HepPoint3D XANAElectronSeed::positionAtFirstPoint_ [protected]
 

track position at first hit (differs from first hit position).

Definition at line 74 of file XANAElectronSeed.h.

Referenced by getPositionAtFirstPoint, and setMomentumAtFirstPoint.

HepPoint3D XANAElectronSeed::positionAtLastPoint_ [protected]
 

track position at last hit (differs from last hit position).

Definition at line 78 of file XANAElectronSeed.h.

Referenced by getPositionAtLastPoint, and setMomentumAtLastPoint.

const Int_t XANAElectronSeed::strLen_ [static, private]
 

Definition at line 93 of file XANAElectronSeed.h.

TRef XANAElectronSeed::track_ [protected]
 

relation to electron track.

Definition at line 84 of file XANAElectronSeed.h.

Referenced by getElectronTrack.


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