CMS 3D CMS Logo

List of all members | Public Member Functions
FTFPCMS_BERT_ATL_EMM Class Reference

#include <FTFPCMS_BERT_ATL_EMM.h>

Inheritance diagram for FTFPCMS_BERT_ATL_EMM:
PhysicsList

Public Member Functions

 FTFPCMS_BERT_ATL_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_BERT_ATL_EMM.h.

Constructor & Destructor Documentation

◆ FTFPCMS_BERT_ATL_EMM()

FTFPCMS_BERT_ATL_EMM::FTFPCMS_BERT_ATL_EMM ( const edm::ParameterSet p)

Definition at line 14 of file FTFPCMS_BERT_ATL_EMM.cc.

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

References AlCaHLTBitMon_ParallelJobs::p.

PhysicsList::PhysicsList
PhysicsList(const edm::ParameterSet &p)
Definition: PhysicsList.cc:3
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
edm::LogInfo
Definition: MessageLogger.h:254
tracking
Definition: TempMeasurements.h:8
CMSHadronPhysicsFTFP_BERT_ATL
Definition: CMSHadronPhysicsFTFP_BERT_ATL.h:39
CMSEmStandardPhysicsLPM
Definition: CMSEmStandardPhysicsLPM.h:8