CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CMSEmStandardPhysics71 Class Reference

#include <CMSEmStandardPhysics71.h>

Inheritance diagram for CMSEmStandardPhysics71:

Public Member Functions

 CMSEmStandardPhysics71 (const G4String &name, G4int ver)
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
virtual ~CMSEmStandardPhysics71 ()
 

Private Attributes

G4int verbose
 

Detailed Description

Definition at line 8 of file CMSEmStandardPhysics71.h.

Constructor & Destructor Documentation

CMSEmStandardPhysics71::CMSEmStandardPhysics71 ( const G4String &  name,
G4int  ver 
)

Definition at line 64 of file CMSEmStandardPhysics71.cc.

64  :
65  G4VPhysicsConstructor(name), verbose(ver) {
66  G4LossTableManager::Instance();
67 }
CMSEmStandardPhysics71::~CMSEmStandardPhysics71 ( )
virtual

Definition at line 69 of file CMSEmStandardPhysics71.cc.

69 {}

Member Function Documentation

void CMSEmStandardPhysics71::ConstructParticle ( )
virtual

Definition at line 71 of file CMSEmStandardPhysics71.cc.

References Gamma.

71  {
72  // gamma
74 
75  // leptons
76  G4Electron::Electron();
77  G4Positron::Positron();
78  G4MuonPlus::MuonPlus();
79  G4MuonMinus::MuonMinus();
80  G4TauMinus::TauMinusDefinition();
81  G4TauPlus::TauPlusDefinition();
82 
83  // mesons
84  G4PionPlus::PionPlusDefinition();
85  G4PionMinus::PionMinusDefinition();
86  G4KaonPlus::KaonPlusDefinition();
87  G4KaonMinus::KaonMinusDefinition();
88  G4DMesonMinus::DMesonMinusDefinition();
89  G4DMesonPlus::DMesonPlusDefinition();
90  G4BMesonMinus::BMesonMinusDefinition();
91  G4BMesonPlus::BMesonPlusDefinition();
92 
93  // barions
94  G4Proton::Proton();
95  G4AntiProton::AntiProton();
96  G4SigmaMinus::SigmaMinusDefinition();
97  G4AntiSigmaMinus::AntiSigmaMinusDefinition();
98  G4SigmaPlus::SigmaPlusDefinition();
99  G4AntiSigmaPlus::AntiSigmaPlusDefinition();
100  G4XiMinus::XiMinusDefinition();
101  G4AntiXiMinus::AntiXiMinusDefinition();
102  G4OmegaMinus::OmegaMinusDefinition();
103  G4AntiOmegaMinus::AntiOmegaMinusDefinition();
104  G4LambdacPlus::LambdacPlusDefinition();
105  G4AntiLambdacPlus::AntiLambdacPlusDefinition();
106  G4XicPlus::XicPlusDefinition();
107  G4AntiXicPlus::AntiXicPlusDefinition();
108 
109  // ions
110  G4Deuteron::Deuteron();
111  G4Triton::Triton();
112  G4He3::He3();
113  G4Alpha::Alpha();
114  G4GenericIon::GenericIonDefinition();
115 }
dbl * Gamma
Definition: mlp_gen.cc:38
void CMSEmStandardPhysics71::ConstructProcess ( )
virtual

Definition at line 117 of file CMSEmStandardPhysics71.cc.

117  {
118  // Add standard EM Processes
119 
120  theParticleIterator->reset();
121  while( (*theParticleIterator)() ){
122  G4ParticleDefinition* particle = theParticleIterator->value();
123  G4ProcessManager* pmanager = particle->GetProcessManager();
124  G4String particleName = particle->GetParticleName();
125  if(verbose > 1)
126  G4cout << "### " << GetPhysicsName() << " instantiates for "
127  << particleName << G4endl;
128 
129  if (particleName == "gamma") {
130 
131  pmanager->AddDiscreteProcess(new G4PhotoElectricEffect);
132  pmanager->AddDiscreteProcess(new G4ComptonScattering);
133  pmanager->AddDiscreteProcess(new G4GammaConversion);
134 
135  } else if (particleName == "e-") {
136 
137  G4eIonisation* eioni = new G4eIonisation();
138  eioni->SetStepFunction(0.8, 1.0*mm);
139  G4eMultipleScattering* msc = new G4eMultipleScattering;
140  msc->SetStepLimitType(fMinimal);
141  pmanager->AddProcess(msc, -1, 1, 1);
142  pmanager->AddProcess(eioni, -1, 2, 2);
143  pmanager->AddProcess(new G4eBremsstrahlung, -1,-3, 3);
144 
145  } else if (particleName == "e+") {
146 
147  G4eIonisation* eioni = new G4eIonisation();
148  eioni->SetStepFunction(0.8, 1.0*mm);
149  G4eMultipleScattering* msc = new G4eMultipleScattering;
150  msc->SetStepLimitType(fMinimal);
151  pmanager->AddProcess(msc, -1, 1, 1);
152  pmanager->AddProcess(eioni, -1, 2, 2);
153  pmanager->AddProcess(new G4eBremsstrahlung, -1,-3, 3);
154  pmanager->AddProcess(new G4eplusAnnihilation, 0,-1, 4);
155 
156  } else if (particleName == "mu+" ||
157  particleName == "mu-" ) {
158 
159  pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
160  pmanager->AddProcess(new G4MuIonisation, -1, 2, 2);
161  pmanager->AddProcess(new G4MuBremsstrahlung, -1,-3, 3);
162  pmanager->AddProcess(new G4MuPairProduction, -1,-4, 4);
163 
164  } else if (particleName == "alpha" ||
165  particleName == "He3" ||
166  particleName == "GenericIon") {
167 
168  pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
169  pmanager->AddProcess(new G4ionIonisation, -1, 2, 2);
170 
171  } else if (particleName == "B+" ||
172  particleName == "B-" ||
173  particleName == "D+" ||
174  particleName == "D-" ||
175  particleName == "Ds+" ||
176  particleName == "Ds-" ||
177  particleName == "anti_lambda_c+" ||
178  particleName == "anti_omega-" ||
179  particleName == "anti_proton" ||
180  particleName == "anti_sigma_c+" ||
181  particleName == "anti_sigma_c++" ||
182  particleName == "anti_sigma+" ||
183  particleName == "anti_sigma-" ||
184  particleName == "anti_xi_c+" ||
185  particleName == "anti_xi-" ||
186  particleName == "deuteron" ||
187  particleName == "kaon+" ||
188  particleName == "kaon-" ||
189  particleName == "lambda_c+" ||
190  particleName == "omega-" ||
191  particleName == "pi+" ||
192  particleName == "pi-" ||
193  particleName == "proton" ||
194  particleName == "sigma_c+" ||
195  particleName == "sigma_c++" ||
196  particleName == "sigma+" ||
197  particleName == "sigma-" ||
198  particleName == "tau+" ||
199  particleName == "tau-" ||
200  particleName == "triton" ||
201  particleName == "xi_c+" ||
202  particleName == "xi-" ) {
203 
204  pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
205  pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
206 
207  if (particleName == "pi+" ||
208  particleName == "kaon+" ||
209  particleName == "kaon-" ||
210  particleName == "proton" ||
211  particleName == "pi-" ) {
212  pmanager->AddProcess(new G4hBremsstrahlung(), -1,-3, 3);
213  pmanager->AddProcess(new G4hPairProduction(), -1,-4, 4);
214  }
215 
216  }
217  }
218 
219  G4EmProcessOptions opt;
220  opt.SetVerbose(verbose);
221 }

Member Data Documentation

G4int CMSEmStandardPhysics71::verbose
private

Definition at line 18 of file CMSEmStandardPhysics71.h.