LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
GeaneMCApplication.h
Go to the documentation of this file.
1 
2 #ifndef GEANE_MC_APPLICATION_H
3 #define GEANE_MC_APPLICATION_H
4 
5 #include "TVirtualMCApplication.h"
6 #include "TVirtualMC.h"
7 #include "TGeoManager.h"
8 #include<iostream>
9 
10 //#include "AbsBField.h"
11 
12 namespace genf {
13 
14 class GeaneMCApplication : public TVirtualMCApplication
15 {
16 
17  public:
19  virtual ~GeaneMCApplication(){;}
20  void InitMC();
24  virtual void Field(const Double_t* x, Double_t* b) const;
25 
26  //Geant action methods need to be overridden
27  virtual void ConstructGeometry();
28  virtual void FinishEvent(){;}
29  virtual void FinishPrimary(){;}
30  virtual void FinishRun(){;}
31  virtual void GeneratePrimaries(){;}
32  virtual void InitGeometry(){;}
33  virtual void PostTrack(){;}
34  virtual void PreTrack(){;}
35  virtual void BeginEvent(){;}
36  virtual void BeginPrimary(){;}
37  virtual void Stepping(){;}
38  //private:
39  //public:
40  //ClassDef(GeaneMCApplication,1)
41 };
42 
43 }
44 
45 #endif
Float_t x
Definition: compare.C:6
virtual void GeneratePrimaries()
Generic Interface to magnetic fields in GENFIT.
virtual void Field(const Double_t *x, Double_t *b) const