CMS 3D CMS Logo

LaserOpticalPhysics.cc
Go to the documentation of this file.
1 
12 
13 #include "G4HadronPhysicsQGSP_FTFP_BERT.hh"
14 
17 
18 #include "G4DataQuestionaire.hh"
19 #include "G4DecayPhysics.hh"
20 #include "G4EmExtraPhysics.hh"
21 #include "G4HadronElasticPhysics.hh"
22 #include "G4HadronicProcessStore.hh"
23 #include "G4IonPhysics.hh"
24 #include "G4StoppingPhysics.hh"
25 
27  int ver = p.getUntrackedParameter<int>("Verbosity", 0);
28  G4DataQuestionaire it(photon);
29  std::cout << "You are using the simulation engine: QGSP together with "
30  "optical physics"
31  << std::endl;
32 
33  // EM Physics
34  RegisterPhysics(new CMSEmStandardPhysics(ver));
35  // Synchroton Radiation & GN Physics
36  RegisterPhysics(new G4EmExtraPhysics(ver));
37  // Decays
38  RegisterPhysics(new G4DecayPhysics(ver));
39  // Hadron Elastic scattering
40  G4HadronicProcessStore::Instance()->SetVerbose(ver);
41  RegisterPhysics(new G4HadronElasticPhysics(ver));
42  // Hadron Physics
43  RegisterPhysics(new G4HadronPhysicsQGSP_FTFP_BERT(ver));
44  // Stopping Physics
45  RegisterPhysics(new G4StoppingPhysics(ver));
46  // Ion Physics
47  RegisterPhysics(new G4IonPhysics(ver));
48  // Optical physics
49  RegisterPhysics(new LaserOpticalPhysicsList("optical"));
50 }
51 
52 // define the custom physics list
53 
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_PHYSICSLIST(type)
LaserOpticalPhysics(const edm::ParameterSet &p)