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

ParticleProperty Class Reference

#include <ParticleProperty.h>

List of all members.

Public Methods

 ParticleProperty ()
 Constructors. More...

 ParticleProperty ( const std::string& particle, int geantId, int jetsetId, int type, double charge, double mass, double tlife )
 ~ParticleProperty ()
 Destructor. More...

const std::string& particle () const
 Get the particle name. More...

void setParticle ( const std::string& particle )
 Set the particle name. More...

int geantID () const
 Get the GEANT3 ID. More...

void setGeantID ( int id )
 Set the GEANT3 ID. More...

int jetsetID () const
 Get the JETSET(StdHep) ID. More...

void setJetsetID ( int id )
 Set the JETSET(StdHep) ID. More...

int type () const
 Get the GEANT3 particle tracking type. More...

void setType ( int id )
 Set the GEANT3 particle tracking type. More...

double charge () const
 Get the particle charge. More...

void setCharge ( double q )
 Set the particle charge. More...

double mass () const
 Get the particle mass. More...

void setMass ( double m )
 Set the particle charge. More...

double lifetime () const
 Get the particle lifetime. More...

void setLifetime ( double t )
 Set the particle lifetime. More...


Private Attributes

std::string m_name
 The particle name. More...

int m_idgeant
 The GEANT ID. More...

int m_idjetset
 The Jetset ID. More...

int m_type
 The particle type. More...

double m_charge
 The charge. More...

double m_mass
 The mass. More...

double m_tlife
 The lifetime. More...


Friends

MsgStreamoperator<< ( MsgStream& stream, const ParticleProperty& pp)


Constructor & Destructor Documentation

ParticleProperty::ParticleProperty ( ) [inline]
 

Constructors.

Definition at line 28 of file ParticleProperty.h.

ParticleProperty::ParticleProperty ( const std::string & particle,
int geantId,
int jetsetId,
int type,
double charge,
double mass,
double tlife ) [inline]
 

Definition at line 30 of file ParticleProperty.h.

ParticleProperty::~ParticleProperty ( ) [inline]
 

Destructor.

Definition at line 38 of file ParticleProperty.h.


Member Function Documentation

double ParticleProperty::charge ( ) const [inline]
 

Get the particle charge.

Definition at line 65 of file ParticleProperty.h.

int ParticleProperty::geantID ( ) const [inline]
 

Get the GEANT3 ID.

Definition at line 47 of file ParticleProperty.h.

int ParticleProperty::jetsetID ( ) const [inline]
 

Get the JETSET(StdHep) ID.

Definition at line 53 of file ParticleProperty.h.

double ParticleProperty::lifetime ( ) const [inline]
 

Get the particle lifetime.

Definition at line 77 of file ParticleProperty.h.

double ParticleProperty::mass ( ) const [inline]
 

Get the particle mass.

Definition at line 71 of file ParticleProperty.h.

Referenced by FindByMassRange::operator()().

const std::string & ParticleProperty::particle ( ) const [inline]
 

Get the particle name.

Definition at line 41 of file ParticleProperty.h.

void ParticleProperty::setCharge ( double q ) [inline]
 

Set the particle charge.

Definition at line 68 of file ParticleProperty.h.

void ParticleProperty::setGeantID ( int id ) [inline]
 

Set the GEANT3 ID.

Definition at line 50 of file ParticleProperty.h.

void ParticleProperty::setJetsetID ( int id ) [inline]
 

Set the JETSET(StdHep) ID.

Definition at line 56 of file ParticleProperty.h.

void ParticleProperty::setLifetime ( double t ) [inline]
 

Set the particle lifetime.

Definition at line 80 of file ParticleProperty.h.

void ParticleProperty::setMass ( double m ) [inline]
 

Set the particle charge.

Definition at line 74 of file ParticleProperty.h.

void ParticleProperty::setParticle ( const std::string & particle ) [inline]
 

Set the particle name.

Definition at line 44 of file ParticleProperty.h.

void ParticleProperty::setType ( int id ) [inline]
 

Set the GEANT3 particle tracking type.

Definition at line 62 of file ParticleProperty.h.

int ParticleProperty::type ( ) const [inline]
 

Get the GEANT3 particle tracking type.

Definition at line 59 of file ParticleProperty.h.


Friends And Related Function Documentation

MsgStream & operator<< ( MsgStream & stream,
const ParticleProperty & pp ) [friend]
 

Definition at line 82 of file ParticleProperty.h.


Member Data Documentation

double ParticleProperty::m_charge [private]
 

The charge.

Definition at line 108 of file ParticleProperty.h.

int ParticleProperty::m_idgeant [private]
 

The GEANT ID.

Definition at line 99 of file ParticleProperty.h.

int ParticleProperty::m_idjetset [private]
 

The Jetset ID.

Definition at line 102 of file ParticleProperty.h.

double ParticleProperty::m_mass [private]
 

The mass.

Definition at line 111 of file ParticleProperty.h.

std::string ParticleProperty::m_name [private]
 

The particle name.

Definition at line 96 of file ParticleProperty.h.

double ParticleProperty::m_tlife [private]
 

The lifetime.

Definition at line 114 of file ParticleProperty.h.

int ParticleProperty::m_type [private]
 

The particle type.

Definition at line 105 of file ParticleProperty.h.


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