CMS 3D CMS Logo

List of all members | Public Member Functions
QGSPCMS_FTFP_BERT_EML Class Reference

#include <QGSPCMS_FTFP_BERT_EML.h>

Inheritance diagram for QGSPCMS_FTFP_BERT_EML:
PhysicsList

Public Member Functions

 QGSPCMS_FTFP_BERT_EML (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 QGSPCMS_FTFP_BERT_EML.h.

Constructor & Destructor Documentation

◆ QGSPCMS_FTFP_BERT_EML()

QGSPCMS_FTFP_BERT_EML::QGSPCMS_FTFP_BERT_EML ( const edm::ParameterSet p)

Definition at line 16 of file QGSPCMS_FTFP_BERT_EML.cc.

16  : PhysicsList(p) {
17  int ver = p.getUntrackedParameter<int>("Verbosity", 0);
18  bool emPhys = p.getUntrackedParameter<bool>("EMPhysics", true);
19  bool hadPhys = p.getUntrackedParameter<bool>("HadPhysics", true);
20  bool tracking = p.getParameter<bool>("TrackingCut");
21  double timeLimit = p.getParameter<double>("MaxTrackTime") * CLHEP::ns;
22  double minFTFP = p.getParameter<double>("EminFTFP") * CLHEP::GeV;
23  double maxBERT = p.getParameter<double>("EmaxBERT") * CLHEP::GeV;
24  double minQGSP = p.getParameter<double>("EminQGSP") * CLHEP::GeV;
25  double maxFTFP = p.getParameter<double>("EmaxFTFP") * CLHEP::GeV;
26  double maxBERTpi = p.getParameter<double>("EmaxBERTpi") * CLHEP::GeV;
27  edm::LogInfo("PhysicsList") << "You are using the simulation engine: "
28  << "QGSP_FTFP_BERT_EML \n Flags for EM Physics " << emPhys << ", for Hadronic Physics "
29  << hadPhys << " and tracking cut " << tracking << " t(ns)= " << timeLimit / CLHEP::ns
30  << "\n transition energy Bertini/FTFP from " << minFTFP / CLHEP::GeV << " to "
31  << maxBERTpi / CLHEP::GeV << ":" << maxBERT / CLHEP::GeV << " GeV"
32  << "\n transition energy FTFP/QGSP from " << minQGSP / CLHEP::GeV << " to "
33  << maxFTFP / CLHEP::GeV << " GeV";
34 
35  if (emPhys) {
36  // EM Physics
37  RegisterPhysics(new CMSEmStandardPhysics(ver));
38 
39  // Synchroton Radiation & GN Physics
40  G4EmExtraPhysics* gn = new G4EmExtraPhysics(ver);
41  RegisterPhysics(gn);
42  }
43 
44  // Decays
45  RegisterPhysics(new G4DecayPhysics(ver));
46 
47  if (hadPhys) {
48  G4HadronicProcessStore::Instance()->SetVerbose(ver);
49 
50  // Hadron Elastic scattering
51  RegisterPhysics(new G4HadronElasticPhysics(ver));
52 
53  // Hadron Physics
54  RegisterPhysics(new HadronPhysicsQGSPCMS_FTFP_BERT(minFTFP, maxBERT, minQGSP, maxFTFP, maxBERTpi));
55 
56  // Stopping Physics
57  RegisterPhysics(new G4StoppingPhysics(ver));
58 
59  // Ion Physics
60  RegisterPhysics(new G4IonPhysics(ver));
61 
62  // Neutron tracking cut
63  if (tracking) {
64  G4NeutronTrackingCut* ncut = new G4NeutronTrackingCut(ver);
65  ncut->SetTimeLimit(timeLimit);
66  RegisterPhysics(ncut);
67  }
68  }
69 }

References GeV, and AlCaHLTBitMon_ParallelJobs::p.

CMSEmStandardPhysics
Definition: CMSEmStandardPhysics.h:7
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
GeV
const double GeV
Definition: MathUtil.h:16
HadronPhysicsQGSPCMS_FTFP_BERT
Definition: HadronPhysicsQGSPCMS_FTFP_BERT.h:9