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 70 of file CMSEmStandardPhysicsLPM.cc.

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

Definition at line 75 of file CMSEmStandardPhysicsLPM.cc.

75 {}

Member Function Documentation

void CMSEmStandardPhysicsLPM::ConstructParticle ( )
virtual

Definition at line 77 of file CMSEmStandardPhysicsLPM.cc.

References Gamma.

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

Definition at line 123 of file CMSEmStandardPhysicsLPM.cc.

References conv, mod(), AnalysisDataFormats_SUSYBSMObjects::msc, and pi.

124 {
125  // Add standard EM Processes
126 
127  theParticleIterator->reset();
128  while( (*theParticleIterator)() ){
129  G4ParticleDefinition* particle = theParticleIterator->value();
130  G4ProcessManager* pmanager = particle->GetProcessManager();
131  G4String particleName = particle->GetParticleName();
132  if(verbose > 1)
133  G4cout << "### " << GetPhysicsName() << " instantiates for "
134  << particleName << " at " << particle << G4endl;
135 
136  if (particleName == "gamma") {
137 
138  pmanager->AddDiscreteProcess(new G4PhotoElectricEffect);
139  pmanager->AddDiscreteProcess(new G4ComptonScattering);
140  G4GammaConversion* conv = new G4GammaConversion();
141  G4PairProductionRelModel* mod = new G4PairProductionRelModel();
142  mod->SetLowEnergyLimit(80*GeV);
143  conv->AddEmModel(0, mod);
144  pmanager->AddDiscreteProcess(conv);
145 
146  } else if (particleName == "e-") {
147 
148  G4eIonisation* eioni = new G4eIonisation();
149  eioni->SetStepFunction(0.8, 1.0*mm);
150  G4eMultipleScattering* msc = new G4eMultipleScattering;
151  msc->SetStepLimitType(fMinimal);
152  msc->AddEmModel(0,new G4UrbanMscModel93());
153 
154  G4eBremsstrahlung* ebrem = new G4eBremsstrahlung();
155 
156  pmanager->AddProcess(msc, -1, 1, 1);
157  pmanager->AddProcess(eioni, -1, 2, 2);
158  pmanager->AddProcess(ebrem, -1,-3, 3);
159 
160  } else if (particleName == "e+") {
161 
162  G4eIonisation* eioni = new G4eIonisation();
163  eioni->SetStepFunction(0.8, 1.0*mm);
164  G4eMultipleScattering* msc = new G4eMultipleScattering;
165  msc->SetStepLimitType(fMinimal);
166  msc->AddEmModel(0,new G4UrbanMscModel93());
167 
168  G4eBremsstrahlung* ebrem = new G4eBremsstrahlung();
169 
170  pmanager->AddProcess(msc, -1, 1, 1);
171  pmanager->AddProcess(eioni, -1, 2, 2);
172  pmanager->AddProcess(ebrem, -1,-3, 3);
173  pmanager->AddProcess(new G4eplusAnnihilation, 0,-1, 4);
174 
175  } else if (particleName == "mu+" ||
176  particleName == "mu-" ) {
177 
178  G4MuMultipleScattering* mumsc = new G4MuMultipleScattering();
179  mumsc->AddEmModel(0, new G4WentzelVIModel());
180  pmanager->AddProcess(mumsc, -1, 1, 1);
181  pmanager->AddProcess(new G4MuIonisation, -1, 2, 2);
182  pmanager->AddProcess(new G4MuBremsstrahlung, -1,-3, 3);
183  pmanager->AddProcess(new G4MuPairProduction, -1,-4, 4);
184  pmanager->AddProcess(new G4CoulombScattering, -1,-4, 5);
185 
186  } else if (particleName == "alpha" ||
187  particleName == "He3" ||
188  particleName == "GenericIon") {
189 
190  pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
191  pmanager->AddProcess(new G4ionIonisation, -1, 2, 2);
192 
193  } else if (particleName == "pi+" ||
194  particleName == "kaon+" ||
195  particleName == "kaon-" ||
196  particleName == "proton" ||
197  particleName == "pi-" ) {
198 
199  pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
200  pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
201  pmanager->AddProcess(new G4hBremsstrahlung(), -1,-3, 3);
202  pmanager->AddProcess(new G4hPairProduction(), -1,-4, 4);
203 
204  } else if (particleName == "B+" ||
205  particleName == "B-" ||
206  particleName == "D+" ||
207  particleName == "D-" ||
208  particleName == "Ds+" ||
209  particleName == "Ds-" ||
210  particleName == "anti_lambda_c+" ||
211  particleName == "anti_omega-" ||
212  particleName == "anti_proton" ||
213  particleName == "anti_sigma_c+" ||
214  particleName == "anti_sigma_c++" ||
215  particleName == "anti_sigma+" ||
216  particleName == "anti_sigma-" ||
217  particleName == "anti_xi_c+" ||
218  particleName == "anti_xi-" ||
219  particleName == "deuteron" ||
220  particleName == "lambda_c+" ||
221  particleName == "omega-" ||
222  particleName == "sigma_c+" ||
223  particleName == "sigma_c++" ||
224  particleName == "sigma+" ||
225  particleName == "sigma-" ||
226  particleName == "tau+" ||
227  particleName == "tau-" ||
228  particleName == "triton" ||
229  particleName == "xi_c+" ||
230  particleName == "xi-" ) {
231 
232  pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
233  pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
234  }
235  }
236 
237  // Setup options
238  //
239  G4EmProcessOptions opt;
240  opt.SetVerbose(verbose);
241 
242  // muon scattering
243  opt.SetPolarAngleLimit(CLHEP::pi);
244 
245  // ApplyCuts
246  //
247  opt.SetApplyCuts(true);
248 
249  // Physics tables
250  //
251  opt.SetMinEnergy(100.*eV);
252  opt.SetMaxEnergy(10.*TeV);
253  opt.SetDEDXBinning(77);
254  opt.SetLambdaBinning(77);
255 
256 }
static HepMC::IO_HEPEVT conv
susybsm::MuonSegmentCollection msc
Definition: classes.h:32
const Double_t pi
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4

Member Data Documentation

G4int CMSEmStandardPhysicsLPM::verbose
private

Definition at line 18 of file CMSEmStandardPhysicsLPM.h.