FairRoot/PandaRoot
|
#include <PndFtfDirect.h>
Public Member Functions | |
PndFtfDirect () | |
PndFtfDirect (const char *configfile) | |
PndFtfDirect (const PndFtfDirect &) | |
PndFtfDirect (const char *particle, const char *material, int targetA, const char *generator, double mom, int seed=0, bool noelastic=false) | |
virtual | ~PndFtfDirect () |
virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
Bool_t | ProcessEvent (FairPrimaryGenerator *primGen) |
void | SetVerbose (int v=1) |
void | SetNoElastic (bool n=true) |
void | LoadG4 () |
Private Member Functions | |
void | InitZero () |
void | parseConfigfile () |
void | Setup () |
void | TestPointers () |
ClassDef (PndFtfDirect, 1) | |
Private Attributes | |
bool | fDoSetup |
float | fMom |
float | fMode |
double | fSeed |
double | fRsigma |
float | fThtMin |
G4RunManager * | fG4RunManager |
G4VUserPhysicsList * | fG4VUserPhysicsList |
std::ifstream * | fin |
Test30Material * | fmate |
Test30Physics * | fphys |
G4ParticleTable * | fpartTable |
CLHEP::RanluxEngine * | fdefaultEngine |
G4int | fverbose |
G4bool | fsaverand |
G4bool | fNoElastics |
G4String | fnamePart |
G4bool | fionParticle |
G4double | fPlab |
G4double | fenergy |
G4double | fsigmae |
G4int | fionZ |
G4int | fionA |
G4int | ftargetA |
G4String | fnameMat |
G4bool | fShen |
G4String | fnameGen |
G4int | fnevt |
G4int | fmodu |
G4double | ftheStep |
G4Material * | fmaterial |
G4bool | fxsbgg |
CLHEP::Hep3Vector * | faPosition |
G4double | faTime |
CLHEP::Hep3Vector * | faDirection |
G4double | fnx |
G4double | fny |
G4double | fnz |
G4ExcitationHandler * | ftheDeExcitation |
G4Evaporation * | ftheEvaporation |
G4PreCompoundModel * | fthePreCompound |
G4double | fsigTot |
G4double | fsigEl |
G4double | fsigIn |
int | fnpart |
Int_t | factiveCnt |
G4DynamicParticle * | dParticle |
G4VProcess * | proc |
G4Step * | step |
G4Track * | gTrack |
G4ParticleDefinition * | part |
G4ParticleDefinition * | electron |
G4ParticleDefinition * | proton |
G4ParticleDefinition * | neutron |
G4ParticleDefinition * | pin |
G4ParticleDefinition * | pip |
G4ParticleDefinition * | deu |
G4ParticleDefinition * | tri |
G4ParticleDefinition * | he3 |
G4ParticleDefinition * | alp |
G4ParticleDefinition * | anti_proton |
G4ParticleDefinition * | anti_neutron |
G4ParticleDefinition * | anti_deuteron |
G4ParticleDefinition * | anti_triton |
G4ParticleDefinition * | anti_He3 |
G4ParticleDefinition * | anti_alpha |
Definition at line 59 of file PndFtfDirect.h.
PndFtfDirect::PndFtfDirect | ( | ) |
Default constructor (should not be used)
Definition at line 136 of file PndFtfDirect.cxx.
PndFtfDirect::PndFtfDirect | ( | const char * | configfile | ) |
Standard constructor
Mom | in GeV/C |
Mode | = 0. - No elastic scattering, only inelastic |
Mode | = 1. - Elastic and inelastic interactions (default) |
Definition at line 252 of file PndFtfDirect.cxx.
References exit(), faDirection, faPosition, fdefaultEngine, fin, InitZero(), and parseConfigfile().
PndFtfDirect::PndFtfDirect | ( | const PndFtfDirect & | other | ) |
Definition at line 192 of file PndFtfDirect.cxx.
References InitZero().
PndFtfDirect::PndFtfDirect | ( | const char * | particle, |
const char * | material, | ||
int | targetA, | ||
const char * | generator, | ||
double | mom, | ||
int | seed = 0 , |
||
bool | noelastic = false |
||
) |
Definition at line 341 of file PndFtfDirect.cxx.
References faDirection, faPosition, fdefaultEngine, fionParticle, fnameGen, fnameMat, fnamePart, fNoElastics, fPlab, ftargetA, InitZero(), mom, and particle.
|
virtual |
Destructor
Definition at line 462 of file PndFtfDirect.cxx.
References dParticle, faDirection, faPosition, fG4RunManager, fG4VUserPhysicsList, fin, fmate, fpartTable, and fphys.
|
private |
|
private |
Definition at line 494 of file PndFtfDirect.cxx.
References factiveCnt, faDirection, faPosition, faTime, fenergy, fionA, fionParticle, fionZ, fmaterial, fmodu, fnameGen, fnameMat, fnamePart, fnevt, fnpart, fnx, fny, fnz, fPlab, fsaverand, fShen, fsigEl, fsigIn, fsigmae, fsigTot, ftargetA, ftheStep, fverbose, fxsbgg, and LoadG4().
Referenced by PndFtfDirect().
void PndFtfDirect::LoadG4 | ( | ) |
Definition at line 483 of file PndFtfDirect.cxx.
References fG4RunManager.
Referenced by InitZero().
|
private |
Definition at line 1113 of file PndFtfDirect.cxx.
References c, faDirection, faPosition, faTime, fdefaultEngine, fin, fionA, fionParticle, fionZ, fmodu, fnameGen, fnameMat, fnamePart, fnevt, fNoElastics, fnx, fny, fnz, fPlab, fsaverand, fShen, fsigmae, ftargetA, ftheDeExcitation, ftheEvaporation, fthePreCompound, ftheStep, fverbose, fxsbgg, and mm.
Referenced by PndFtfDirect().
Bool_t PndFtfDirect::ProcessEvent | ( | FairPrimaryGenerator * | primGen | ) |
Definition at line 909 of file PndFtfDirect.cxx.
References cnt, de, dParticle, electron, factiveCnt, fdefaultEngine, fenergy, fionA, fionParticle, fnevt, fNoElastics, fnpart, fphys, fPlab, fsaverand, fsigmae, fverbose, gTrack, i, mom, n, part, pi, printf(), proc, pz, sqrt(), step, and theta.
Referenced by ReadEvent().
|
virtual |
Generate one event using DPM
primGen | pointer to the FairPrimaryGenerator |
Definition at line 895 of file PndFtfDirect.cxx.
References fverbose, ProcessEvent(), and Setup().
|
inline |
|
private |
Definition at line 550 of file PndFtfDirect.cxx.
References alp, anti_alpha, anti_deuteron, anti_He3, anti_neutron, anti_proton, anti_triton, cm, cuts, deu, dParticle, electron, exit(), faDirection, faPosition, faTime, fDoSetup, fenergy, fionA, fionParticle, fionZ, fmate, fmaterial, fnameGen, fnameMat, fnamePart, fpartTable, fphys, fPlab, fShen, fsigEl, fsigIn, fsigmae, fsigTot, ftargetA, ftheDeExcitation, ftheEvaporation, fthePreCompound, ftheStep, fverbose, fxsbgg, gTrack, he3, mm, neutron, part, phi0, pin, pip, pkt, proc, proton, rot, safety, sqrt(), step, timer, tri, and Z.
Referenced by ReadEvent().
|
inline |
Definition at line 84 of file PndFtfDirect.h.
|
inlineprivate |
Definition at line 194 of file PndFtfDirect.h.
References alp, anti_alpha, anti_deuteron, anti_He3, anti_neutron, anti_proton, anti_triton, deu, dParticle, electron, faDirection, faPosition, fdefaultEngine, fin, fmate, fmaterial, fpartTable, fphys, ftheDeExcitation, ftheEvaporation, fthePreCompound, gTrack, he3, neutron, part, pin, pip, proc, proton, step, and tri.
|
private |
Definition at line 184 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 192 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 189 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 191 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 188 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 187 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 190 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 181 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 167 of file PndFtfDirect.h.
Referenced by ProcessEvent(), Setup(), TestPointers(), and ~PndFtfDirect().
|
private |
Definition at line 175 of file PndFtfDirect.h.
Referenced by ProcessEvent(), Setup(), and TestPointers().
|
private |
Definition at line 159 of file PndFtfDirect.h.
Referenced by InitZero(), and ProcessEvent().
|
private |
Definition at line 143 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), PndFtfDirect(), Setup(), TestPointers(), and ~PndFtfDirect().
|
private |
Definition at line 141 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), PndFtfDirect(), Setup(), TestPointers(), and ~PndFtfDirect().
|
private |
Definition at line 142 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), and Setup().
|
private |
Definition at line 113 of file PndFtfDirect.h.
Referenced by parseConfigfile(), PndFtfDirect(), ProcessEvent(), and TestPointers().
|
private |
Definition at line 92 of file PndFtfDirect.h.
Referenced by Setup().
|
private |
Definition at line 122 of file PndFtfDirect.h.
Referenced by InitZero(), ProcessEvent(), and Setup().
|
private |
Definition at line 106 of file PndFtfDirect.h.
Referenced by LoadG4(), and ~PndFtfDirect().
|
private |
Definition at line 107 of file PndFtfDirect.h.
Referenced by ~PndFtfDirect().
|
private |
Definition at line 108 of file PndFtfDirect.h.
Referenced by parseConfigfile(), PndFtfDirect(), TestPointers(), and ~PndFtfDirect().
|
private |
Definition at line 125 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), ProcessEvent(), and Setup().
|
private |
Definition at line 120 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), PndFtfDirect(), ProcessEvent(), and Setup().
|
private |
Definition at line 125 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), and Setup().
|
private |
Definition at line 109 of file PndFtfDirect.h.
Referenced by Setup(), TestPointers(), and ~PndFtfDirect().
|
private |
Definition at line 136 of file PndFtfDirect.h.
Referenced by InitZero(), Setup(), and TestPointers().
|
private |
0. - No elastic scattering, only inelastic
Definition at line 101 of file PndFtfDirect.h.
|
private |
Definition at line 133 of file PndFtfDirect.h.
Referenced by InitZero(), and parseConfigfile().
|
private |
P_lab(GeV/c)
Definition at line 96 of file PndFtfDirect.h.
|
private |
Definition at line 130 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), PndFtfDirect(), and Setup().
|
private |
Definition at line 127 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), PndFtfDirect(), and Setup().
|
private |
Definition at line 119 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), PndFtfDirect(), and Setup().
|
private |
Definition at line 132 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), and ProcessEvent().
|
private |
Definition at line 117 of file PndFtfDirect.h.
Referenced by parseConfigfile(), PndFtfDirect(), ProcessEvent(), and SetNoElastic().
|
private |
Definition at line 155 of file PndFtfDirect.h.
Referenced by InitZero(), and ProcessEvent().
|
private |
Definition at line 144 of file PndFtfDirect.h.
Referenced by InitZero(), and parseConfigfile().
|
private |
Definition at line 144 of file PndFtfDirect.h.
Referenced by InitZero(), and parseConfigfile().
|
private |
Definition at line 144 of file PndFtfDirect.h.
Referenced by InitZero(), and parseConfigfile().
|
private |
Definition at line 111 of file PndFtfDirect.h.
Referenced by Setup(), TestPointers(), and ~PndFtfDirect().
|
private |
Definition at line 110 of file PndFtfDirect.h.
Referenced by ProcessEvent(), Setup(), TestPointers(), and ~PndFtfDirect().
|
private |
Definition at line 121 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), PndFtfDirect(), ProcessEvent(), and Setup().
|
private |
Definition at line 103 of file PndFtfDirect.h.
|
private |
Definition at line 116 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), and ProcessEvent().
|
private |
Definition at line 102 of file PndFtfDirect.h.
|
private |
Definition at line 129 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), and Setup().
|
private |
Definition at line 152 of file PndFtfDirect.h.
Referenced by InitZero(), and Setup().
|
private |
Definition at line 153 of file PndFtfDirect.h.
Referenced by InitZero(), and Setup().
|
private |
Definition at line 123 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), ProcessEvent(), and Setup().
|
private |
Definition at line 151 of file PndFtfDirect.h.
Referenced by InitZero(), and Setup().
|
private |
Definition at line 126 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), PndFtfDirect(), and Setup().
|
private |
Definition at line 147 of file PndFtfDirect.h.
Referenced by parseConfigfile(), Setup(), and TestPointers().
|
private |
Definition at line 148 of file PndFtfDirect.h.
Referenced by parseConfigfile(), Setup(), and TestPointers().
|
private |
Definition at line 149 of file PndFtfDirect.h.
Referenced by parseConfigfile(), Setup(), and TestPointers().
|
private |
Definition at line 135 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), and Setup().
|
private |
Definition at line 104 of file PndFtfDirect.h.
|
private |
Definition at line 115 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), ProcessEvent(), ReadEvent(), Setup(), and SetVerbose().
|
private |
Definition at line 138 of file PndFtfDirect.h.
Referenced by InitZero(), parseConfigfile(), and Setup().
|
private |
Definition at line 170 of file PndFtfDirect.h.
Referenced by ProcessEvent(), Setup(), and TestPointers().
|
private |
Definition at line 183 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 177 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 171 of file PndFtfDirect.h.
Referenced by ProcessEvent(), Setup(), and TestPointers().
|
private |
Definition at line 178 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 179 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 168 of file PndFtfDirect.h.
Referenced by ProcessEvent(), Setup(), and TestPointers().
|
private |
Definition at line 176 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().
|
private |
Definition at line 169 of file PndFtfDirect.h.
Referenced by ProcessEvent(), Setup(), and TestPointers().
|
private |
Definition at line 182 of file PndFtfDirect.h.
Referenced by Setup(), and TestPointers().