EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairGeaneApplication Class Reference

#include <EicRoot/blob/master/base/FairGeaneApplication.h>

+ Inheritance diagram for FairGeaneApplication:
+ Collaboration diagram for FairGeaneApplication:

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 FairGeaneApplicationInstance ()
 

Private Member Functions

ClassDef(FairGeaneApplication,
1) private
FairGeaneApplication
operator= (const FairGeaneApplication &)
 

Private Attributes

FairField * fxField
 
Int_t fMcVersion
 
Bool_t fDebug
 
TLorentzVector fTrkPos
 

Detailed Description

The Main Application for GEANE

Author
M. Al-Turany
Version
0.1
Since
10.11.10

Definition at line 26 of file FairGeaneApplication.h.

View newest version in sPHENIX GitHub at line 26 of file FairGeaneApplication.h

Constructor & Destructor Documentation

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

Parameters
Debugtrue 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

FairGeaneApplication::~FairGeaneApplication ( )
virtual

default destructor

Definition at line 40 of file FairGeaneApplication.cxx.

View newest version in sPHENIX GitHub at line 40 of file FairGeaneApplication.cxx

Member Function Documentation

void FairGeaneApplication::BeginEvent ( )
inline

Definition at line 60 of file FairGeaneApplication.h.

View newest version in sPHENIX GitHub at line 60 of file FairGeaneApplication.h

void FairGeaneApplication::BeginPrimary ( )
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

void FairGeaneApplication::FinishEvent ( )
inline

Definition at line 65 of file FairGeaneApplication.h.

View newest version in sPHENIX GitHub at line 65 of file FairGeaneApplication.h

void FairGeaneApplication::FinishPrimary ( )
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().

+ Here is the call graph for this function:

void FairGeaneApplication::GeneratePrimaries ( )
inline

Definition at line 59 of file FairGeaneApplication.h.

View newest version in sPHENIX GitHub at line 59 of file FairGeaneApplication.h

FairField* FairGeaneApplication::GetField ( )
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.

void FairGeaneApplication::InitGeometry ( )
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.

FairGeaneApplication * FairGeaneApplication::Instance ( )
inlinestatic

Singelton instance

Definition at line 88 of file FairGeaneApplication.h.

View newest version in sPHENIX GitHub at line 88 of file FairGeaneApplication.h

ClassDef (FairGeaneApplication,1) private FairGeaneApplication& FairGeaneApplication::operator= ( const FairGeaneApplication )
private
void FairGeaneApplication::PostTrack ( )
inline

Definition at line 63 of file FairGeaneApplication.h.

View newest version in sPHENIX GitHub at line 63 of file FairGeaneApplication.h

void FairGeaneApplication::PreTrack ( )
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

Parameters
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.

void FairGeaneApplication::Stepping ( )
inline

Definition at line 66 of file FairGeaneApplication.h.

View newest version in sPHENIX GitHub at line 66 of file FairGeaneApplication.h

void FairGeaneApplication::StopRun ( )
inline

Definition at line 67 of file FairGeaneApplication.h.

View newest version in sPHENIX GitHub at line 67 of file FairGeaneApplication.h

Member Data Documentation

Bool_t FairGeaneApplication::fDebug
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().

Int_t FairGeaneApplication::fMcVersion
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().

TLorentzVector FairGeaneApplication::fTrkPos
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().

FairField* FairGeaneApplication::fxField
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().


The documentation for this class was generated from the following files: