CMS 3D CMS Logo

List of all members | Public Member Functions
LaserOpticalPhysics Class Reference

#include <LaserOpticalPhysics.h>

Inheritance diagram for LaserOpticalPhysics:
PhysicsList

Public Member Functions

 LaserOpticalPhysics (const edm::ParameterSet &p)
 
- Public Member Functions inherited from PhysicsList
 PhysicsList (const edm::ParameterSet &p)
 
void SetCuts () override
 
 ~PhysicsList () override
 

Detailed Description

Custom physics to activate optical processes for the simulation of the Laser Alignment System

Date
2009/12/10 18:10:05
Revision
1.4
Author
Maarten Thomas

Definition at line 16 of file LaserOpticalPhysics.h.

Constructor & Destructor Documentation

LaserOpticalPhysics::LaserOpticalPhysics ( const edm::ParameterSet p)

Definition at line 25 of file LaserOpticalPhysics.cc.

References gather_cfg::cout, DEFINE_PHYSICSLIST, and edm::ParameterSet::getUntrackedParameter().

25  : PhysicsList(p) {
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 CMSEmStandardPhysics(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 }
T getUntrackedParameter(std::string const &, T const &) const
PhysicsList(const edm::ParameterSet &p)
Definition: PhysicsList.cc:3