CMS 3D CMS Logo

List of all members | Public Member Functions
FTFPCMS_BERT Class Reference

#include <FTFPCMS_BERT.h>

Inheritance diagram for FTFPCMS_BERT:
PhysicsList

Public Member Functions

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

Constructor & Destructor Documentation

◆ FTFPCMS_BERT()

FTFPCMS_BERT::FTFPCMS_BERT ( const edm::ParameterSet p)

Definition at line 12 of file FTFPCMS_BERT.cc.

12  : PhysicsList(p) {
13  int ver = p.getUntrackedParameter<int>("Verbosity", 0);
14  bool emPhys = p.getUntrackedParameter<bool>("EMPhysics", true);
15  bool hadPhys = p.getUntrackedParameter<bool>("HadPhysics", true);
16  double minFTFP = p.getParameter<double>("EminFTFP") * CLHEP::GeV;
17  double maxBERT = p.getParameter<double>("EmaxBERT") * CLHEP::GeV;
18  double maxBERTpi = p.getParameter<double>("EmaxBERTpi") * CLHEP::GeV;
19  edm::LogVerbatim("PhysicsList") << "CMS Physics List FTFP_BERT: "
20  << "\n Flags for EM Physics: " << emPhys << "; Hadronic Physics: " << hadPhys
21  << "\n transition energy Bertini/FTFP from " << minFTFP / CLHEP::GeV << " to "
22  << maxBERT / CLHEP::GeV << ":" << maxBERTpi / CLHEP::GeV << " GeV";
23 
24  if (emPhys) {
25  // EM Physics
26  RegisterPhysics(new G4EmStandardPhysics(ver));
27 
28  // Synchroton Radiation & GN Physics
29  G4EmExtraPhysics* gn = new G4EmExtraPhysics(ver);
30  RegisterPhysics(gn);
31  }
32 
33  // Decays
34  RegisterPhysics(new G4DecayPhysics(ver));
35 
36  if (hadPhys) {
37  // Hadron Elastic scattering
38  RegisterPhysics(new G4HadronElasticPhysics(ver));
39 
40  // Hadron Physics
41  RegisterPhysics(new CMSHadronPhysicsFTFP_BERT(minFTFP, maxBERT, maxBERTpi, minFTFP, maxBERT));
42 
43  // Stopping Physics
44  RegisterPhysics(new G4StoppingPhysics(ver));
45 
46  // Ion Physics
47  RegisterPhysics(new G4IonPhysics(ver));
48  }
49 }

References GeV, and AlCaHLTBitMon_ParallelJobs::p.

PhysicsList::PhysicsList
PhysicsList(const edm::ParameterSet &p)
Definition: PhysicsList.cc:3
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
GeV
const double GeV
Definition: MathUtil.h:16
CMSHadronPhysicsFTFP_BERT
Definition: CMSHadronPhysicsFTFP_BERT.h:23
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128