Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
+13
-11
@@ -30,9 +30,9 @@
|
||||
#ifndef EXGFLASHSENSITIVEDETECTOR_H
|
||||
#define EXGFLASHSENSITIVEDETECTOR_H
|
||||
|
||||
#include "ExGflashHit.hh"
|
||||
#include "G4VSensitiveDetector.hh"
|
||||
#include "G4VGFlashSensitiveDetector.hh"
|
||||
#include "ExGflashHit.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class G4GFlashSpot;
|
||||
@@ -42,18 +42,20 @@ class G4Step;
|
||||
class G4HCofThisEvent;
|
||||
class G4TouchableHistory;
|
||||
|
||||
class ExGflashSensitiveDetector: public G4VSensitiveDetector,
|
||||
public G4VGFlashSensitiveDetector {
|
||||
public:
|
||||
class ExGflashSensitiveDetector
|
||||
: public G4VSensitiveDetector
|
||||
, public G4VGFlashSensitiveDetector
|
||||
{
|
||||
public:
|
||||
ExGflashSensitiveDetector(G4String, ExGflashDetectorConstruction* det);
|
||||
~ExGflashSensitiveDetector();
|
||||
|
||||
virtual void Initialize(G4HCofThisEvent*);
|
||||
virtual G4bool ProcessHits(G4Step*,G4TouchableHistory*);
|
||||
virtual G4bool ProcessHits(G4GFlashSpot*aSpot,G4TouchableHistory*);
|
||||
virtual void EndOfEvent(G4HCofThisEvent*);
|
||||
~ExGflashSensitiveDetector() override;
|
||||
|
||||
private:
|
||||
void Initialize(G4HCofThisEvent*) override;
|
||||
G4bool ProcessHits(G4Step*, G4TouchableHistory*) override;
|
||||
G4bool ProcessHits(G4GFlashSpot* aSpot, G4TouchableHistory*) override;
|
||||
void EndOfEvent(G4HCofThisEvent*) override;
|
||||
|
||||
private:
|
||||
ExGflashHitsCollection* fCaloHitsCollection;
|
||||
// ExGflashDetectorConstruction* fDetector;
|
||||
G4int fHCID;
|
||||
|
||||
Reference in New Issue
Block a user