CMS 3D CMS Logo

List of all members | Public Member Functions
FTFPCMS_BERT_EMZ Class Reference

#include <FTFPCMS_BERT_EMZ.h>

Inheritance diagram for FTFPCMS_BERT_EMZ:
PhysicsList

Public Member Functions

 FTFPCMS_BERT_EMZ (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 15 of file FTFPCMS_BERT_EMZ.h.

Constructor & Destructor Documentation

◆ FTFPCMS_BERT_EMZ()

FTFPCMS_BERT_EMZ::FTFPCMS_BERT_EMZ ( const edm::ParameterSet p)

Definition at line 13 of file FTFPCMS_BERT_EMZ.cc.

References AlCaHLTBitMon_ParallelJobs::p.

13  : PhysicsList(p) {
14  int ver = p.getUntrackedParameter<int>("Verbosity", 0);
15  bool emPhys = p.getUntrackedParameter<bool>("EMPhysics", true);
16  bool hadPhys = p.getUntrackedParameter<bool>("HadPhysics", true);
17  double minFTFP = p.getParameter<double>("EminFTFP") * CLHEP::GeV;
18  double maxBERT = p.getParameter<double>("EmaxBERT") * CLHEP::GeV;
19  double maxBERTpi = p.getParameter<double>("EmaxBERTpi") * CLHEP::GeV;
20  edm::LogVerbatim("PhysicsList") << "CMS Physics List FTFP_BERT_EMZ: "
21  << "\n Flags for EM Physics: " << emPhys << "; Hadronic Physics: " << hadPhys
22  << "\n transition energy Bertini/FTFP from " << minFTFP / CLHEP::GeV << " to "
23  << maxBERT / CLHEP::GeV << ":" << maxBERTpi / CLHEP::GeV << " GeV";
24 
25  if (emPhys) {
26  // EM Physics
27  RegisterPhysics(new CMSEmStandardPhysicsEMZ(ver));
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  // Hadron Elastic scattering
39  RegisterPhysics(new G4HadronElasticPhysics(ver));
40 
41  // Hadron Physics
42  RegisterPhysics(new CMSHadronPhysicsFTFP_BERT(minFTFP, maxBERT, maxBERTpi, minFTFP, maxBERT));
43 
44  // Stopping Physics
45  RegisterPhysics(new G4StoppingPhysics(ver));
46 
47  // Ion Physics
48  RegisterPhysics(new G4IonPhysics(ver));
49  }
50 }
Log< level::Info, true > LogVerbatim
PhysicsList(const edm::ParameterSet &p)
Definition: PhysicsList.cc:3