#include <CMSEmStandardPhysicsEMMT.h>
Definition at line 10 of file CMSEmStandardPhysicsEMMT.h.
◆ CMSEmStandardPhysicsEMMT()
CMSEmStandardPhysicsEMMT::CMSEmStandardPhysicsEMMT |
( |
G4int |
ver, |
|
|
const edm::ParameterSet & |
p |
|
) |
| |
Definition at line 27 of file CMSEmStandardPhysicsEMMT.cc.
References AlCaHLTBitMon_ParallelJobs::p.
30 G4EmParameters* param = G4EmParameters::Instance();
32 param->SetVerbose(ver);
33 param->SetApplyCuts(
true);
34 param->SetStepFunction(0.8, 1 * CLHEP::mm);
35 param->SetMscRangeFactor(0.2);
36 param->SetMscStepLimitType(fMinimal);
37 param->SetFluo(
false);
38 SetPhysicsType(bElectromagnetic);
39 double tcut =
p.getParameter<
double>(
"G4TrackingCut") * CLHEP::MeV;
40 param->SetLowestElectronEnergy(tcut);
41 param->SetLowestMuHadEnergy(tcut);
const edm::ParameterSet & fParameterSet
◆ ~CMSEmStandardPhysicsEMMT()
CMSEmStandardPhysicsEMMT::~CMSEmStandardPhysicsEMMT |
( |
| ) |
|
|
override |
◆ ConstructParticle()
void CMSEmStandardPhysicsEMMT::ConstructParticle |
( |
| ) |
|
|
override |
◆ ConstructProcess()
void CMSEmStandardPhysicsEMMT::ConstructProcess |
( |
| ) |
|
|
override |
Definition at line 51 of file CMSEmStandardPhysicsEMMT.cc.
References nanoDQM_cfi::Electron, fParameterSet, and HLT_2023v12_cff::verboseLevel.
53 edm::LogVerbatim(
"PhysicsList") <<
"### " << GetPhysicsName() <<
" Construct EM Processes";
56 G4EmBuilder::PrepareEMPhysics();
58 G4PhysicsListHelper*
ph = G4PhysicsListHelper::GetPhysicsListHelper();
60 G4hMultipleScattering* hmsc =
new G4hMultipleScattering(
"ionmsc");
61 G4NuclearStopping* pnuc(
nullptr);
66 G4Positron::Positron()->SetTrackingManager(trackingManager);
67 G4Gamma::Gamma()->SetTrackingManager(trackingManager);
70 G4ParticleDefinition* particle = G4GenericIon::GenericIon();
71 G4ionIonisation* ionIoni =
new G4ionIonisation();
72 ph->RegisterProcess(hmsc, particle);
73 ph->RegisterProcess(ionIoni, particle);
76 G4EmBuilder::ConstructCharged(hmsc, pnuc);
79 G4MuonNuclearProcess* muNucProcess =
new G4MuonNuclearProcess();
80 G4MuonVDNuclearModel* muNucModel =
new G4MuonVDNuclearModel();
81 muNucProcess->RegisterMe(muNucModel);
82 ph->RegisterProcess(muNucProcess, G4MuonPlus::MuonPlus());
83 ph->RegisterProcess(muNucProcess, G4MuonMinus::MuonMinus());
Log< level::Info, true > LogVerbatim
const edm::ParameterSet & fParameterSet
◆ fParameterSet