#include <CMSHepEmTrackingManager.h>
Definition at line 6 of file CMSHepEmTrackingManager.h.
◆ CMSHepEmTrackingManager()
CMSHepEmTrackingManager::CMSHepEmTrackingManager |
( |
G4double |
highEnergyLimit | ) |
|
◆ ~CMSHepEmTrackingManager()
CMSHepEmTrackingManager::~CMSHepEmTrackingManager |
( |
| ) |
|
|
overridedefault |
◆ BuildPhysicsTable()
void CMSHepEmTrackingManager::BuildPhysicsTable |
( |
const G4ParticleDefinition & |
part | ) |
|
|
override |
Definition at line 12 of file CMSHepEmTrackingManager.cc.
References dqmiolumiharvest::j.
13 G4HepEmTrackingManager::BuildPhysicsTable(
part);
15 G4ProcessManager* pManager =
part.GetProcessManager();
16 G4ProcessManager* pManagerShadow =
part.GetMasterProcessManager();
18 G4ProcessVector* pVector = pManager->GetProcessList();
19 for (std::size_t
j = 0;
j < pVector->size(); ++
j) {
20 if (pManagerShadow == pManager) {
21 (*pVector)[
j]->BuildPhysicsTable(
part);
23 (*pVector)[
j]->BuildWorkerPhysicsTable(
part);
◆ HandOverOneTrack()
void CMSHepEmTrackingManager::HandOverOneTrack |
( |
G4Track * |
aTrack | ) |
|
|
override |
Definition at line 44 of file CMSHepEmTrackingManager.cc.
References fHighEnergyLimit.
47 G4HepEmTrackingManager::HandOverOneTrack(aTrack);
50 G4EventManager* eventManager = G4EventManager::GetEventManager();
51 G4TrackingManager* trackManager = eventManager->GetTrackingManager();
53 trackManager->ProcessOneTrack(aTrack);
54 if (aTrack->GetTrackStatus() != fStopAndKill) {
55 G4Exception(
"CMSHepEmTrackingManager::HandOverOneTrack",
"NotStopped", FatalException,
"track was not stopped");
58 G4TrackVector* secondaries = trackManager->GimmeSecondaries();
59 eventManager->StackTracks(secondaries);
G4double fHighEnergyLimit
◆ PreparePhysicsTable()
void CMSHepEmTrackingManager::PreparePhysicsTable |
( |
const G4ParticleDefinition & |
part | ) |
|
|
override |
Definition at line 28 of file CMSHepEmTrackingManager.cc.
References dqmiolumiharvest::j.
29 G4HepEmTrackingManager::PreparePhysicsTable(
part);
31 G4ProcessManager* pManager =
part.GetProcessManager();
32 G4ProcessManager* pManagerShadow =
part.GetMasterProcessManager();
34 G4ProcessVector* pVector = pManager->GetProcessList();
35 for (std::size_t
j = 0;
j < pVector->size(); ++
j) {
36 if (pManagerShadow == pManager) {
37 (*pVector)[
j]->PreparePhysicsTable(
part);
39 (*pVector)[
j]->PrepareWorkerPhysicsTable(
part);
◆ fHighEnergyLimit
G4double CMSHepEmTrackingManager::fHighEnergyLimit |
|
private |