#include <CustomPhysics.h>
Public Member Functions | |
CustomPhysics (G4LogicalVolumeToDDLogicalPartMap &map, const HepPDT::ParticleDataTable *table_, sim::FieldBuilder *fieldBuilder_, const edm::ParameterSet &p) |
Definition at line 7 of file CustomPhysics.h.
CustomPhysics::CustomPhysics | ( | G4LogicalVolumeToDDLogicalPartMap & | map, |
const HepPDT::ParticleDataTable * | table_, | ||
sim::FieldBuilder * | fieldBuilder_, | ||
const edm::ParameterSet & | p | ||
) |
Definition at line 16 of file CustomPhysics.cc.
References edm::ParameterSet::getUntrackedParameter().
: PhysicsList(map, table_, fieldBuilder_, p) { G4DataQuestionaire it(photon); int ver = p.getUntrackedParameter<int>("Verbosity",0); bool emPhys = p.getUntrackedParameter<bool>("EMPhysics",true); bool hadPhys = p.getUntrackedParameter<bool>("HadPhysics",true); edm::LogInfo("PhysicsList") << "You are using the simulation engine: " << "QQGSP_FTFP_BERT_EML with Flags for EM Physics " << emPhys << " and for Hadronic Physics " << hadPhys << "\n"; // EM Physics RegisterPhysics(new CMSEmStandardPhysics95msc93("EM standard msc93",ver,"")); // Synchroton Radiation & GN Physics RegisterPhysics(new G4EmExtraPhysics(ver)); // Decays RegisterPhysics(new G4DecayPhysics(ver)); // Hadron Elastic scattering RegisterPhysics(new G4HadronElasticPhysics(ver)); // Hadron Physics RegisterPhysics(new HadronPhysicsQGSP_FTFP_BERT(ver)); // Stopping Physics RegisterPhysics(new G4StoppingPhysics(ver)); // Ion Physics RegisterPhysics(new G4IonPhysics(ver)); // Neutron tracking cut RegisterPhysics( new G4NeutronTrackingCut(ver)); // Custom Physics RegisterPhysics(new CustomPhysicsList("custom",p)); }