CMS 3D CMS Logo

List of all members | Public Member Functions
FTFCMS_BIC Class Reference

#include <FTFCMS_BIC.h>

Inheritance diagram for FTFCMS_BIC:
PhysicsList

Public Member Functions

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

Constructor & Destructor Documentation

FTFCMS_BIC::FTFCMS_BIC ( const edm::ParameterSet p)

Definition at line 16 of file FTFCMS_BIC.cc.

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and muons2muons_cfi::photon.

17  : PhysicsList(p) {
18 
19  G4DataQuestionaire it(photon);
20 
21  int ver = p.getUntrackedParameter<int>("Verbosity",0);
22  bool emPhys = p.getUntrackedParameter<bool>("EMPhysics",true);
23  bool hadPhys = p.getUntrackedParameter<bool>("HadPhysics",true);
24  bool tracking= p.getParameter<bool>("TrackingCut");
25  edm::LogInfo("PhysicsList") << "You are using the simulation engine: "
26  << "FTF_BIC with Flags for EM Physics "
27  << emPhys << ", for Hadronic Physics "
28  << hadPhys << " and tracking cut " << tracking;
29 
30  if (emPhys) {
31  // EM Physics
32  RegisterPhysics( new G4EmStandardPhysics(ver));
33 
34  // Synchroton Radiation & GN Physics
35  G4EmExtraPhysics* gn = new G4EmExtraPhysics(ver);
36  RegisterPhysics(gn);
37  }
38 
39  // Decays
40  this->RegisterPhysics( new G4DecayPhysics(ver) );
41 
42  if (hadPhys) {
43  G4HadronicProcessStore::Instance()->SetVerbose(ver);
44 
45  // Hadron Elastic scattering
46  RegisterPhysics( new G4HadronElasticPhysics(ver));
47 
48  // Hadron Physics
49  RegisterPhysics( new G4HadronPhysicsFTF_BIC(ver));
50 
51  // Stopping Physics
52  RegisterPhysics( new G4StoppingPhysics(ver));
53 
54  // Ion Physics
55  RegisterPhysics( new G4IonPhysics(ver));
56 
57  // Neutron tracking cut
58  if (tracking) {
59  RegisterPhysics( new G4NeutronTrackingCut(ver));
60  }
61  }
62 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
PhysicsList(const edm::ParameterSet &p)
Definition: PhysicsList.cc:3