38 lines
833 B
C++
38 lines
833 B
C++
// Geant4 simulation for MuSR
|
|
// AUTHOR: Toni SHIROKA, Paul Scherrer Institut, PSI
|
|
// DATE : 2008-05
|
|
//
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#ifndef lem4ShieldSD_h
|
|
#define lem4ShieldSD_h 1
|
|
|
|
#include "G4VSensitiveDetector.hh"
|
|
#include "lem4ShieldHit.hh"
|
|
|
|
class G4Step;
|
|
class G4HCofThisEvent;
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
class lem4ShieldSD : public G4VSensitiveDetector
|
|
{
|
|
public:
|
|
lem4ShieldSD(G4String);
|
|
~lem4ShieldSD();
|
|
|
|
void Initialize(G4HCofThisEvent*);
|
|
G4bool ProcessHits(G4Step*, G4TouchableHistory*);
|
|
void EndOfEvent(G4HCofThisEvent*);
|
|
|
|
private:
|
|
lem4ShieldHitsCollection* shieldCollection;
|
|
|
|
};
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#endif
|
|
|