CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LaserOpticalPhysics.cc
Go to the documentation of this file.
1 
11 
12 #include "HadronPhysicsQGSP.hh"
13 
16 
17 #include "G4DecayPhysics.hh"
18 #include "G4EmExtraPhysics.hh"
19 #include "G4IonPhysics.hh"
20 #include "G4QStoppingPhysics.hh"
21 #include "G4HadronElasticPhysics.hh"
22 #include "G4DataQuestionaire.hh"
23 
26  sim::FieldBuilder *fieldBuilder_,
27  const edm::ParameterSet & p) : PhysicsList(map, table_, fieldBuilder_, p)
28 {
29  G4DataQuestionaire it(photon);
30  std::cout << "You are using the simulation engine: QGSP together with optical physics" << std::endl;
31 
32  // EM Physics
33  RegisterPhysics( new CMSEmStandardPhysics("standard EM", 0));
34  // Synchroton Radiation & GN Physics
35  RegisterPhysics(new G4EmExtraPhysics("extra EM"));
36  // Decays
37  RegisterPhysics(new G4DecayPhysics("decay",0));
38  // Hadron Elastic scattering
39  RegisterPhysics(new G4HadronElasticPhysics("elastic",0,false));
40  // Hadron Physics
41  RegisterPhysics(new HadronPhysicsQGSP("hadron"));
42  // Stopping Physics
43  RegisterPhysics(new G4QStoppingPhysics("stopping"));
44  // Ion Physics
45  RegisterPhysics(new G4IonPhysics("ion"));
46  // Optical physics
47  RegisterPhysics(new LaserOpticalPhysicsList("optical"));
48 
49 }
50 
51 // define the custom physics list
53 
54 
#define DEFINE_PHYSICSLIST(type)
HepPDT::ParticleDataTable ParticleDataTable
dictionary map
Definition: Association.py:196
LaserOpticalPhysics(G4LogicalVolumeToDDLogicalPartMap &map, const HepPDT::ParticleDataTable *table_, sim::FieldBuilder *fieldBuilder_, const edm::ParameterSet &p)
constructor
tuple cout
Definition: gather_cfg.py:121
Table table_
Definition: Actions.cc:22