CMS 3D CMS Logo

CustomPhysics Class Reference

#include <SimG4Core/CustomPhysics/interface/CustomPhysics.h>

Inheritance diagram for CustomPhysics:

PhysicsList

List of all members.

Public Member Functions

 CustomPhysics (G4LogicalVolumeToDDLogicalPartMap &map, const edm::ParameterSet &p)


Detailed Description

Definition at line 7 of file CustomPhysics.h.


Constructor & Destructor Documentation

CustomPhysics::CustomPhysics ( G4LogicalVolumeToDDLogicalPartMap map,
const edm::ParameterSet p 
)

Definition at line 16 of file CustomPhysics.cc.

References edm::ParameterSet::getUntrackedParameter(), it, and mergeAndRegister_online::ver.

00017                                                         : PhysicsList(map,p){
00018 
00019   G4DataQuestionaire it(photon);
00020 
00021   int  ver     = p.getUntrackedParameter<int>("Verbosity",0);
00022   bool emPhys  = p.getUntrackedParameter<bool>("EMPhysics",true);
00023   bool hadPhys = p.getUntrackedParameter<bool>("HadPhysics",true);
00024   edm::LogInfo("PhysicsList") << "You are using the simulation engine: "
00025                               << "QGSP_EMV 3.3 with Flags for EM Physics "
00026                               << emPhys << " and for Hadronic Physics "
00027                               << hadPhys << "\n";
00028 
00029   // EM Physics
00030     RegisterPhysics( new CMSEmStandardPhysics71("standard EM v71",ver));
00031 
00032   // Synchroton Radiation & GN Physics
00033   RegisterPhysics(new G4EmExtraPhysics("extra EM"));
00034 
00035   // Decays
00036   RegisterPhysics(new G4DecayPhysics("decay"));
00037 
00038   // Hadron Elastic scattering
00039   RegisterPhysics(new G4HadronElasticPhysics("elastic",ver,false)); 
00040 
00041   // Hadron Physics
00042   G4bool quasiElastic=true;
00043   RegisterPhysics(new HadronPhysicsQGSP("hadron",quasiElastic));
00044   //RegisterPhysics(new HadronPhysicsQGSP("hadron"));
00045 
00046   // Stopping Physics
00047   RegisterPhysics(new G4QStoppingPhysics("stopping"));
00048 
00049   // Ion Physics
00050   RegisterPhysics(new G4IonPhysics("ion"));
00051 
00052   // Neutron tracking cut
00053   RegisterPhysics( new G4NeutronTrackingCut("Neutron tracking cut", ver));
00054 
00055   // Custom Physics
00056   RegisterPhysics(new CustomPhysicsList("custom",p));    
00057 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:35 2009 for CMSSW by  doxygen 1.5.4