18 #ifndef PND_FTFDIRECT_H 19 #define PND_FTFDIRECT_H 29 #include "G4String.hh" 32 class G4ExcitationHandler;
33 class G4PreCompoundModel;
34 class G4ParticleTable;
39 class G4VUserPhysicsList;
40 class G4DynamicParticle;
44 class G4ParticleDefinition;
46 class TVirtualMCStack;
47 class FairPrimaryGenerator;
56 PndFtfDirect(
const char *particle,
const char *material,
int targetA,
const char *generator,
double mom,
int seed = 0,
bool noelastic =
false);
64 virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen);
65 Bool_t ProcessEvent(FairPrimaryGenerator *primGen);
72 void parseConfigfile();
88 G4RunManager *fG4RunManager;
89 G4VUserPhysicsList *fG4VUserPhysicsList;
91 Test30Material *fmate;
93 G4ParticleTable *fpartTable;
95 CLHEP::RanluxEngine *fdefaultEngine;
118 G4Material *fmaterial;
123 CLHEP::Hep3Vector *faPosition;
125 CLHEP::Hep3Vector *faDirection;
126 G4double fnx, fny, fnz;
128 G4ExcitationHandler *ftheDeExcitation;
129 G4Evaporation *ftheEvaporation;
130 G4PreCompoundModel *fthePreCompound;
148 G4DynamicParticle *dParticle;
152 G4ParticleDefinition *part;
155 G4ParticleDefinition *electron;
156 G4ParticleDefinition *proton;
157 G4ParticleDefinition *neutron;
158 G4ParticleDefinition *pin;
159 G4ParticleDefinition *pip;
161 G4ParticleDefinition *deu;
162 G4ParticleDefinition *tri;
163 G4ParticleDefinition *he3;
164 G4ParticleDefinition *alp;
167 G4ParticleDefinition *anti_proton;
168 G4ParticleDefinition *anti_neutron;
169 G4ParticleDefinition *anti_deuteron;
170 G4ParticleDefinition *anti_triton;
171 G4ParticleDefinition *anti_He3;
172 G4ParticleDefinition *anti_alpha;
176 std::cout <<
"PndFtfDirect::fin -> " << fin << std::endl;
177 std::cout <<
"PndFtfDirect::fmate -> " << fmate << std::endl;
178 std::cout <<
"PndFtfDirect::fphys -> " << fphys << std::endl;
179 std::cout <<
"PndFtfDirect::fpartTable -> " << fpartTable << std::endl;
180 std::cout <<
"PndFtfDirect::fdefaultEngine -> " << fdefaultEngine << std::endl;
181 std::cout <<
"PndFtfDirect::fmaterial -> " << fmaterial << std::endl;
182 std::cout <<
"PndFtfDirect::faPosition -> " << faPosition << std::endl;
183 std::cout <<
"PndFtfDirect::faDirection -> " << faDirection << std::endl;
184 std::cout <<
"PndFtfDirect::ftheDeExcitation -> " << ftheDeExcitation << std::endl;
185 std::cout <<
"PndFtfDirect::ftheEvaporation -> " << ftheEvaporation << std::endl;
186 std::cout <<
"PndFtfDirect::fthePreCompound -> " << fthePreCompound << std::endl;
187 std::cout <<
"PndFtfDirect::dParticle -> " << dParticle << std::endl;
188 std::cout <<
"PndFtfDirect::proc -> " << proc << std::endl;
189 std::cout <<
"PndFtfDirect::step -> " << step << std::endl;
190 std::cout <<
"PndFtfDirect::gTrack -> " << gTrack << std::endl;
191 std::cout <<
"PndFtfDirect::part -> " << part << std::endl;
192 std::cout <<
"PndFtfDirect::electron -> " << electron << std::endl;
193 std::cout <<
"PndFtfDirect::proton -> " << proton << std::endl;
194 std::cout <<
"PndFtfDirect::neutron -> " << neutron << std::endl;
195 std::cout <<
"PndFtfDirect::pin -> " << pin << std::endl;
196 std::cout <<
"PndFtfDirect::pip -> " << pip << std::endl;
197 std::cout <<
"PndFtfDirect::deu -> " << deu << std::endl;
198 std::cout <<
"PndFtfDirect::tri -> " << tri << std::endl;
199 std::cout <<
"PndFtfDirect::he3 -> " << he3 << std::endl;
200 std::cout <<
"PndFtfDirect::alp -> " << alp << std::endl;
201 std::cout <<
"PndFtfDirect::anti_proton -> " << anti_proton << std::endl;
202 std::cout <<
"PndFtfDirect::anti_neutron -> " << anti_neutron << std::endl;
203 std::cout <<
"PndFtfDirect::anti_deuteron -> " << anti_deuteron << std::endl;
204 std::cout <<
"PndFtfDirect::anti_triton -> " << anti_triton << std::endl;
205 std::cout <<
"PndFtfDirect::anti_He3 -> " << anti_He3 << std::endl;
206 std::cout <<
"PndFtfDirect::anti_alpha -> " << anti_alpha << std::endl;
void SetNoElastic(bool n=true)