CMS 3D CMS Logo

List of all members | Public Member Functions
FTFPCMS_BERT_ATL_EMM Class Reference

#include <FTFPCMS_BERT_ATL_EMM.h>

Inheritance diagram for FTFPCMS_BERT_ATL_EMM:
PhysicsList

Public Member Functions

 FTFPCMS_BERT_ATL_EMM (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_ATL_EMM.h.

Constructor & Destructor Documentation

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

Definition at line 17 of file FTFPCMS_BERT_ATL_EMM.cc.

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

22  : PhysicsList(map, table_, chordFinderSetter_, p) {
23 
24  G4DataQuestionaire it(photon);
25 
26  int ver = p.getUntrackedParameter<int>("Verbosity",0);
27  bool emPhys = p.getUntrackedParameter<bool>("EMPhysics",true);
28  bool hadPhys = p.getUntrackedParameter<bool>("HadPhysics",true);
29  bool tracking= p.getParameter<bool>("TrackingCut");
30  double timeLimit = p.getParameter<double>("MaxTrackTime")*ns;
31  edm::LogInfo("PhysicsList") << "You are using the simulation engine: "
32  << "FTFP_BERT_ATL_EMM \n Flags for EM Physics "
33  << emPhys << ", for Hadronic Physics "
34  << hadPhys << " and tracking cut " << tracking
35  << " t(ns)= " << timeLimit/ns;
36 
37  if (emPhys) {
38  // EM Physics
39  RegisterPhysics( new CMSEmStandardPhysicsLPM(ver));
40 
41  // Synchroton Radiation & GN Physics
42  G4EmExtraPhysics* gn = new G4EmExtraPhysics(ver);
43  RegisterPhysics(gn);
44  }
45 
46  // Decays
47  this->RegisterPhysics( new G4DecayPhysics(ver) );
48 
49  if (hadPhys) {
50  G4HadronicProcessStore::Instance()->SetVerbose(ver);
51 
52  // Hadron Elastic scattering
53  RegisterPhysics( new G4HadronElasticPhysics(ver));
54 
55  // Hadron Physics
56  RegisterPhysics( new CMSHadronPhysicsFTFP_BERT_ATL(ver));
57 
58  // Stopping Physics
59  RegisterPhysics( new G4StoppingPhysics(ver));
60 
61  // Ion Physics
62  RegisterPhysics( new G4IonPhysics(ver));
63 
64  // Neutron tracking cut
65  if (tracking) {
66  G4NeutronTrackingCut* ncut= new G4NeutronTrackingCut(ver);
67  ncut->SetTimeLimit(timeLimit);
68  RegisterPhysics(ncut);
69  }
70  }
71 
72  // Monopoles
73  RegisterPhysics( new CMSMonopolePhysics(table_,chordFinderSetter_,p));
74 }
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_