10#ifndef BLM_G4_SD_BLMSENSORSD_H
11#define BLM_G4_SD_BLMSENSORSD_H
14#include "G4VSensitiveDetector.hh"
18#include <gtest/gtest_prod.h>
30 BLMSensorSD(
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.
SiHitCollection * m_HitColl
std::string m_HitCollName
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
BLMSensorSD(const std::string &name, const std::string &hitCollectionName)
void Initialize(G4HCofThisEvent *) override final
AtlasG4EventUserInfo * m_g4UserEventInfo
FRIEND_TEST(BLMSensorSDtest, AddHit)
FRIEND_TEST(BLMSensorSDtest, ProcessHits)
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final