60 lines
2.1 KiB
C++
60 lines
2.1 KiB
C++
//§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§//*
|
|
// LOW ENERGY MUON SPIN RELAXATION, ROTATION, RADIATION Geant4 SIMULATION
|
|
// ID : LEMuSRSteppingAction.hh , v 1.0
|
|
// AUTHOR: Taofiq PARAISO
|
|
// DATE : 2004-07-07 11:15
|
|
//
|
|
//§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§//
|
|
//
|
|
// & &&&&&&&&&& &&&&&&& &&&&&&&&
|
|
// & & && && & &&
|
|
// & & & & & & &&
|
|
// & &&&&&&& & & &&&&&& &&&&&&&&
|
|
// & & & && & & &&
|
|
// & & && & & && && & &
|
|
// &&&&&&&&&& &&&&&&&&&& & &&&&& && &&&&&&& & &&
|
|
// &
|
|
// &
|
|
// &
|
|
// &
|
|
// STEPPING ACTION.HH
|
|
//§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§//
|
|
|
|
|
|
|
|
|
|
#ifndef LEMuSRSteppingAction_h
|
|
#define LEMuSRSteppingAction_h 1
|
|
|
|
#include "G4UserSteppingAction.hh"
|
|
#include "globals.hh"
|
|
#include <fstream.h>
|
|
#include "LEMuSRVisManager.hh"
|
|
#include "LEMuSRDetectorConstruction.hh"
|
|
|
|
|
|
class LEMuSRSteppingAction : public G4UserSteppingAction
|
|
{
|
|
public:
|
|
|
|
static LEMuSRSteppingAction* GetInstance();
|
|
|
|
LEMuSRSteppingAction() ;
|
|
~LEMuSRSteppingAction() ;
|
|
|
|
|
|
void UserSteppingAction(const G4Step *theStep);
|
|
void FieldInfo(const G4Step *theStep);
|
|
void ParticleInfo(const G4Step *theStep);
|
|
void LoopKiller(const G4Step *theStep);
|
|
|
|
private:
|
|
|
|
static LEMuSRSteppingAction* pointer;
|
|
G4int loop;
|
|
|
|
|
|
};
|
|
|
|
#endif
|