CMS 3D CMS Logo

List of all members | Public Member Functions
FTFPCMS_BERT_EMV Class Reference

#include <FTFPCMS_BERT_EMV.h>

Inheritance diagram for FTFPCMS_BERT_EMV:
PhysicsList

Public Member Functions

 FTFPCMS_BERT_EMV (G4LogicalVolumeToDDLogicalPartMap &map, const HepPDT::ParticleDataTable *table_, sim::ChordFinderSetter *chordFinderSetter_, const edm::ParameterSet &p)
 
- Public Member Functions inherited from PhysicsList
 PhysicsList (G4LogicalVolumeToDDLogicalPartMap &map, const HepPDT::ParticleDataTable *table_, sim::ChordFinderSetter *chordFinderSetter_, const edm::ParameterSet &p)
 
void SetCuts () override
 
 ~PhysicsList () override
 

Detailed Description

Definition at line 7 of file FTFPCMS_BERT_EMV.h.

Constructor & Destructor Documentation

FTFPCMS_BERT_EMV::FTFPCMS_BERT_EMV ( G4LogicalVolumeToDDLogicalPartMap map,
const HepPDT::ParticleDataTable table_,
sim::ChordFinderSetter chordFinderSetter_,
const edm::ParameterSet p 
)

Definition at line 17 of file FTFPCMS_BERT_EMV.cc.

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

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