changed to handle Tracking class

parent 6053caa1
...@@ -33,11 +33,16 @@ ...@@ -33,11 +33,16 @@
#include "G4VUserActionInitialization.hh" #include "G4VUserActionInitialization.hh"
/// Action initialization class. /// Action initialization class.
class B1DetectorConstruction;
class B1ActionInitialization : public G4VUserActionInitialization class B1ActionInitialization : public G4VUserActionInitialization
{ {
private:
B1DetectorConstruction* fDetectorConstruction;
public: public:
B1ActionInitialization(); B1ActionInitialization(B1DetectorConstruction *Detector);
virtual ~B1ActionInitialization(); virtual ~B1ActionInitialization();
virtual void BuildForMaster() const; virtual void BuildForMaster() const;
...@@ -47,5 +52,3 @@ class B1ActionInitialization : public G4VUserActionInitialization ...@@ -47,5 +52,3 @@ class B1ActionInitialization : public G4VUserActionInitialization
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment