This is the first version of the muSR simulation code (musrSim) based on the merged codes of Kamil Sedlak and Toni Shiroka. It should be a running version of the simulation code, however it has not been very well tested, therefore it will probably need some further development.
39 lines
956 B
C++
39 lines
956 B
C++
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#ifndef musrScintSD_h
|
|
#define musrScintSD_h 1
|
|
|
|
#include "G4VSensitiveDetector.hh"
|
|
#include "musrScintHit.hh"
|
|
#include "musrRootOutput.hh"
|
|
|
|
class G4Step;
|
|
class G4HCofThisEvent;
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
class musrScintSD : public G4VSensitiveDetector
|
|
{
|
|
public:
|
|
musrScintSD(G4String);
|
|
~musrScintSD();
|
|
|
|
void Initialize(G4HCofThisEvent*);
|
|
G4bool ProcessHits(G4Step*, G4TouchableHistory*);
|
|
void EndOfEvent(G4HCofThisEvent*);
|
|
|
|
private:
|
|
musrScintHitsCollection* scintCollection;
|
|
G4bool myStoreOnlyEventsWithHits;
|
|
G4int myStoreOnlyEventsWithHitInDetID;
|
|
G4double mySignalSeparationTime;
|
|
G4bool myStoreOnlyTheFirstTimeHit;
|
|
G4bool boolIsVvvInfoRequested;
|
|
|
|
};
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#endif
|
|
|