Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <GarfieldPhysics.hh>
Public Member Functions | |
void | InitializePhysics () |
void | CreateGeometry () |
void | DoIt (std::string particleName, double ekin_MeV, double time, double x_cm, double y_cm, double z_cm, double dx, double dy, double dz) |
void | AddParticleName (const std::string particleName, double ekin_min_MeV, double ekin_max_MeV, std::string program) |
bool | FindParticleName (const std::string name, std::string program="garfield") |
bool | FindParticleNameEnergy (std::string name, double ekin_MeV, std::string program="garfield") |
double | GetMinEnergyMeVParticle (std::string name, std::string program="garfield") |
double | GetMaxEnergyMeVParticle (std::string name, std::string program="garfield") |
void | SetIonizationModel (std::string model, bool useDefaults=true) |
std::string | GetIonizationModel () |
std::vector< GarfieldParticle * > * | GetSecondaryParticles () |
void | DeleteSecondaryParticles () |
void | EnableCreateSecondariesInGeant4 (bool flag) |
bool | GetCreateSecondariesInGeant4 () |
double | GetEnergyDeposit_MeV () |
double | GetAvalancheSize () |
double | GetGain () |
void | Clear () |
Static Public Member Functions | |
static GarfieldPhysics * | GetInstance () |
static void | Dispose () |
Definition at line 76 of file GarfieldPhysics.hh.
void GarfieldPhysics::AddParticleName | ( | const std::string | particleName, |
double | ekin_min_MeV, | ||
double | ekin_max_MeV, | ||
std::string | program | ||
) |
Definition at line 140 of file GarfieldPhysics.cc.
Referenced by SetIonizationModel(), and GarfieldMessenger::SetNewValue().
|
inline |
Definition at line 101 of file GarfieldPhysics.hh.
Referenced by GarfieldEventAction::BeginOfEventAction().
void GarfieldPhysics::CreateGeometry | ( | ) |
Definition at line 282 of file GarfieldPhysics.cc.
Referenced by InitializePhysics().
void GarfieldPhysics::DeleteSecondaryParticles | ( | ) |
Definition at line 466 of file GarfieldPhysics.cc.
Referenced by DoIt().
|
static |
Definition at line 47 of file GarfieldPhysics.cc.
Referenced by main().
void GarfieldPhysics::DoIt | ( | std::string | particleName, |
double | ekin_MeV, | ||
double | time, | ||
double | x_cm, | ||
double | y_cm, | ||
double | z_cm, | ||
double | dx, | ||
double | dy, | ||
double | dz | ||
) |
Definition at line 309 of file GarfieldPhysics.cc.
Referenced by GarfieldG4FastSimulationModel::DoIt().
|
inline |
Definition at line 96 of file GarfieldPhysics.hh.
bool GarfieldPhysics::FindParticleName | ( | const std::string | name, |
std::string | program = "garfield" |
||
) |
Definition at line 168 of file GarfieldPhysics.cc.
Referenced by GarfieldPhysicsList::AddParameterisation(), and GarfieldG4FastSimulationModel::IsApplicable().
bool GarfieldPhysics::FindParticleNameEnergy | ( | std::string | name, |
double | ekin_MeV, | ||
std::string | program = "garfield" |
||
) |
Definition at line 185 of file GarfieldPhysics.cc.
Referenced by GarfieldG4FastSimulationModel::ModelTrigger().
|
inline |
Definition at line 99 of file GarfieldPhysics.hh.
Referenced by GarfieldEventAction::EndOfEventAction().
|
inline |
Definition at line 97 of file GarfieldPhysics.hh.
Referenced by GarfieldG4FastSimulationModel::DoIt().
|
inline |
Definition at line 98 of file GarfieldPhysics.hh.
Referenced by GarfieldG4FastSimulationModel::DoIt().
|
inline |
Definition at line 100 of file GarfieldPhysics.hh.
Referenced by GarfieldEventAction::EndOfEventAction().
|
static |
Definition at line 40 of file GarfieldPhysics.cc.
Referenced by GarfieldPhysicsList::AddParameterisation(), GarfieldEventAction::BeginOfEventAction(), GarfieldEventAction::EndOfEventAction(), GarfieldG4FastSimulationModel::GarfieldG4FastSimulationModel(), and GarfieldMessenger::SetNewValue().
std::string GarfieldPhysics::GetIonizationModel | ( | ) |
Definition at line 87 of file GarfieldPhysics.cc.
Referenced by GarfieldPhysicsList::AddParameterisation().
double GarfieldPhysics::GetMaxEnergyMeVParticle | ( | std::string | name, |
std::string | program = "garfield" |
||
) |
Definition at line 229 of file GarfieldPhysics.cc.
Referenced by GarfieldPhysicsList::AddParameterisation().
double GarfieldPhysics::GetMinEnergyMeVParticle | ( | std::string | name, |
std::string | program = "garfield" |
||
) |
Definition at line 209 of file GarfieldPhysics.cc.
Referenced by GarfieldPhysicsList::AddParameterisation().
std::vector< GarfieldParticle * > * GarfieldPhysics::GetSecondaryParticles | ( | ) |
Definition at line 462 of file GarfieldPhysics.cc.
Referenced by GarfieldG4FastSimulationModel::DoIt().
void GarfieldPhysics::InitializePhysics | ( | ) |
Definition at line 249 of file GarfieldPhysics.cc.
Referenced by GarfieldG4FastSimulationModel::GarfieldG4FastSimulationModel().
void GarfieldPhysics::SetIonizationModel | ( | std::string | model, |
bool | useDefaults = true |
||
) |
Definition at line 91 of file GarfieldPhysics.cc.
Referenced by GarfieldMessenger::SetNewValue().