5#ifndef ALFA_G4_SD_ALFA_SensitiveDetector_h
6#define ALFA_G4_SD_ALFA_SensitiveDetector_h
9#include "G4VSensitiveDetector.hh"
15#include <gtest/gtest_prod.h>
21class G4TouchableHistory;
34 ALFA_SensitiveDetector(
const std::string& name,
const std::string& hitCollectionName,
const std::string& ODhitCollectionName);
39 void Initialize(G4HCofThisEvent *)
override final;
42 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
Handle class for recording to StoreGate.
FRIEND_TEST(ALFA_SensitiveDetectortest, ProcessHits3)
SG::WriteHandle< ALFA_ODHitCollection > m_ODHitCollection
FRIEND_TEST(ALFA_SensitiveDetectortest, StartOfAthenaEvent)
void Initialize(G4HCofThisEvent *) override final
FRIEND_TEST(ALFA_SensitiveDetectortest, ProcessHits2)
void StartOfAthenaEvent()
FRIEND_TEST(ALFA_SensitiveDetectortest, ProcessHits1)
int m_hitID
Templated method to stuff a single hit into the sensitive detector class.
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
FRIEND_TEST(ALFA_SensitiveDetectortest, Initialize)
FRIEND_TEST(ALFA_SensitiveDetectortest, EndOfAthenaEvent)
ALFA_SensitiveDetector(const std::string &name, const std::string &hitCollectionName, const std::string &ODhitCollectionName)
~ALFA_SensitiveDetector()
SG::WriteHandle< ALFA_HitCollection > m_HitCollection