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

XANAGeantTrack Class Reference

#include <XANAGeantTrack.h>

List of all members.

Public Methods

 XANAGeantTrack ()
virtual ~XANAGeantTrack ()
 XANAGeantTrack (Short_t id, HepLorentzVector momentum)
 Construct from hep event data. More...

 XANAGeantTrack (Short_t index, Short_t id, HepLorentzVector momentum, Short_t mothindex)
 Construct with mother-daughter relationship. More...

void setPartId (Short_t id)
void setMomentum (HepLorentzVector momentum)
Short_t getIndex () const
Short_t getPartId () const
HepLorentzVector getMomentum () const
HepPoint3D getPositionAtCalo ()
HepLorentzVector getMomentumAtCalo ()
Bool_t atCalo ()
XANAGeantVertexgetVertex () const
XANAGeneratorParticlegetGeneratorParticle () const
void setVertex (XANAGeantVertex *vertex)
void setGeneratorParticle (XANAGeneratorParticle *genpart)
Short_t getMotherIndex () const
Bool_t operator== (const XANAGeantTrack &t) const
Bool_t operator< (const XANAGeantTrack &t) const
void print () const

Private Attributes

Short_t index_
 track geant index. More...

Short_t id_
 the track id (pdg convension). More...

HepLorentzVector momentum_
 the momentum four vector at vertex. More...

TRef vertex_
 relation to the parent vertex. More...

TRef genpart_
 relation to the parent generated particle. More...

Short_t mothindex_
 relation to the parent geant track. More...


Constructor & Destructor Documentation

XANAGeantTrack::XANAGeantTrack  
 

virtual XANAGeantTrack::~XANAGeantTrack   [virtual]
 

XANAGeantTrack::XANAGeantTrack Short_t    id,
HepLorentzVector    momentum
 

Construct from hep event data.

XANAGeantTrack::XANAGeantTrack Short_t    index,
Short_t    id,
HepLorentzVector    momentum,
Short_t    mothindex
 

Construct with mother-daughter relationship.


Member Function Documentation

Bool_t XANAGeantTrack::atCalo  
 

XANAGeneratorParticle* XANAGeantTrack::getGeneratorParticle   const [inline]
 

Definition at line 50 of file XANAGeantTrack.h.

References genpart_.

Referenced by main.

00050 {return (XANAGeneratorParticle *)(genpart_.GetObject());}

Short_t XANAGeantTrack::getIndex   const [inline]
 

Definition at line 40 of file XANAGeantTrack.h.

References index_.

00040 {return index_;}   

HepLorentzVector XANAGeantTrack::getMomentum   const [inline]
 

Definition at line 42 of file XANAGeantTrack.h.

References momentum_.

Referenced by main.

00042 {return momentum_;}   

HepLorentzVector XANAGeantTrack::getMomentumAtCalo  
 

Short_t XANAGeantTrack::getMotherIndex   const [inline]
 

Definition at line 53 of file XANAGeantTrack.h.

References mothindex_.

Referenced by main.

00053 {return mothindex_;}   

Short_t XANAGeantTrack::getPartId   const [inline]
 

Definition at line 41 of file XANAGeantTrack.h.

References id_.

Referenced by main.

00041 {return id_;}   

HepPoint3D XANAGeantTrack::getPositionAtCalo  
 

XANAGeantVertex* XANAGeantTrack::getVertex   const [inline]
 

Definition at line 49 of file XANAGeantTrack.h.

References vertex_.

00049 {return (XANAGeantVertex *)(vertex_.GetObject());}

Bool_t XANAGeantTrack::operator< const XANAGeantTrack &    t const
 

Bool_t XANAGeantTrack::operator== const XANAGeantTrack &    t const
 

void XANAGeantTrack::print   const
 

void XANAGeantTrack::setGeneratorParticle XANAGeneratorParticle   genpart
 

void XANAGeantTrack::setMomentum HepLorentzVector    momentum [inline]
 

Definition at line 37 of file XANAGeantTrack.h.

References momentum_.

00037 {momentum_=momentum;}   

void XANAGeantTrack::setPartId Short_t    id [inline]
 

Definition at line 36 of file XANAGeantTrack.h.

References id_.

00036 {id_=id;}   

void XANAGeantTrack::setVertex XANAGeantVertex   vertex
 


Member Data Documentation

TRef XANAGeantTrack::genpart_ [private]
 

relation to the parent generated particle.

Definition at line 72 of file XANAGeantTrack.h.

Referenced by getGeneratorParticle.

Short_t XANAGeantTrack::id_ [private]
 

the track id (pdg convension).

Definition at line 66 of file XANAGeantTrack.h.

Referenced by getPartId, and setPartId.

Short_t XANAGeantTrack::index_ [private]
 

track geant index.

Definition at line 64 of file XANAGeantTrack.h.

Referenced by getIndex.

HepLorentzVector XANAGeantTrack::momentum_ [private]
 

the momentum four vector at vertex.

Definition at line 68 of file XANAGeantTrack.h.

Referenced by getMomentum, and setMomentum.

Short_t XANAGeantTrack::mothindex_ [private]
 

relation to the parent geant track.

Definition at line 74 of file XANAGeantTrack.h.

Referenced by getMotherIndex.

TRef XANAGeantTrack::vertex_ [private]
 

relation to the parent vertex.

Definition at line 70 of file XANAGeantTrack.h.

Referenced by getVertex.


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