CMS 3D CMS Logo

List of all members | Public Member Functions
FTFPCMS_INCLXX_EMM Class Reference

#include <FTFPCMS_INCLXX_EMM.h>

Inheritance diagram for FTFPCMS_INCLXX_EMM:
PhysicsList

Public Member Functions

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

Detailed Description

Definition at line 7 of file FTFPCMS_INCLXX_EMM.h.

Constructor & Destructor Documentation

◆ FTFPCMS_INCLXX_EMM()

FTFPCMS_INCLXX_EMM::FTFPCMS_INCLXX_EMM ( const edm::ParameterSet p)

Definition at line 15 of file FTFPCMS_INCLXX_EMM.cc.

15  : PhysicsList(p) {
16  int ver = p.getUntrackedParameter<int>("Verbosity", 0);
17  bool emPhys = p.getUntrackedParameter<bool>("EMPhysics", true);
18  bool hadPhys = p.getUntrackedParameter<bool>("HadPhysics", true);
19  bool tracking = p.getParameter<bool>("TrackingCut");
20  double timeLimit = p.getParameter<double>("MaxTrackTime") * CLHEP::ns;
21  edm::LogInfo("PhysicsList") << "You are using the simulation engine: "
22  << "FTFP_INCLXX_EMM \n Flags for EM Physics " << emPhys << ", for Hadronic Physics "
23  << hadPhys << " and tracking cut " << tracking << " t(ns)= " << timeLimit / CLHEP::ns;
24 
25  if (emPhys) {
26  // EM Physics
27  RegisterPhysics(new CMSEmStandardPhysics(ver, p));
28 
29  // Synchroton Radiation & GN Physics
30  G4EmExtraPhysics* gn = new G4EmExtraPhysics(ver);
31  RegisterPhysics(gn);
32  }
33 
34  // Decays
35  this->RegisterPhysics(new G4DecayPhysics(ver));
36 
37  if (hadPhys) {
38  G4HadronicProcessStore::Instance()->SetVerbose(ver);
39 
40  // Hadron Elastic scattering
41  RegisterPhysics(new G4HadronElasticPhysics(ver));
42 
43  // Hadron Physics
44  RegisterPhysics(new G4HadronPhysicsINCLXX(ver, true, false, true));
45 
46  // Stopping Physics
47  RegisterPhysics(new G4StoppingPhysics(ver));
48 
49  // Ion Physics
50  RegisterPhysics(new G4IonINCLXXPhysics(ver));
51 
52  // Neutron tracking cut
53  if (tracking) {
54  G4NeutronTrackingCut* ncut = new G4NeutronTrackingCut(ver);
55  ncut->SetTimeLimit(timeLimit);
56  RegisterPhysics(ncut);
57  }
58  }
59 }

References AlCaHLTBitMon_ParallelJobs::p.

CMSEmStandardPhysics
Definition: CMSEmStandardPhysics.h:10
PhysicsList::PhysicsList
PhysicsList(const edm::ParameterSet &p)
Definition: PhysicsList.cc:3
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
tracking
Definition: TempMeasurements.h:8
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125