#ifndef TG3Application_h
#define TG3Application_h
#include <TVirtualMCApplication.h>
#include <TVirtualMCStack.h>
class TG3Application : public TVirtualMCApplication
{
public:
TG3Application(const char *name, const char *title);
TG3Application();
virtual ~TG3Application();
static TG3Application* Instance();
void InitMC(const char *setup);
void RunMC(Int_t nofEvents);
void FinishRun();
virtual void ConstructGeometry();
virtual void InitGeometry();
virtual void GeneratePrimaries();
virtual void BeginEvent();
virtual void BeginPrimary();
virtual void PreTrack();
virtual void Stepping();
virtual void PostTrack();
virtual void FinishPrimary();
virtual void FinishEvent();
virtual Double_t TrackingRmax() const;
virtual Double_t TrackingZmax() const;
virtual void Field(const Double_t* x, Double_t* b) const;
private:
void ConstructMaterials();
void ConstructVolumes();
TVirtualMCStack* fStack;
ClassDef(TG3Application,1)
};
inline TG3Application* TG3Application::Instance()
{ return (TG3Application*)(TVirtualMCApplication::Instance()); }
#endif //TG3Application_h
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.