CMS 3D CMS Logo

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