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 15 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, edm::ParameterSet::getUntrackedParameter(), and muons2muons_cfi::photon.

26 : PhysicsList(p)
27 {
28  int ver = p.getUntrackedParameter<int>("Verbosity",0);
29  G4DataQuestionaire it(photon);
30  std::cout << "You are using the simulation engine: QGSP together with 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 }
T getUntrackedParameter(std::string const &, T const &) const
PhysicsList(const edm::ParameterSet &p)
Definition: PhysicsList.cc:3