CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
DatabasePDG Class Reference

#include <DatabasePDG.h>

Public Member Functions

int CheckImpossibleDecays (bool dump=kFALSE)
 
 DatabasePDG ()
 
void DumpData (bool dumpAll=kFALSE)
 
char * GetDecayFilename ()
 
double GetMaximumMass ()
 
double GetMaximumWidth ()
 
double GetMinimumMass ()
 
double GetMinimumWidth ()
 
int GetNAllowedChannels (ParticlePDG *particle, double motherMass)
 
int GetNParticles (bool all=kFALSE)
 
char * GetParticleFilename ()
 
ParticlePDGGetPDGParticle (int pdg)
 
ParticlePDGGetPDGParticle (char *name)
 
ParticlePDGGetPDGParticleByIndex (int index)
 
bool GetPDGParticleStatus (int pdg)
 
bool GetPDGParticleStatus (char *name)
 
bool GetPDGParticleStatusByIndex (int index)
 
bool GetUseCharmParticles ()
 
bool IsChannelAllowed (DecayChannel *channel, double motherMass)
 
bool LoadData ()
 
void SetDecayFilename (char *filename)
 
void SetMassRange (double min, double max)
 
void SetMaximumMass (double value)
 
void SetMaximumWidth (double value)
 
void SetMinimumMass (double value)
 
void SetMinimumWidth (double value)
 
void SetParticleFilename (char *filename)
 
void SetUseCharmParticles (bool flag)
 
void SetWidthRange (double min, double max)
 
void UseThisListOfParticles (char *filename, bool exclusive=kTRUE)
 
 ~DatabasePDG ()
 

Private Member Functions

bool LoadDecays ()
 
bool LoadParticles ()
 
void SortParticles ()
 

Private Attributes

char fDecayFilename [256]
 
double fMaximumMass
 
double fMaximumWidth
 
double fMinimumMass
 
double fMinimumWidth
 
int fNParticles
 
char fParticleFilename [256]
 
ParticlePDGfParticles [kMaxParticles]
 
bool fStatus [kMaxParticles]
 
bool fUseCharmParticles
 

Detailed Description

Definition at line 34 of file DatabasePDG.h.

Constructor & Destructor Documentation

DatabasePDG::DatabasePDG ( )

Definition at line 29 of file DatabasePDG.cc.

DatabasePDG::~DatabasePDG ( )

Definition at line 53 of file DatabasePDG.cc.

Member Function Documentation

int DatabasePDG::CheckImpossibleDecays ( bool  dump = kFALSE)

Definition at line 372 of file DatabasePDG.cc.

void DatabasePDG::DumpData ( bool  dumpAll = kFALSE)

Definition at line 318 of file DatabasePDG.cc.

char* DatabasePDG::GetDecayFilename ( )
inline

Definition at line 82 of file DatabasePDG.h.

References fDecayFilename.

82 {return fDecayFilename;}
char fDecayFilename[256]
Definition: DatabasePDG.h:40
double DatabasePDG::GetMaximumMass ( )
inline

Definition at line 94 of file DatabasePDG.h.

References fMaximumMass.

94 {return fMaximumMass;};
double fMaximumMass
Definition: DatabasePDG.h:45
double DatabasePDG::GetMaximumWidth ( )
inline

Definition at line 92 of file DatabasePDG.h.

References fMaximumWidth.

92 {return fMaximumWidth;};
double fMaximumWidth
Definition: DatabasePDG.h:43
double DatabasePDG::GetMinimumMass ( )
inline

Definition at line 93 of file DatabasePDG.h.

References fMinimumMass.

93 {return fMinimumMass;};
double fMinimumMass
Definition: DatabasePDG.h:44
double DatabasePDG::GetMinimumWidth ( )
inline

Definition at line 91 of file DatabasePDG.h.

References fMinimumWidth.

91 {return fMinimumWidth;};
double fMinimumWidth
Definition: DatabasePDG.h:42
int DatabasePDG::GetNAllowedChannels ( ParticlePDG particle,
double  motherMass 
)

Definition at line 650 of file DatabasePDG.cc.

int DatabasePDG::GetNParticles ( bool  all = kFALSE)

Definition at line 574 of file DatabasePDG.cc.

Referenced by NAStrangeDensity::StrangenessDensity().

char* DatabasePDG::GetParticleFilename ( )
inline

Definition at line 81 of file DatabasePDG.h.

References fParticleFilename.

81 {return fParticleFilename;}
char fParticleFilename[256]
Definition: DatabasePDG.h:39
ParticlePDG * DatabasePDG::GetPDGParticle ( int  pdg)

Definition at line 222 of file DatabasePDG.cc.

ParticlePDG * DatabasePDG::GetPDGParticle ( char *  name)

Definition at line 270 of file DatabasePDG.cc.

ParticlePDG * DatabasePDG::GetPDGParticleByIndex ( int  index)

Definition at line 202 of file DatabasePDG.cc.

Referenced by NAStrangeDensity::StrangenessDensity().

bool DatabasePDG::GetPDGParticleStatus ( int  pdg)

Definition at line 246 of file DatabasePDG.cc.

bool DatabasePDG::GetPDGParticleStatus ( char *  name)

Definition at line 294 of file DatabasePDG.cc.

bool DatabasePDG::GetPDGParticleStatusByIndex ( int  index)

Definition at line 212 of file DatabasePDG.cc.

bool DatabasePDG::GetUseCharmParticles ( )
inline

Definition at line 90 of file DatabasePDG.h.

References fUseCharmParticles.

90 {return fUseCharmParticles;};
bool fUseCharmParticles
Definition: DatabasePDG.h:41
bool DatabasePDG::IsChannelAllowed ( DecayChannel channel,
double  motherMass 
)

Definition at line 641 of file DatabasePDG.cc.

bool DatabasePDG::LoadData ( )

Definition at line 66 of file DatabasePDG.cc.

Referenced by InitialState::InitialState().

bool DatabasePDG::LoadDecays ( )
private

Definition at line 142 of file DatabasePDG.cc.

bool DatabasePDG::LoadParticles ( )
private

Definition at line 70 of file DatabasePDG.cc.

void DatabasePDG::SetDecayFilename ( char *  filename)

Definition at line 62 of file DatabasePDG.cc.

void DatabasePDG::SetMassRange ( double  min,
double  max 
)

Definition at line 514 of file DatabasePDG.cc.

Referenced by InitialState::InitialState().

void DatabasePDG::SetMaximumMass ( double  value)

Definition at line 499 of file DatabasePDG.cc.

void DatabasePDG::SetMaximumWidth ( double  value)

Definition at line 449 of file DatabasePDG.cc.

void DatabasePDG::SetMinimumMass ( double  value)

Definition at line 484 of file DatabasePDG.cc.

void DatabasePDG::SetMinimumWidth ( double  value)

Definition at line 434 of file DatabasePDG.cc.

void DatabasePDG::SetParticleFilename ( char *  filename)

Definition at line 58 of file DatabasePDG.cc.

void DatabasePDG::SetUseCharmParticles ( bool  flag)

Definition at line 419 of file DatabasePDG.cc.

void DatabasePDG::SetWidthRange ( double  min,
double  max 
)

Definition at line 464 of file DatabasePDG.cc.

Referenced by InitialState::InitialState().

void DatabasePDG::SortParticles ( )
private

Definition at line 537 of file DatabasePDG.cc.

void DatabasePDG::UseThisListOfParticles ( char *  filename,
bool  exclusive = kTRUE 
)

Definition at line 584 of file DatabasePDG.cc.

Member Data Documentation

char DatabasePDG::fDecayFilename[256]
private

Definition at line 40 of file DatabasePDG.h.

Referenced by GetDecayFilename().

double DatabasePDG::fMaximumMass
private

Definition at line 45 of file DatabasePDG.h.

Referenced by GetMaximumMass().

double DatabasePDG::fMaximumWidth
private

Definition at line 43 of file DatabasePDG.h.

Referenced by GetMaximumWidth().

double DatabasePDG::fMinimumMass
private

Definition at line 44 of file DatabasePDG.h.

Referenced by GetMinimumMass().

double DatabasePDG::fMinimumWidth
private

Definition at line 42 of file DatabasePDG.h.

Referenced by GetMinimumWidth().

int DatabasePDG::fNParticles
private

Definition at line 36 of file DatabasePDG.h.

char DatabasePDG::fParticleFilename[256]
private

Definition at line 39 of file DatabasePDG.h.

Referenced by GetParticleFilename().

ParticlePDG* DatabasePDG::fParticles[kMaxParticles]
private

Definition at line 37 of file DatabasePDG.h.

bool DatabasePDG::fStatus[kMaxParticles]
private

Definition at line 38 of file DatabasePDG.h.

bool DatabasePDG::fUseCharmParticles
private

Definition at line 41 of file DatabasePDG.h.

Referenced by GetUseCharmParticles().