14#include "G4VSensitiveDetector.hh"
22#include <gtest/gtest_prod.h>
30 BCMSensorSD(
const std::string& name,
const std::string& hitCollectionName);
33 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
36 void Initialize(G4HCofThisEvent *)
override final;
AtlasHitsVector< SiHit > SiHitCollection
This class is attached to G4Event objects as UserInformation.
AtlasG4EventUserInfo * m_g4UserEventInfo
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
FRIEND_TEST(BCMSensorSDtest, AddHit)
std::string m_HitCollName
Name of the hit collection.
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
SiHitCollection * m_HitColl
Pointer to the hit collection.
BCMSensorSD(const std::string &name, const std::string &hitCollectionName)
FRIEND_TEST(BCMSensorSDtest, ProcessHits)
void Initialize(G4HCofThisEvent *) override final