5#ifndef AFP_G4_SD_AFP_SensitiveDetector_h
6#define AFP_G4_SD_AFP_SensitiveDetector_h
9#include "G4VSensitiveDetector.hh"
15#include <gtest/gtest_prod.h>
21class G4TouchableHistory;
34 AFP_SensitiveDetector(
const std::string& name,
const std::string& TDhitCollectionName,
const std::string& SIDhitCollectionName);
42 void Initialize(G4HCofThisEvent *)
override final;
43 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
Handle class for recording to StoreGate.
SG::WriteHandle< AFP_TDSimHitCollection > m_pTDSimHitCollection
FRIEND_TEST(AFP_SensitiveDetectortest, StartOfAthenaEvent)
AFP_SensitiveDetector(const std::string &name, const std::string &TDhitCollectionName, const std::string &SIDhitCollectionName)
FRIEND_TEST(AFP_SensitiveDetectortest, EndOfAthenaEvent)
SG::WriteHandle< AFP_SIDSimHitCollection > m_pSIDSimHitCollection
FRIEND_TEST(AFP_SensitiveDetectortest, Initialize)
static constexpr int TDMaxCnt
FRIEND_TEST(AFP_SensitiveDetectortest, ProcessHits2)
static constexpr double TDMaxQEff
Templated method to stuff a single hit into the sensitive detector class.
void StartOfAthenaEvent()
void Initialize(G4HCofThisEvent *) override final
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
int m_nNumberOfSIDSimHits
FRIEND_TEST(AFP_SensitiveDetectortest, ProcessHits1)
static constexpr int SiDMaxCnt
float m_death_edge[4][10]
float m_lower_edge[4][10]
int m_nNOfTDSimHits[4][32]