Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
@@ -30,9 +30,10 @@
#ifndef EXGFLASH2SENSITIVEDETECTOR_H
#define EXGFLASH2SENSITIVEDETECTOR_H
#include "G4VSensitiveDetector.hh"
#include "G4VGFlashSensitiveDetector.hh"
#include "ExGflashHitsCollection.hh"
#include "G4VGFlashSensitiveDetector.hh"
#include "G4VSensitiveDetector.hh"
#include "globals.hh"
class G4GFlashSpot;
@@ -42,21 +43,21 @@ class G4Step;
class G4HCofThisEvent;
class G4TouchableHistory;
class ExGflash2SensitiveDetector: public G4VSensitiveDetector,
public G4VGFlashSensitiveDetector {
public:
ExGflash2SensitiveDetector(G4String, ExGflash2DetectorConstruction* det);
~ExGflash2SensitiveDetector();
virtual void Initialize(G4HCofThisEvent*);
virtual G4bool ProcessHits(G4Step*,G4TouchableHistory*);
virtual G4bool ProcessHits(G4GFlashSpot*aSpot,G4TouchableHistory*);
virtual void EndOfEvent(G4HCofThisEvent*);
class ExGflash2SensitiveDetector : public G4VSensitiveDetector, public G4VGFlashSensitiveDetector
{
public:
ExGflash2SensitiveDetector(G4String, ExGflash2DetectorConstruction* det);
~ExGflash2SensitiveDetector() override;
private:
ExGflashHitsCollection* fCaloHitsCollection;
ExGflash2DetectorConstruction* fDetector;
G4int fHCID;
void Initialize(G4HCofThisEvent*) override;
G4bool ProcessHits(G4Step*, G4TouchableHistory*) override;
G4bool ProcessHits(G4GFlashSpot* aSpot, G4TouchableHistory*) override;
void EndOfEvent(G4HCofThisEvent*) override;
private:
ExGflashHitsCollection* fCaloHitsCollection;
ExGflash2DetectorConstruction* fDetector;
G4int fHCID{-1};
};
#endif