5#ifndef AFP_G4_SD_AFP_SiDSensitiveDetector_h
6#define AFP_G4_SD_AFP_SiDSensitiveDetector_h
9#include "G4VSensitiveDetector.hh"
13#include <gtest/gtest_prod.h>
20class G4TouchableHistory;
35 void Initialize(G4HCofThisEvent *)
override final;
36 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
44 m_HitColl->Emplace(std::forward<Args>(args)...);
~AFP_SiDSensitiveDetector()
AFP_SIDSimHitCollectionBuilder * getHitCollection() const
float m_lower_edge[4][10]
AFP_SiDSensitiveDetector(const std::string &name, const std::string &hitCollectionName)
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
FRIEND_TEST(AFP_SiDSensitiveDetectortest, ProcessHits)
FRIEND_TEST(AFP_SiDSensitiveDetectortest, AddHit)
AFP_SIDSimHitCollectionBuilder * m_HitColl
std::string m_hitCollectionName
float m_death_edge[4][10]
void Initialize(G4HCofThisEvent *) override final