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

#include <CMSEmStandardPhysicsLPM.h>

Inheritance diagram for CMSEmStandardPhysicsLPM:

Public Member Functions

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

Private Attributes

G4int verbose
 

Detailed Description

Definition at line 8 of file CMSEmStandardPhysicsLPM.h.

Constructor & Destructor Documentation

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

Definition at line 72 of file CMSEmStandardPhysicsLPM.cc.

72  :
73  G4VPhysicsConstructor(name), verbose(ver) {
74  G4LossTableManager::Instance();
75 }
CMSEmStandardPhysicsLPM::~CMSEmStandardPhysicsLPM ( )
virtual

Definition at line 77 of file CMSEmStandardPhysicsLPM.cc.

77 {}

Member Function Documentation

void CMSEmStandardPhysicsLPM::ConstructParticle ( )
virtual

Definition at line 79 of file CMSEmStandardPhysicsLPM.cc.

References configurableAnalysis::Electron, and Gamma.

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

Definition at line 125 of file CMSEmStandardPhysicsLPM.cc.

References kp, AnalysisDataFormats_SUSYBSMObjects::msc, pi, and createTree::pp.

126 {
127  // Add standard EM Processes
128 
129  // muon & hadron bremsstrahlung and pair production
130  G4MuBremsstrahlung* mub = new G4MuBremsstrahlung();
131  G4MuPairProduction* mup = new G4MuPairProduction();
132  G4hBremsstrahlung* pib = new G4hBremsstrahlung();
133  G4hPairProduction* pip = new G4hPairProduction();
134  G4hBremsstrahlung* kb = new G4hBremsstrahlung();
135  G4hPairProduction* kp = new G4hPairProduction();
136  G4hBremsstrahlung* pb = new G4hBremsstrahlung();
137  G4hPairProduction* pp = new G4hPairProduction();
138 
139  G4hMultipleScattering* hmsc = new G4hMultipleScattering("ionmsc");
140 
141  // This EM builder takes default models of Geant4 10 EMV.
142  // Multiple scattering by Urban for all particles
143  // except e+e- for which the Urban93 model is used
144  // and WentzelVI+SingleScattering for muons
145 
146  aParticleIterator->reset();
147  while( (*aParticleIterator)() ){
148  G4ParticleDefinition* particle = aParticleIterator->value();
149  G4ProcessManager* pmanager = particle->GetProcessManager();
150  G4String particleName = particle->GetParticleName();
151  if(verbose > 1)
152  G4cout << "### " << GetPhysicsName() << " instantiates for "
153  << particleName << " at " << particle << G4endl;
154 
155  if (particleName == "gamma") {
156 
157  pmanager->AddDiscreteProcess(new G4PhotoElectricEffect);
158  pmanager->AddDiscreteProcess(new G4ComptonScattering);
159  pmanager->AddDiscreteProcess(new G4GammaConversion());
160 
161  } else if (particleName == "e-") {
162 
163  G4eIonisation* eioni = new G4eIonisation();
164  eioni->SetStepFunction(0.8, 1.0*mm);
165  G4eMultipleScattering* msc = new G4eMultipleScattering;
166  msc->SetStepLimitType(fMinimal);
167  msc->AddEmModel(0,new UrbanMscModel93());
168 
169  G4eBremsstrahlung* ebrem = new G4eBremsstrahlung();
170 
171  pmanager->AddProcess(msc, -1, 1, 1);
172  pmanager->AddProcess(eioni, -1, 2, 2);
173  pmanager->AddProcess(ebrem, -1,-3, 3);
174 
175  } else if (particleName == "e+") {
176 
177  G4eIonisation* eioni = new G4eIonisation();
178  eioni->SetStepFunction(0.8, 1.0*mm);
179  G4eMultipleScattering* msc = new G4eMultipleScattering;
180  msc->SetStepLimitType(fMinimal);
181  msc->AddEmModel(0,new UrbanMscModel93());
182 
183  G4eBremsstrahlung* ebrem = new G4eBremsstrahlung();
184 
185  pmanager->AddProcess(msc, -1, 1, 1);
186  pmanager->AddProcess(eioni, -1, 2, 2);
187  pmanager->AddProcess(ebrem, -1,-3, 3);
188  pmanager->AddProcess(new G4eplusAnnihilation, 0,-1, 4);
189 
190  } else if (particleName == "mu+" ||
191  particleName == "mu-" ) {
192 
193  G4MuMultipleScattering* mumsc = new G4MuMultipleScattering();
194  mumsc->AddEmModel(0, new G4WentzelVIModel());
195  pmanager->AddProcess(mumsc, -1, 1, 1);
196  pmanager->AddProcess(new G4MuIonisation, -1, 2, 2);
197  pmanager->AddProcess(mub, -1,-3, 3);
198  pmanager->AddProcess(mup, -1,-4, 4);
199  pmanager->AddProcess(new G4CoulombScattering, -1,-4, 5);
200 
201  } else if (particleName == "alpha" ||
202  particleName == "He3" ||
203  particleName == "GenericIon") {
204 
205  pmanager->AddProcess(hmsc, -1, 1, 1);
206  pmanager->AddProcess(new G4ionIonisation, -1, 2, 2);
207 
208  } else if (particleName == "pi+" ||
209  particleName == "pi-" ) {
210 
211  pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
212  pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
213  pmanager->AddProcess(pib, -1,-3, 3);
214  pmanager->AddProcess(pip, -1,-4, 4);
215 
216  } else if (particleName == "kaon+" ||
217  particleName == "kaon-" ) {
218 
219  pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
220  pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
221  pmanager->AddProcess(kb, -1,-3, 3);
222  pmanager->AddProcess(kp, -1,-4, 4);
223 
224  } else if (particleName == "proton" ||
225  particleName == "anti_proton" ) {
226 
227  pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
228  pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
229  pmanager->AddProcess(pb, -1,-3, 3);
230  pmanager->AddProcess(pp, -1,-4, 4);
231 
232  } else if (particleName == "B+" ||
233  particleName == "B-" ||
234  particleName == "D+" ||
235  particleName == "D-" ||
236  particleName == "Ds+" ||
237  particleName == "Ds-" ||
238  particleName == "anti_lambda_c+" ||
239  particleName == "anti_omega-" ||
240  particleName == "anti_sigma_c+" ||
241  particleName == "anti_sigma_c++" ||
242  particleName == "anti_sigma+" ||
243  particleName == "anti_sigma-" ||
244  particleName == "anti_xi_c+" ||
245  particleName == "anti_xi-" ||
246  particleName == "deuteron" ||
247  particleName == "lambda_c+" ||
248  particleName == "omega-" ||
249  particleName == "sigma_c+" ||
250  particleName == "sigma_c++" ||
251  particleName == "sigma+" ||
252  particleName == "sigma-" ||
253  particleName == "tau+" ||
254  particleName == "tau-" ||
255  particleName == "triton" ||
256  particleName == "xi_c+" ||
257  particleName == "xi-" ) {
258 
259  pmanager->AddProcess(hmsc, -1, 1, 1);
260  pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
261  }
262  }
263 
264  // Setup options
265  //
266  G4EmProcessOptions opt;
267  opt.SetVerbose(verbose);
268 
269  // muon scattering
270  opt.SetPolarAngleLimit(CLHEP::pi);
271 
272  // ApplyCuts
273  //
274  opt.SetApplyCuts(true);
275 }
tuple pp
Definition: createTree.py:15
int kp
susybsm::MuonSegmentCollection msc
Definition: classes.h:32
const Double_t pi

Member Data Documentation

G4int CMSEmStandardPhysicsLPM::verbose
private

Definition at line 18 of file CMSEmStandardPhysicsLPM.h.