EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairGenerator.h>
Public Member Functions | |
FairGenerator () | |
FairGenerator (const char *name, const char *title="FAIR Generator") | |
virtual | ~FairGenerator () |
virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen)=0 |
virtual Bool_t | Init () |
ClassDef (FairGenerator, 1) | |
Private Member Functions | |
FairGenerator (const FairGenerator &G) | |
FairGenerator & | operator= (const FairGenerator &) |
Definition at line 26 of file FairGenerator.h.
View newest version in sPHENIX GitHub at line 26 of file FairGenerator.h
FairGenerator::FairGenerator | ( | ) |
Default constructor.
Definition at line 10 of file FairGenerator.cxx.
View newest version in sPHENIX GitHub at line 10 of file FairGenerator.cxx
FairGenerator::FairGenerator | ( | const char * | name, |
const char * | title = "FAIR Generator" |
||
) |
Constructor with name and title
Definition at line 17 of file FairGenerator.cxx.
View newest version in sPHENIX GitHub at line 17 of file FairGenerator.cxx
|
virtual |
Destructor.
Definition at line 24 of file FairGenerator.cxx.
View newest version in sPHENIX GitHub at line 24 of file FairGenerator.cxx
|
private |
FairGenerator::ClassDef | ( | FairGenerator | , |
1 | |||
) |
|
inlinevirtual |
Initialize the generator if needed
Definition at line 54 of file FairGenerator.h.
View newest version in sPHENIX GitHub at line 54 of file FairGenerator.h
Referenced by FairPrimaryGenerator::Init().
|
inlineprivate |
Definition at line 60 of file FairGenerator.h.
View newest version in sPHENIX GitHub at line 60 of file FairGenerator.h
|
pure virtual |
Abstract method ReadEvent must be implemented by any derived class. It has to handle the generation of input tracks (reading from input file) and the handing of the tracks to the FairPrimaryGenerator. I t is called from FairMCApplication.
pStack | The stack |
Implemented in EicEventGenerator, EicBoxGenerator, and EicAsciiBoxGenerator.
Referenced by FairPrimaryGenerator::GenerateEvent().