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

XANAGeneratorParticle Class Reference

#include <XANAGeneratorParticle.h>

List of all members.

Public Methods

 XANAGeneratorParticle ()
virtual ~XANAGeneratorParticle ()
 XANAGeneratorParticle (Short_t line_, Short_t status, Short_t pid, Short_t mo1, Short_t mo2, Short_t da1, Short_t da2, HepLorentzVector momentum, Float_t mass, HepLorentzVector vertex)
 Construct from hep event data. More...

Short_t getLine () const
Short_t getStatus () const
Short_t getPartId () const
Short_t getMo1 () const
Short_t getMo2 () const
Short_t getDa1 () const
Short_t getDa2 () const
HepLorentzVector getMomentum () const
Float_t getMass () const
HepLorentzVector getVertex () const
Bool_t operator== (const XANAGeneratorParticle &p) const
void addMother (const XANAGeneratorParticle *part)
void addDaughter (const XANAGeneratorParticle *part)
Float_t eta () const
Float_t et () const
Float_t x () const
Float_t y () const
Float_t z () const
Float_t t () const
void print (Short_t ilevel=8) const
 print the particle information in hep event format The format is: --ID---st---Mo1---Mo2---Da1---Da2------px------py------pz-------E-------m---------x---------y---------z---------t-. More...


Private Attributes

Short_t line_
 the HepEvent line number. More...

Short_t status_
 the HepEvent status code (LUJETS K(1)) (1=stable). More...

Short_t pid_
 the particle pdg id (LUJETS K(2)). More...

Short_t mo1_
 the HepEvent line number of first mother (LUJETS K(3)). More...

Short_t mo2_
 the HepEvent line number of second mother (cmkin???). More...

Short_t da1_
 the HepEvent line numberof first daughther (LUJETS K(4)). More...

Short_t da2_
 the HepEvent line number of last daughther (LUJETS K(5)). More...

HepLorentzVector momentum_
 the momentum four vector (LUJETS P(1-4)). More...

Float_t mass_
 the mass (LUJETS P(5)). More...

HepLorentzVector vertex_
 the vertex four vector (mm, mm/c) (LUJETS V(1-4)). More...


Constructor & Destructor Documentation

XANAGeneratorParticle::XANAGeneratorParticle  
 

virtual XANAGeneratorParticle::~XANAGeneratorParticle   [virtual]
 

XANAGeneratorParticle::XANAGeneratorParticle Short_t    line_,
Short_t    status,
Short_t    pid,
Short_t    mo1,
Short_t    mo2,
Short_t    da1,
Short_t    da2,
HepLorentzVector    momentum,
Float_t    mass,
HepLorentzVector    vertex
 

Construct from hep event data.


Member Function Documentation

void XANAGeneratorParticle::addDaughter const XANAGeneratorParticle *    part
 

void XANAGeneratorParticle::addMother const XANAGeneratorParticle *    part
 

Float_t XANAGeneratorParticle::et   const
 

Float_t XANAGeneratorParticle::eta   const
 

Short_t XANAGeneratorParticle::getDa1   const [inline]
 

Definition at line 37 of file XANAGeneratorParticle.h.

References da1_.

00037 {return da1_;};           

Short_t XANAGeneratorParticle::getDa2   const [inline]
 

Definition at line 38 of file XANAGeneratorParticle.h.

References da2_.

00038 {return da2_;};           

Short_t XANAGeneratorParticle::getLine   const [inline]
 

Definition at line 32 of file XANAGeneratorParticle.h.

References line_.

00032 {return line_;}       

Float_t XANAGeneratorParticle::getMass   const [inline]
 

Definition at line 40 of file XANAGeneratorParticle.h.

References mass_.

00040 {return mass_;}         

Short_t XANAGeneratorParticle::getMo1   const [inline]
 

Definition at line 35 of file XANAGeneratorParticle.h.

References mo1_.

00035 {return mo1_;};           

Short_t XANAGeneratorParticle::getMo2   const [inline]
 

Definition at line 36 of file XANAGeneratorParticle.h.

References mo2_.

00036 {return mo2_;};           

HepLorentzVector XANAGeneratorParticle::getMomentum   const [inline]
 

Definition at line 39 of file XANAGeneratorParticle.h.

References momentum_.

Referenced by main.

00039 {return momentum_;}   

Short_t XANAGeneratorParticle::getPartId   const [inline]
 

Definition at line 34 of file XANAGeneratorParticle.h.

References pid_.

00034 {return pid_;};           

Short_t XANAGeneratorParticle::getStatus   const [inline]
 

Definition at line 33 of file XANAGeneratorParticle.h.

References status_.

00033 {return status_;}       

HepLorentzVector XANAGeneratorParticle::getVertex   const [inline]
 

Definition at line 41 of file XANAGeneratorParticle.h.

References vertex_.

00041 {return vertex_;}  

Bool_t XANAGeneratorParticle::operator== const XANAGeneratorParticle &    p const
 

void XANAGeneratorParticle::print Short_t    ilevel = 8 const
 

print the particle information in hep event format The format is: --ID---st---Mo1---Mo2---Da1---Da2------px------py------pz-------E-------m---------x---------y---------z---------t-.

Referenced by main.

Float_t XANAGeneratorParticle::t   const [inline]
 

Definition at line 56 of file XANAGeneratorParticle.h.

References vertex_.

00056 { return (vertex_ != 0 ? vertex_.t() : 0 ); } 

Float_t XANAGeneratorParticle::x   const [inline]
 

Definition at line 53 of file XANAGeneratorParticle.h.

References vertex_.

00053 { return (vertex_ != 0 ? vertex_.x() : 0 ); }  

Float_t XANAGeneratorParticle::y   const [inline]
 

Definition at line 54 of file XANAGeneratorParticle.h.

References vertex_.

00054 { return (vertex_ != 0 ? vertex_.y() : 0 ); } 

Float_t XANAGeneratorParticle::z   const [inline]
 

Definition at line 55 of file XANAGeneratorParticle.h.

References vertex_.

00055 { return (vertex_ != 0 ? vertex_.z() : 0 ); }  


Member Data Documentation

Short_t XANAGeneratorParticle::da1_ [private]
 

the HepEvent line numberof first daughther (LUJETS K(4)).

Definition at line 77 of file XANAGeneratorParticle.h.

Referenced by getDa1.

Short_t XANAGeneratorParticle::da2_ [private]
 

the HepEvent line number of last daughther (LUJETS K(5)).

Definition at line 79 of file XANAGeneratorParticle.h.

Referenced by getDa2.

Short_t XANAGeneratorParticle::line_ [private]
 

the HepEvent line number.

Definition at line 67 of file XANAGeneratorParticle.h.

Referenced by getLine.

Float_t XANAGeneratorParticle::mass_ [private]
 

the mass (LUJETS P(5)).

Definition at line 83 of file XANAGeneratorParticle.h.

Referenced by getMass.

Short_t XANAGeneratorParticle::mo1_ [private]
 

the HepEvent line number of first mother (LUJETS K(3)).

Definition at line 73 of file XANAGeneratorParticle.h.

Referenced by getMo1.

Short_t XANAGeneratorParticle::mo2_ [private]
 

the HepEvent line number of second mother (cmkin???).

Definition at line 75 of file XANAGeneratorParticle.h.

Referenced by getMo2.

HepLorentzVector XANAGeneratorParticle::momentum_ [private]
 

the momentum four vector (LUJETS P(1-4)).

Definition at line 81 of file XANAGeneratorParticle.h.

Referenced by getMomentum.

Short_t XANAGeneratorParticle::pid_ [private]
 

the particle pdg id (LUJETS K(2)).

Definition at line 71 of file XANAGeneratorParticle.h.

Referenced by getPartId.

Short_t XANAGeneratorParticle::status_ [private]
 

the HepEvent status code (LUJETS K(1)) (1=stable).

Definition at line 69 of file XANAGeneratorParticle.h.

Referenced by getStatus.

HepLorentzVector XANAGeneratorParticle::vertex_ [private]
 

the vertex four vector (mm, mm/c) (LUJETS V(1-4)).

Definition at line 85 of file XANAGeneratorParticle.h.

Referenced by getVertex, t, x, y, and z.


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