EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairGeaneApplication.h>
Public Member Functions | |
FairGeaneApplication () | |
FairGeaneApplication (Bool_t Debug) | |
virtual | ~FairGeaneApplication () |
void | Field (const Double_t *x, Double_t *b) const |
FairField * | GetField () |
void | InitMC (const char *setup, const char *cuts) |
void | SetField (FairField *field) |
void | GeaneStepping () |
void | ConstructGeometry () |
void | InitGeometry () |
void | GeneratePrimaries () |
void | BeginEvent () |
void | BeginPrimary () |
void | PreTrack () |
void | PostTrack () |
void | FinishPrimary () |
void | FinishEvent () |
void | Stepping () |
void | StopRun () |
Static Public Member Functions | |
static FairGeaneApplication * | Instance () |
Private Member Functions | |
ClassDef(FairGeaneApplication, 1) private FairGeaneApplication & | operator= (const FairGeaneApplication &) |
Private Attributes | |
FairField * | fxField |
Int_t | fMcVersion |
Bool_t | fDebug |
TLorentzVector | fTrkPos |
The Main Application for GEANE
Definition at line 26 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 26 of file FairGeaneApplication.h
FairGeaneApplication::FairGeaneApplication | ( | ) |
default constructor
Definition at line 19 of file FairGeaneApplication.cxx.
View newest version in sPHENIX GitHub at line 19 of file FairGeaneApplication.cxx
FairGeaneApplication::FairGeaneApplication | ( | Bool_t | Debug | ) |
Special constructor, used for initializing G3 for Geane track propagation
Debug | true to print step info |
Definition at line 29 of file FairGeaneApplication.cxx.
View newest version in sPHENIX GitHub at line 29 of file FairGeaneApplication.cxx
|
virtual |
default destructor
Definition at line 40 of file FairGeaneApplication.cxx.
View newest version in sPHENIX GitHub at line 40 of file FairGeaneApplication.cxx
|
inline |
Definition at line 60 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 60 of file FairGeaneApplication.h
|
inline |
Definition at line 61 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 61 of file FairGeaneApplication.h
void FairGeaneApplication::ConstructGeometry | ( | ) |
Definition at line 49 of file FairGeaneApplication.cxx.
View newest version in sPHENIX GitHub at line 49 of file FairGeaneApplication.cxx
void FairGeaneApplication::Field | ( | const Double_t * | x, |
Double_t * | b | ||
) | const |
Calculate user field b at point x
|
inline |
Definition at line 65 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 65 of file FairGeaneApplication.h
|
inline |
Definition at line 64 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 64 of file FairGeaneApplication.h
void FairGeaneApplication::GeaneStepping | ( | ) |
Define action at each step, dispatch the action to the corresponding detectors
Definition at line 65 of file FairGeaneApplication.cxx.
View newest version in sPHENIX GitHub at line 65 of file FairGeaneApplication.cxx
References fDebug, fTrkPos, and printf().
|
inline |
Definition at line 59 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 59 of file FairGeaneApplication.h
|
inline |
Return Field used in simulation
Definition at line 41 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 41 of file FairGeaneApplication.h
References fxField.
|
inline |
pure virtual functions that hasve to be implimented
Definition at line 58 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 58 of file FairGeaneApplication.h
void FairGeaneApplication::InitMC | ( | const char * | setup, |
const char * | cuts | ||
) |
Initialize MC engine
Definition at line 54 of file FairGeaneApplication.cxx.
View newest version in sPHENIX GitHub at line 54 of file FairGeaneApplication.cxx
References fMcVersion, and fxField.
|
inlinestatic |
Singelton instance
Definition at line 88 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 88 of file FairGeaneApplication.h
|
private |
|
inline |
Definition at line 63 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 63 of file FairGeaneApplication.h
|
inline |
Definition at line 62 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 62 of file FairGeaneApplication.h
void FairGeaneApplication::SetField | ( | FairField * | field | ) |
Set the magnetic field for simulation or Geane
field,: | magnetic field |
Definition at line 80 of file FairGeaneApplication.cxx.
View newest version in sPHENIX GitHub at line 80 of file FairGeaneApplication.cxx
References fxField.
|
inline |
Definition at line 66 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 66 of file FairGeaneApplication.h
|
inline |
Definition at line 67 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 67 of file FairGeaneApplication.h
|
private |
Debug flag
Definition at line 77 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 77 of file FairGeaneApplication.h
Referenced by GeaneStepping().
|
private |
MC Engine 1= Geant3, 2 = Geant4
Definition at line 75 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 75 of file FairGeaneApplication.h
Referenced by InitMC().
|
private |
Definition at line 78 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 78 of file FairGeaneApplication.h
Referenced by GeaneStepping().
|
private |
Magnetic Field Pointer
Definition at line 73 of file FairGeaneApplication.h.
View newest version in sPHENIX GitHub at line 73 of file FairGeaneApplication.h
Referenced by GetField(), InitMC(), and SetField().