StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
AgStarParticle Class Reference

Public Types

enum  Type {
  kGtGama = 1, kGtElec, kGtNeut, kGtHadr,
  kGtMuon, kGtNino, kGtCkov, kGtHion,
  kGtMonp, kUnknown
}
 

Public Member Functions

 ClassDef (AgStarParticle, 1)
 

Static Public Member Functions

static void Add (const char *name, const int g3id, const int type, const float mass, const float charge, const float lifetime=0., const float *bratio=0, const int *mode=0, const int pdgid=0)
 

Detailed Description

Definition at line 7 of file AgStarParticle.h.

Member Function Documentation

void AgStarParticle::Add ( const char *  name,
const int  g3id,
const int  type,
const float  mass,
const float  charge,
const float  lifetime = 0.,
const float *  bratio = 0,
const int *  mode = 0,
const int  pdgid = 0 
)
static

Add a particle to the G3 particle table

Parameters
nameof the particle
g3idG3 id
typetrack type given by enum
massmass of the particle
chargecharge of the particle
lifetimein seconds
bratiobranching ratios
decaymodes
pdgid(optional) pdgid

Definition at line 72 of file AgStarParticle.cxx.

Referenced by StarParticleData::AddParticleToG3().


The documentation for this class was generated from the following files: