This commit is contained in:
47
geant4/LEMuSR/include/lem4SteppingAction.hh
Normal file
47
geant4/LEMuSR/include/lem4SteppingAction.hh
Normal file
@ -0,0 +1,47 @@
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef lem4SteppingAction_h
|
||||
#define lem4SteppingAction_h 1
|
||||
|
||||
#include "G4UserSteppingAction.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "globals.hh"
|
||||
#include <fstream>
|
||||
|
||||
class G4Timer;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class lem4SteppingAction : public G4UserSteppingAction
|
||||
{
|
||||
public:
|
||||
|
||||
static lem4SteppingAction* GetInstance();
|
||||
lem4SteppingAction();
|
||||
~lem4SteppingAction();
|
||||
|
||||
void UserSteppingAction(const G4Step *theStep);
|
||||
void DoAtTheBeginningOfEvent();
|
||||
void SetLogicalVolumeAsSpecialSaveVolume(G4String logicName, G4int volumeID);
|
||||
|
||||
private:
|
||||
G4Timer* timer;
|
||||
static lem4SteppingAction* pointer;
|
||||
// G4int oldEventID;
|
||||
G4ProcessManager* muPlusProcessManager;
|
||||
G4bool multipleToCoulombScatteringIsPossible;
|
||||
G4bool coulombScatteringIsActive;
|
||||
size_t multipleScatteringIndex;
|
||||
size_t coulombScatteringIndex;
|
||||
G4bool muAlreadyWasInTargetInThisEvent;
|
||||
G4bool radioactiveElectronAlreadySavedInThisEvent;
|
||||
G4bool boolIsAnySpecialSaveVolumeDefined;
|
||||
std::map<G4String,G4int> saveVolumeMapping;
|
||||
G4String lastActualVolume;
|
||||
// G4int debugOldEventID;
|
||||
// G4int nrOfSteps;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user