Graduation-Project/include/GeneHe3detSD.hh

28 lines
550 B
C++
Raw Normal View History

2023-04-09 22:30:59 +08:00
#ifndef GeneHe3detSD_hh
#define GeneHe3detSD_hh 1
2023-02-13 14:50:36 +08:00
2023-04-09 22:30:59 +08:00
#include "G4VSensitiveDetector.hh"
2023-02-13 14:50:36 +08:00
#include "GeneHe3detHit.hh"
2023-05-08 11:10:33 +08:00
#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;
};
#endif