#include <CMSEmStandardPhysicsEMH.h>
Definition at line 10 of file CMSEmStandardPhysicsEMH.h.
◆ CMSEmStandardPhysicsEMH()
CMSEmStandardPhysicsEMH::CMSEmStandardPhysicsEMH |
( |
G4int |
ver, |
|
|
const edm::ParameterSet & |
p |
|
) |
| |
Definition at line 29 of file CMSEmStandardPhysicsEMH.cc.
References fGeomFactor, fLambdaLimit, fRangeFactor, fSafetyFactor, fStepLimitType, AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
30 : G4VPhysicsConstructor(
"CMSEmStandard_emh") {
32 G4EmParameters* param = G4EmParameters::Instance();
34 param->SetVerbose(ver);
35 param->SetApplyCuts(
true);
36 param->SetStepFunction(0.8, 1 * CLHEP::mm);
37 param->SetMscRangeFactor(0.2);
38 param->SetMscStepLimitType(fUseSafety);
39 param->SetFluo(
false);
40 SetPhysicsType(bElectromagnetic);
44 fLambdaLimit =
p.getParameter<
double>(
"G4MscLambdaLimit") * CLHEP::mm;
47 if (msc ==
"UseSafetyPlus") {
50 if (msc ==
"Minimal") {
53 double tcut =
p.getParameter<
double>(
"G4TrackingCut") * CLHEP::MeV;
54 param->SetLowestElectronEnergy(tcut);
55 param->SetLowestMuHadEnergy(tcut);
G4MscStepLimitType fStepLimitType
◆ ~CMSEmStandardPhysicsEMH()
CMSEmStandardPhysicsEMH::~CMSEmStandardPhysicsEMH |
( |
| ) |
|
|
override |
◆ ConstructParticle()
void CMSEmStandardPhysicsEMH::ConstructParticle |
( |
| ) |
|
|
override |
◆ ConstructProcess()
void CMSEmStandardPhysicsEMH::ConstructProcess |
( |
| ) |
|
|
override |
Definition at line 65 of file CMSEmStandardPhysicsEMH.cc.
References nanoDQM_cfi::Electron, and HLT_2022v15_cff::verboseLevel.
67 edm::LogVerbatim(
"PhysicsList") <<
"### " << GetPhysicsName() <<
" Construct EM Processes";
74 G4EmBuilder::PrepareEMPhysics();
76 G4PhysicsListHelper*
ph = G4PhysicsListHelper::GetPhysicsListHelper();
78 G4hMultipleScattering* hmsc =
new G4hMultipleScattering(
"ionmsc");
79 G4NuclearStopping* pnuc(
nullptr);
81 G4HepEmProcess* hepEmProcess =
new G4HepEmProcess();
83 G4Positron::Positron()->GetProcessManager()->AddProcess(hepEmProcess, -1, -1, 1);
84 G4Gamma::Gamma()->GetProcessManager()->AddProcess(hepEmProcess, -1, -1, 1);
87 G4ParticleDefinition* particle = G4GenericIon::GenericIon();
88 G4ionIonisation* ionIoni =
new G4ionIonisation();
89 ph->RegisterProcess(hmsc, particle);
90 ph->RegisterProcess(ionIoni, particle);
93 G4EmBuilder::ConstructCharged(hmsc, pnuc);
Log< level::Info, true > LogVerbatim
◆ fGeomFactor
G4double CMSEmStandardPhysicsEMH::fGeomFactor |
|
private |
◆ fLambdaLimit
G4double CMSEmStandardPhysicsEMH::fLambdaLimit |
|
private |
◆ fRangeFactor
G4double CMSEmStandardPhysicsEMH::fRangeFactor |
|
private |
◆ fSafetyFactor
G4double CMSEmStandardPhysicsEMH::fSafetyFactor |
|
private |
◆ fStepLimitType
G4MscStepLimitType CMSEmStandardPhysicsEMH::fStepLimitType |
|
private |