2023-02-13 14:50:36 +08:00
|
|
|
#ifndef GeneHe3detSD_HH
|
|
|
|
#define GeneHe3detSD_HH 1
|
|
|
|
|
|
|
|
#include "GeneHe3detHit.hh"
|
2023-04-09 22:12:47 +08:00
|
|
|
#include <G4VSensitiveDetector.hh>
|
|
|
|
#include <globals.hh>
|
2023-02-13 14:50:36 +08:00
|
|
|
|
|
|
|
class G4Step;
|
|
|
|
class G4HCofThisEvent;
|
|
|
|
|
|
|
|
class GeneHe3detSD : public G4VSensitiveDetector {
|
|
|
|
public:
|
|
|
|
GeneHe3detSD(G4String);
|
|
|
|
~GeneHe3detSD();
|
|
|
|
|
|
|
|
void Initialize(G4HCofThisEvent*);
|
|
|
|
G4bool ProcessHits(G4Step*, G4TouchableHistory*);
|
|
|
|
void EndOfEvent(G4HCofThisEvent*);
|
|
|
|
void clear();
|
|
|
|
void DrawAll();
|
|
|
|
void PrintAll();
|
|
|
|
|
|
|
|
private:
|
|
|
|
GeneHe3detHitsCollection* scintillatorCollection;
|
|
|
|
G4int HitID;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|