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
CMSEmStandardPhysics Class Reference

#include <CMSEmStandardPhysics.h>

Inheritance diagram for CMSEmStandardPhysics:

Public Member Functions

 CMSEmStandardPhysics (G4int ver)
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
virtual ~CMSEmStandardPhysics ()
 

Private Attributes

G4int verbose
 

Detailed Description

Definition at line 7 of file CMSEmStandardPhysics.h.

Constructor & Destructor Documentation

CMSEmStandardPhysics::CMSEmStandardPhysics ( G4int  ver)

Definition at line 72 of file CMSEmStandardPhysics.cc.

72  :
73  G4VPhysicsConstructor("CMSEmStandard_opt1"), verbose(ver) {
74  G4LossTableManager::Instance();
75  SetPhysicsType(bElectromagnetic);
76 }
CMSEmStandardPhysics::~CMSEmStandardPhysics ( )
virtual

Definition at line 78 of file CMSEmStandardPhysics.cc.

78 {}

Member Function Documentation

void CMSEmStandardPhysics::ConstructParticle ( )
virtual

Definition at line 80 of file CMSEmStandardPhysics.cc.

References Gamma.

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

Definition at line 126 of file CMSEmStandardPhysics.cc.

References kp, MeV, AnalysisDataFormats_SUSYBSMObjects::msc, pi, createTree::pp, and contentValuesCheck::ss.

126  {
127 
128  if(verbose > 0) {
129  G4cout << "### " << GetPhysicsName() << " Construct Processes " << G4endl;
130  }
131 
132  // This EM builder takes default models of Geant4 10 EMV.
133  // Multiple scattering by Urban for all particles
134  // except e+e- below 100 MeV for which the Urban93 model is used
135 
136  G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
137 
138  // muon & hadron bremsstrahlung and pair production
139  G4MuBremsstrahlung* mub = new G4MuBremsstrahlung();
140  G4MuPairProduction* mup = new G4MuPairProduction();
141  G4hBremsstrahlung* pib = new G4hBremsstrahlung();
142  G4hPairProduction* pip = new G4hPairProduction();
143  G4hBremsstrahlung* kb = new G4hBremsstrahlung();
144  G4hPairProduction* kp = new G4hPairProduction();
145  G4hBremsstrahlung* pb = new G4hBremsstrahlung();
146  G4hPairProduction* pp = new G4hPairProduction();
147 
148  // muon & hadron multiple scattering
149  G4MuMultipleScattering* mumsc = new G4MuMultipleScattering();
150  mumsc->AddEmModel(0, new G4WentzelVIModel());
151  G4MuMultipleScattering* pimsc = new G4MuMultipleScattering();
152  pimsc->AddEmModel(0, new G4WentzelVIModel());
153  G4MuMultipleScattering* kmsc = new G4MuMultipleScattering();
154  kmsc->AddEmModel(0, new G4WentzelVIModel());
155  G4MuMultipleScattering* pmsc = new G4MuMultipleScattering();
156  pmsc->AddEmModel(0, new G4WentzelVIModel());
157  G4hMultipleScattering* hmsc = new G4hMultipleScattering("ionmsc");
158 
159  // high energy limit for e+- scattering models and bremsstrahlung
160  G4double highEnergyLimit = 100*MeV;
161 
162  aParticleIterator->reset();
163  while( (*aParticleIterator)() ){
164  G4ParticleDefinition* particle = aParticleIterator->value();
165  G4String particleName = particle->GetParticleName();
166 
167  if (particleName == "gamma") {
168 
169  ph->RegisterProcess(new G4PhotoElectricEffect(), particle);
170  ph->RegisterProcess(new G4ComptonScattering(), particle);
171  ph->RegisterProcess(new G4GammaConversion(), particle);
172 
173  } else if (particleName == "e-") {
174 
175  G4eIonisation* eioni = new G4eIonisation();
176  eioni->SetStepFunction(0.8, 1.0*mm);
177 
178  G4eMultipleScattering* msc = new G4eMultipleScattering;
179  msc->SetStepLimitType(fMinimal);
180  UrbanMscModel93* msc1 = new UrbanMscModel93();
181  G4WentzelVIModel* msc2 = new G4WentzelVIModel();
182  msc1->SetHighEnergyLimit(highEnergyLimit);
183  msc2->SetLowEnergyLimit(highEnergyLimit);
184  msc->AddEmModel(0, msc1);
185  msc->AddEmModel(0, msc2);
186 
187  G4eCoulombScatteringModel* ssm = new G4eCoulombScatteringModel();
188  G4CoulombScattering* ss = new G4CoulombScattering();
189  ss->SetEmModel(ssm, 1);
190  ss->SetMinKinEnergy(highEnergyLimit);
191  ssm->SetLowEnergyLimit(highEnergyLimit);
192  ssm->SetActivationLowEnergyLimit(highEnergyLimit);
193 
194  ph->RegisterProcess(msc, particle);
195  ph->RegisterProcess(eioni, particle);
196  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
197  ph->RegisterProcess(ss, particle);
198 
199  } else if (particleName == "e+") {
200 
201  G4eIonisation* eioni = new G4eIonisation();
202  eioni->SetStepFunction(0.8, 1.0*mm);
203 
204  G4eMultipleScattering* msc = new G4eMultipleScattering;
205  msc->SetStepLimitType(fMinimal);
206  UrbanMscModel93* msc1 = new UrbanMscModel93();
207  G4WentzelVIModel* msc2 = new G4WentzelVIModel();
208  msc1->SetHighEnergyLimit(highEnergyLimit);
209  msc2->SetLowEnergyLimit(highEnergyLimit);
210  msc->AddEmModel(0, msc1);
211  msc->AddEmModel(0, msc2);
212 
213  G4eCoulombScatteringModel* ssm = new G4eCoulombScatteringModel();
214  G4CoulombScattering* ss = new G4CoulombScattering();
215  ss->SetEmModel(ssm, 1);
216  ss->SetMinKinEnergy(highEnergyLimit);
217  ssm->SetLowEnergyLimit(highEnergyLimit);
218  ssm->SetActivationLowEnergyLimit(highEnergyLimit);
219 
220  ph->RegisterProcess(msc, particle);
221  ph->RegisterProcess(eioni, particle);
222  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
223  ph->RegisterProcess(new G4eplusAnnihilation(), particle);
224  ph->RegisterProcess(ss, particle);
225 
226  } else if (particleName == "mu+" ||
227  particleName == "mu-" ) {
228 
229  ph->RegisterProcess(mumsc, particle);
230  ph->RegisterProcess(new G4MuIonisation(), particle);
231  ph->RegisterProcess(mub, particle);
232  ph->RegisterProcess(mup, particle);
233  ph->RegisterProcess(new G4CoulombScattering(), particle);
234 
235  } else if (particleName == "alpha" ||
236  particleName == "He3" ) {
237 
238  //ph->RegisterProcess(hmsc, particle);
239  ph->RegisterProcess(new G4hMultipleScattering(), particle);
240  ph->RegisterProcess(new G4ionIonisation(), particle);
241 
242  } else if (particleName == "GenericIon") {
243 
244  ph->RegisterProcess(hmsc, particle);
245  ph->RegisterProcess(new G4ionIonisation(), particle);
246 
247  } else if (particleName == "pi+" ||
248  particleName == "pi-" ) {
249 
250  //G4hMultipleScattering* pimsc = new G4hMultipleScattering();
251  ph->RegisterProcess(pimsc, particle);
252  ph->RegisterProcess(new G4hIonisation(), particle);
253  ph->RegisterProcess(pib, particle);
254  ph->RegisterProcess(pip, particle);
255  ph->RegisterProcess(new G4CoulombScattering(), particle);
256 
257  } else if (particleName == "kaon+" ||
258  particleName == "kaon-" ) {
259 
260  //G4hMultipleScattering* kmsc = new G4hMultipleScattering();
261  ph->RegisterProcess(kmsc, particle);
262  ph->RegisterProcess(new G4hIonisation(), particle);
263  ph->RegisterProcess(kb, particle);
264  ph->RegisterProcess(kp, particle);
265  ph->RegisterProcess(new G4CoulombScattering(), particle);
266 
267  // } else if (particleName == "proton" ) {
268  } else if (particleName == "proton" ||
269  particleName == "anti_proton") {
270 
271  //G4hMultipleScattering* pmsc = new G4hMultipleScattering();
272  ph->RegisterProcess(pmsc, particle);
273  ph->RegisterProcess(new G4hIonisation(), particle);
274  ph->RegisterProcess(pb, particle);
275  ph->RegisterProcess(pp, particle);
276  ph->RegisterProcess(new G4CoulombScattering(), particle);
277 
278  } else if (particleName == "B+" ||
279  particleName == "B-" ||
280  particleName == "D+" ||
281  particleName == "D-" ||
282  particleName == "Ds+" ||
283  particleName == "Ds-" ||
284  particleName == "anti_He3" ||
285  particleName == "anti_alpha" ||
286  particleName == "anti_deuteron" ||
287  particleName == "anti_lambda_c+" ||
288  particleName == "anti_omega-" ||
289  particleName == "anti_sigma_c+" ||
290  particleName == "anti_sigma_c++" ||
291  particleName == "anti_sigma+" ||
292  particleName == "anti_sigma-" ||
293  particleName == "anti_triton" ||
294  particleName == "anti_xi_c+" ||
295  particleName == "anti_xi-" ||
296  particleName == "deuteron" ||
297  particleName == "lambda_c+" ||
298  particleName == "omega-" ||
299  particleName == "sigma_c+" ||
300  particleName == "sigma_c++" ||
301  particleName == "sigma+" ||
302  particleName == "sigma-" ||
303  particleName == "tau+" ||
304  particleName == "tau-" ||
305  particleName == "triton" ||
306  particleName == "xi_c+" ||
307  particleName == "xi-" ) {
308 
309  ph->RegisterProcess(hmsc, particle);
310  ph->RegisterProcess(new G4hIonisation(), particle);
311  }
312  }
313  G4EmProcessOptions opt;
314  opt.SetVerbose(verbose);
315  opt.SetPolarAngleLimit(CLHEP::pi);
316  opt.SetApplyCuts(true);
317 }
tuple pp
Definition: createTree.py:15
int kp
susybsm::MuonSegmentCollection msc
Definition: classes.h:32
const Double_t pi
const double MeV

Member Data Documentation

G4int CMSEmStandardPhysics::verbose
private

Definition at line 17 of file CMSEmStandardPhysics.h.