ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Classes | |
struct | CacheEntry |
Public Member Functions | |
G4IonDEDXHandler (G4VIonDEDXTable *tables, G4VIonDEDXScalingAlgorithm *algorithm, const G4String &name, G4int maxCacheSize=5, G4bool splines=true) | |
~G4IonDEDXHandler () | |
G4bool | IsApplicable (const G4ParticleDefinition *, const G4Material *) |
G4double | GetDEDX (const G4ParticleDefinition *, const G4Material *, G4double) |
G4bool | BuildDEDXTable (const G4ParticleDefinition *, const G4Material *) |
G4bool | BuildDEDXTable (G4int atomicNumberIon, const G4Material *) |
void | PrintDEDXTable (const G4ParticleDefinition *, const G4Material *, G4double, G4double, G4int, G4bool logScaleEnergy=true) |
G4double | GetLowerEnergyEdge (const G4ParticleDefinition *, const G4Material *) |
G4double | GetUpperEnergyEdge (const G4ParticleDefinition *, const G4Material *) |
void | ClearCache () |
G4String | GetName () |
Private Types | |
typedef std::pair< G4int, const G4Material * > | G4IonKey |
typedef std::map< G4IonKey, G4PhysicsVector * > | DEDXTable |
typedef std::map< G4IonKey, G4PhysicsVector * > | DEDXTableBraggRule |
typedef std::pair< const G4ParticleDefinition *, const G4Material * > | G4CacheKey |
typedef struct G4IonDEDXHandler::CacheEntry | G4CacheEntry |
typedef std::list< G4CacheEntry > | CacheEntryList |
typedef std::map< G4CacheKey, void * > | CacheIterPointerMap |
Private Member Functions | |
G4IonDEDXHandler & | operator= (const G4IonDEDXHandler &r) |
G4IonDEDXHandler (const G4IonDEDXHandler &) | |
G4CacheValue | UpdateCacheValue (const G4ParticleDefinition *, const G4Material *) |
G4CacheValue | GetCacheValue (const G4ParticleDefinition *, const G4Material *) |
Definition at line 82 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 82 of file G4IonDEDXHandler.hh
|
private |
Definition at line 190 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 190 of file G4IonDEDXHandler.hh
|
private |
Definition at line 193 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 193 of file G4IonDEDXHandler.hh
|
private |
Definition at line 165 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 165 of file G4IonDEDXHandler.hh
|
private |
Definition at line 169 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 169 of file G4IonDEDXHandler.hh
|
private |
|
private |
Definition at line 182 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 182 of file G4IonDEDXHandler.hh
|
private |
Definition at line 164 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 164 of file G4IonDEDXHandler.hh
G4IonDEDXHandler::G4IonDEDXHandler | ( | G4VIonDEDXTable * | tables, |
G4VIonDEDXScalingAlgorithm * | algorithm, | ||
const G4String & | name, | ||
G4int | maxCacheSize = 5 , |
||
G4bool | splines = true |
||
) |
Definition at line 68 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 68 of file G4IonDEDXHandler.cc
References algorithm, G4cerr, G4endl, maxCacheEntries, and table.
G4IonDEDXHandler::~G4IonDEDXHandler | ( | ) |
Definition at line 102 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 102 of file G4IonDEDXHandler.cc
References algorithm, ClearCache(), stoppingPowerTable, stoppingPowerTableBragg, and table.
|
private |
G4bool G4IonDEDXHandler::BuildDEDXTable | ( | const G4ParticleDefinition * | particle, |
const G4Material * | material | ||
) |
Definition at line 196 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 196 of file G4IonDEDXHandler.cc
G4bool G4IonDEDXHandler::BuildDEDXTable | ( | G4int | atomicNumberIon, |
const G4Material * | material | ||
) |
Definition at line 210 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 210 of file G4IonDEDXHandler.cc
References algorithm, b, ClearCache(), G4cout, G4endl, GetName(), stoppingPowerTable, stoppingPowerTableBragg, table, and useSplines.
void G4IonDEDXHandler::ClearCache | ( | ) |
Definition at line 425 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 425 of file G4IonDEDXHandler.cc
References cacheEntries, cacheKeyPointers, and second.
Referenced by BuildDEDXTable(), and ~G4IonDEDXHandler().
|
private |
Definition at line 377 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 377 of file G4IonDEDXHandler.cc
References cacheEntries, cacheKeyPointers, G4IonDEDXHandler::CacheEntry::key, maxCacheEntries, UpdateCacheValue(), and G4IonDEDXHandler::CacheEntry::value.
Referenced by GetDEDX(), GetLowerEnergyEdge(), and GetUpperEnergyEdge().
G4double G4IonDEDXHandler::GetDEDX | ( | const G4ParticleDefinition * | particle, |
const G4Material * | material, | ||
G4double | kineticEnergy | ||
) |
Definition at line 149 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 149 of file G4IonDEDXHandler.cc
References algorithm, b, cm, CacheValue::dedxVector, CacheValue::density, CacheValue::energyScaling, G4cout, G4endl, GetCacheValue(), GetName(), CacheValue::lowerEnergyEdge, and MeV.
Referenced by PrintDEDXTable().
G4double G4IonDEDXHandler::GetLowerEnergyEdge | ( | const G4ParticleDefinition * | particle, |
const G4Material * | material | ||
) |
Definition at line 517 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 517 of file G4IonDEDXHandler.cc
References CacheValue::energyScaling, GetCacheValue(), and CacheValue::lowerEnergyEdge.
Referenced by PrintDEDXTable().
Definition at line 549 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 549 of file G4IonDEDXHandler.cc
References tableName.
Referenced by BuildDEDXTable(), GetDEDX(), PrintDEDXTable(), and UpdateCacheValue().
G4double G4IonDEDXHandler::GetUpperEnergyEdge | ( | const G4ParticleDefinition * | particle, |
const G4Material * | material | ||
) |
Definition at line 533 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 533 of file G4IonDEDXHandler.cc
References CacheValue::energyScaling, GetCacheValue(), and CacheValue::upperEnergyEdge.
Referenced by PrintDEDXTable().
G4bool G4IonDEDXHandler::IsApplicable | ( | const G4ParticleDefinition * | particle, |
const G4Material * | material | ||
) |
Definition at line 123 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 123 of file G4IonDEDXHandler.cc
References algorithm, stoppingPowerTable, and table.
|
private |
void G4IonDEDXHandler::PrintDEDXTable | ( | const G4ParticleDefinition * | particle, |
const G4Material * | material, | ||
G4double | lowerBoundary, | ||
G4double | upperBoundary, | ||
G4int | nmbBins, | ||
G4bool | logScaleEnergy = true |
||
) |
Definition at line 444 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 444 of file G4IonDEDXHandler.cc
References cm, cm2, cm3, energy, Acts::UnitConstants::g, G4cout, G4endl, G4Exp(), GetDEDX(), GetLowerEnergyEdge(), GetName(), GetUpperEnergyEdge(), MeV, and right.
|
private |
Definition at line 329 of file G4IonDEDXHandler.cc.
View newest version in sPHENIX GitHub at line 329 of file G4IonDEDXHandler.cc
References algorithm, CacheValue::dedxVector, CacheValue::density, CacheValue::energyScaling, G4cout, G4endl, GetName(), CacheValue::lowerEnergyEdge, second, stoppingPowerTable, and CacheValue::upperEnergyEdge.
Referenced by GetCacheValue().
|
private |
Definition at line 158 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 158 of file G4IonDEDXHandler.hh
Referenced by BuildDEDXTable(), G4IonDEDXHandler(), GetDEDX(), IsApplicable(), UpdateCacheValue(), and ~G4IonDEDXHandler().
|
private |
Definition at line 191 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 191 of file G4IonDEDXHandler.hh
Referenced by ClearCache(), and GetCacheValue().
|
private |
Definition at line 194 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 194 of file G4IonDEDXHandler.hh
Referenced by ClearCache(), and GetCacheValue().
|
private |
Definition at line 197 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 197 of file G4IonDEDXHandler.hh
Referenced by G4IonDEDXHandler(), and GetCacheValue().
|
private |
Definition at line 166 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 166 of file G4IonDEDXHandler.hh
Referenced by BuildDEDXTable(), IsApplicable(), UpdateCacheValue(), and ~G4IonDEDXHandler().
|
private |
Definition at line 170 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 170 of file G4IonDEDXHandler.hh
Referenced by BuildDEDXTable(), and ~G4IonDEDXHandler().
|
private |
Definition at line 155 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 155 of file G4IonDEDXHandler.hh
Referenced by BuildDEDXTable(), G4IonDEDXHandler(), IsApplicable(), and ~G4IonDEDXHandler().
|
private |
Definition at line 161 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 161 of file G4IonDEDXHandler.hh
Referenced by GetName().
|
private |
Definition at line 174 of file G4IonDEDXHandler.hh.
View newest version in sPHENIX GitHub at line 174 of file G4IonDEDXHandler.hh
Referenced by BuildDEDXTable().