65 munActivated(false), synActivated(false), synchOn(false), gammNucOn(true), muNucOn(false),
66 theElectronSynch(0), thePositronSynch(0), theGNPhysics(0), muNucProcess(0), muNucModel(0),
75 munActivated(false), synActivated(false), synchOn(false), gammNucOn(true), muNucOn(false),
76 theElectronSynch(0), thePositronSynch(0), theGNPhysics(0), muNucProcess(0), muNucModel(0),
86 delete theElectronSynch;
87 delete thePositronSynch;
95 if(newState ==
"on" || newState ==
"ON") {
97 if(wasBuilt) BuildSynch();
98 }
else synchOn =
false;
103 if(newState ==
"on" || newState ==
"ON") {
105 if(wasBuilt) BuildGammaNuclear();
106 }
else gammNucOn =
false;
111 if(newState ==
"on" || newState ==
"ON") {
113 if(wasBuilt) BuildMuonNuclear();
114 }
else muNucOn =
false;
131 if (synchOn) BuildSynch();
132 if (gammNucOn) BuildGammaNuclear();
133 if (muNucOn) BuildMuonNuclear();
136void G4EmExtraPhysics::BuildMuonNuclear()
138 if(munActivated)
return;
153void G4EmExtraPhysics::BuildGammaNuclear()
155 if(gnActivated)
return;
159 theGNPhysics->
Build();
162void G4EmExtraPhysics::BuildSynch()
164 if(synActivated)
return;
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
static G4Electron * Electron()
void RegisterMe(G4HadronicInteraction *a)
static G4MuonMinus * MuonMinus()
static G4MuonPlus * MuonPlus()
G4ProcessManager * GetProcessManager() const
static G4Positron * Positron()
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void SetPhysicsType(G4int)