Public Member Functions | List of all members
genf::GeaneMCApplication Class Reference

#include <GeaneMCApplication.h>

Inheritance diagram for genf::GeaneMCApplication:

Public Member Functions

 GeaneMCApplication ()
 
virtual ~GeaneMCApplication ()
 
void InitMC ()
 
virtual void Field (const Double_t *x, Double_t *b) const
 
virtual void ConstructGeometry ()
 
virtual void FinishEvent ()
 
virtual void FinishPrimary ()
 
virtual void FinishRun ()
 
virtual void GeneratePrimaries ()
 
virtual void InitGeometry ()
 
virtual void PostTrack ()
 
virtual void PreTrack ()
 
virtual void BeginEvent ()
 
virtual void BeginPrimary ()
 
virtual void Stepping ()
 

Detailed Description

Definition at line 9 of file GeaneMCApplication.h.

Constructor & Destructor Documentation

genf::GeaneMCApplication::GeaneMCApplication ( )

Definition at line 9 of file GeaneMCApplication.cxx.

10 {
11 }
virtual genf::GeaneMCApplication::~GeaneMCApplication ( )
inlinevirtual

Definition at line 14 of file GeaneMCApplication.h.

14 {;}

Member Function Documentation

virtual void genf::GeaneMCApplication::BeginEvent ( )
inlinevirtual

Definition at line 30 of file GeaneMCApplication.h.

30 {;}
virtual void genf::GeaneMCApplication::BeginPrimary ( )
inlinevirtual

Definition at line 31 of file GeaneMCApplication.h.

31 {;}
void genf::GeaneMCApplication::ConstructGeometry ( )
virtual

Definition at line 13 of file GeaneMCApplication.cxx.

13  {
14  gGeoManager->CloseGeometry();
15  gMC->SetRootGeometry();
16 }
void genf::GeaneMCApplication::Field ( const Double_t *  x,
Double_t *  b 
) const
virtual

Construct user geometry

Definition at line 23 of file GeaneMCApplication.cxx.

24 {
25  //assert(field!=NULL);
26  TVector3 pos(x[0],x[1],x[2]);
27  // TVector3 B = FieldManager::getInstance()->getField()->get(pos);
28  TVector3 B = GFFieldManager::getFieldVal(pos);
29  // std::cout << "GeaneMCApplication::Field()" << std::endl;
30  //B.Print();
31  b[0]=B.X();
32  b[1]=B.Y();
33  b[2]=B.Z();
34 }
static TVector3 getFieldVal(const TVector3 &x)
static bool * b
Definition: config.cpp:1043
list x
Definition: train.py:276
virtual void genf::GeaneMCApplication::FinishEvent ( )
inlinevirtual

Definition at line 23 of file GeaneMCApplication.h.

23 {;}
virtual void genf::GeaneMCApplication::FinishPrimary ( )
inlinevirtual

Definition at line 24 of file GeaneMCApplication.h.

24 {;}
virtual void genf::GeaneMCApplication::FinishRun ( )
inlinevirtual

Definition at line 25 of file GeaneMCApplication.h.

25 {;}
virtual void genf::GeaneMCApplication::GeneratePrimaries ( )
inlinevirtual

Definition at line 26 of file GeaneMCApplication.h.

26 {;}
virtual void genf::GeaneMCApplication::InitGeometry ( )
inlinevirtual

Definition at line 27 of file GeaneMCApplication.h.

27 {;}
void genf::GeaneMCApplication::InitMC ( )

Definition at line 18 of file GeaneMCApplication.cxx.

18  {
19  gMC->Init();
20  gMC->BuildPhysics();
21 }
virtual void genf::GeaneMCApplication::PostTrack ( )
inlinevirtual

Definition at line 28 of file GeaneMCApplication.h.

28 {;}
virtual void genf::GeaneMCApplication::PreTrack ( )
inlinevirtual

Definition at line 29 of file GeaneMCApplication.h.

29 {;}
virtual void genf::GeaneMCApplication::Stepping ( )
inlinevirtual

Definition at line 32 of file GeaneMCApplication.h.

32 {;}

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