CMS 3D CMS Logo

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