#include <PndPythia6Direct.h>
Definition at line 16 of file PndPythia6Direct.h.
PndPythia6Direct::PndPythia6Direct |
( |
| ) |
|
PndPythia6Direct::~PndPythia6Direct |
( |
| ) |
|
|
virtual |
TPythia6* PndPythia6Direct::GetTPythia6 |
( |
| ) |
|
|
inline |
Bool_t PndPythia6Direct::Init |
( |
| ) |
|
|
virtual |
void PndPythia6Direct::Print |
( |
| ) |
|
Bool_t PndPythia6Direct::ReadEvent |
( |
FairPrimaryGenerator * |
primGen | ) |
|
public method ReadEvent
Definition at line 58 of file PndPythia6Direct.cxx.
References fParticle, fParticleList, fPythia, fStoreTree, fT, fVerbose, fX, fY, fZ, i, printf(), and status.
61 if(
fVerbose>0) std::cout<<
"PndPythia6Direct::ReadEvent() No. "<<evtn<<std::endl;
63 if(
fVerbose>2) std::cout<<
"PndPythia6Direct::ReadEvent() Generation done."<<std::endl;
70 if(
fVerbose>0) std::cout<<
"PndPythia6Direct::ReadEvent() We have "<<npart<<
" tracks."<<std::endl;
71 for(
int i=0;
i<npart; ++
i)
73 if(
fVerbose>4) std::cout<<
"PndPythia6Direct::ReadEvent() particle No. "<<
i<<std::endl;
75 if(
fVerbose>4) std::cout<<
"PndPythia6Direct::ReadEvent() particle pointer "<<
fParticle<<std::endl;
85 std::cout<<
"PndPythia6Direct::ReadEvent() Particle:"
94 <<
" Time()*1000="<<
fParticle->GetTime()*1000
116 if(
fVerbose>0&&(evtn<10||(evtn%100)==0))
printf(
"- I -: new particle %d at: %f, %f, %f (%f)-> %f %f %f (%f) ID %d ##Daughters %d %d Mother %d\n",
117 i,fX, fY, fZ, fT,Px, Py, Pz, fE, Id, nFD, nLD, nMO);
120 dotracking = (status==1);
121 primGen->AddTrack(Id, Px, Py, Pz, fX, fY, fZ, nMO,dotracking,fE,fT);
123 primGen->AddTrack(Id, Px, Py, Pz, fX, fY, fZ,-1,
true,fE,fT);
printf("RealTime=%f seconds, CpuTime=%f seconds\n", rtime, ctime)
FairPrimaryGenerator * primGen
TClonesArray * fParticleList
void PndPythia6Direct::SetMom |
( |
Double_t |
mom | ) |
|
|
inline |
void PndPythia6Direct::SetPandaDefaults |
( |
| ) |
|
void PndPythia6Direct::SetStoreTree |
( |
Bool_t |
store = true | ) |
|
|
inline |
void PndPythia6Direct::SetVerbose |
( |
int |
v = 1 | ) |
|
|
inline |
TMCParticle* PndPythia6Direct::fParticle |
|
private |
TClonesArray* PndPythia6Direct::fParticleList |
|
private |
TPythia6* PndPythia6Direct::fPythia |
|
private |
bool PndPythia6Direct::fStoreTree |
|
protected |
int PndPythia6Direct::fVerbose |
|
protected |
The documentation for this class was generated from the following files: