Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:25:00

0001 #include "FTFPCMS_BERT_EMM_TRK.h"
0002 #include "SimG4Core/PhysicsLists/interface/CMSEmStandardPhysics.h"
0003 #include "SimG4Core/PhysicsLists/interface/CMSHadronPhysicsFTFP_BERT.h"
0004 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0005 
0006 #include "G4DecayPhysics.hh"
0007 #include "G4EmExtraPhysics.hh"
0008 #include "G4IonPhysics.hh"
0009 #include "G4StoppingPhysics.hh"
0010 #include "G4HadronElasticPhysics.hh"
0011 
0012 FTFPCMS_BERT_EMM_TRK::FTFPCMS_BERT_EMM_TRK(const edm::ParameterSet& p) : PhysicsList(p) {
0013   int ver = p.getUntrackedParameter<int>("Verbosity", 0);
0014   edm::LogVerbatim("PhysicsList") << "CMS Physics List FTFP_BERT_EMM_TRK";
0015 
0016   // EM physics
0017   RegisterPhysics(new CMSEmStandardPhysics(ver, p));
0018 
0019   // gamma and lepto-nuclear physics
0020   RegisterPhysics(new G4EmExtraPhysics(ver));
0021 
0022   // Decays
0023   RegisterPhysics(new G4DecayPhysics(ver));
0024 
0025   // Hadron elastic scattering
0026   RegisterPhysics(new G4HadronElasticPhysics(ver));
0027 
0028   // Hadron inelastic physics
0029   RegisterPhysics(
0030       new CMSHadronPhysicsFTFP_BERT(3 * CLHEP::GeV, 6 * CLHEP::GeV, 12 * CLHEP::GeV, 2 * CLHEP::GeV, 4 * CLHEP::GeV));
0031 
0032   // Stopping physics
0033   RegisterPhysics(new G4StoppingPhysics(ver));
0034 
0035   // Ion physics
0036   RegisterPhysics(new G4IonPhysics(ver));
0037 }