30 #ifndef PND_FTFDIRECT_H 31 #define PND_FTFDIRECT_H 41 #include "G4String.hh" 44 class G4ExcitationHandler;
45 class G4PreCompoundModel;
46 class G4ParticleTable;
51 class G4VUserPhysicsList;
52 class G4DynamicParticle;
56 class G4ParticleDefinition;
58 class TVirtualMCStack;
59 class FairPrimaryGenerator;
68 PndFtfDirect(
const char *particle,
const char *material,
int targetA,
const char *generator,
double mom,
int seed = 0,
bool noelastic =
false);
69 PndFtfDirect(
const char *particle,
const char *material,
int targetA,
const char *generator,
double mom,
bool noelastic =
false);
77 virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen);
78 Bool_t ProcessEvent(FairPrimaryGenerator *primGen);
85 void parseConfigfile();
101 G4RunManager *fG4RunManager;
102 G4VUserPhysicsList *fG4VUserPhysicsList;
104 Test30Material *fmate;
105 Test30Physics *fphys;
106 G4ParticleTable *fpartTable;
108 CLHEP::RanluxEngine *fdefaultEngine;
131 G4Material *fmaterial;
136 CLHEP::Hep3Vector *faPosition;
138 CLHEP::Hep3Vector *faDirection;
139 G4double fnx, fny, fnz;
141 G4ExcitationHandler *ftheDeExcitation;
142 G4Evaporation *ftheEvaporation;
143 G4PreCompoundModel *fthePreCompound;
161 G4DynamicParticle *dParticle;
165 G4ParticleDefinition *part;
168 G4ParticleDefinition *electron;
169 G4ParticleDefinition *proton;
170 G4ParticleDefinition *neutron;
171 G4ParticleDefinition *pin;
172 G4ParticleDefinition *pip;
174 G4ParticleDefinition *deu;
175 G4ParticleDefinition *tri;
176 G4ParticleDefinition *he3;
177 G4ParticleDefinition *alp;
180 G4ParticleDefinition *anti_proton;
181 G4ParticleDefinition *anti_neutron;
182 G4ParticleDefinition *anti_deuteron;
183 G4ParticleDefinition *anti_triton;
184 G4ParticleDefinition *anti_He3;
185 G4ParticleDefinition *anti_alpha;
189 std::cout <<
"PndFtfDirect::fin -> " << fin << std::endl;
190 std::cout <<
"PndFtfDirect::fmate -> " << fmate << std::endl;
191 std::cout <<
"PndFtfDirect::fphys -> " << fphys << std::endl;
192 std::cout <<
"PndFtfDirect::fpartTable -> " << fpartTable << std::endl;
193 std::cout <<
"PndFtfDirect::fdefaultEngine -> " << fdefaultEngine << std::endl;
194 std::cout <<
"PndFtfDirect::fmaterial -> " << fmaterial << std::endl;
195 std::cout <<
"PndFtfDirect::faPosition -> " << faPosition << std::endl;
196 std::cout <<
"PndFtfDirect::faDirection -> " << faDirection << std::endl;
197 std::cout <<
"PndFtfDirect::ftheDeExcitation -> " << ftheDeExcitation << std::endl;
198 std::cout <<
"PndFtfDirect::ftheEvaporation -> " << ftheEvaporation << std::endl;
199 std::cout <<
"PndFtfDirect::fthePreCompound -> " << fthePreCompound << std::endl;
200 std::cout <<
"PndFtfDirect::dParticle -> " << dParticle << std::endl;
201 std::cout <<
"PndFtfDirect::proc -> " << proc << std::endl;
202 std::cout <<
"PndFtfDirect::step -> " << step << std::endl;
203 std::cout <<
"PndFtfDirect::gTrack -> " << gTrack << std::endl;
204 std::cout <<
"PndFtfDirect::part -> " << part << std::endl;
205 std::cout <<
"PndFtfDirect::electron -> " << electron << std::endl;
206 std::cout <<
"PndFtfDirect::proton -> " << proton << std::endl;
207 std::cout <<
"PndFtfDirect::neutron -> " << neutron << std::endl;
208 std::cout <<
"PndFtfDirect::pin -> " << pin << std::endl;
209 std::cout <<
"PndFtfDirect::pip -> " << pip << std::endl;
210 std::cout <<
"PndFtfDirect::deu -> " << deu << std::endl;
211 std::cout <<
"PndFtfDirect::tri -> " << tri << std::endl;
212 std::cout <<
"PndFtfDirect::he3 -> " << he3 << std::endl;
213 std::cout <<
"PndFtfDirect::alp -> " << alp << std::endl;
214 std::cout <<
"PndFtfDirect::anti_proton -> " << anti_proton << std::endl;
215 std::cout <<
"PndFtfDirect::anti_neutron -> " << anti_neutron << std::endl;
216 std::cout <<
"PndFtfDirect::anti_deuteron -> " << anti_deuteron << std::endl;
217 std::cout <<
"PndFtfDirect::anti_triton -> " << anti_triton << std::endl;
218 std::cout <<
"PndFtfDirect::anti_He3 -> " << anti_He3 << std::endl;
219 std::cout <<
"PndFtfDirect::anti_alpha -> " << anti_alpha << std::endl;
void SetNoElastic(bool n=true)