10#ifndef PIXEL_G4_SD_PIXELSENSORSD_H
11#define PIXEL_G4_SD_PIXELSENSORSD_H
14#include "G4VSensitiveDetector.hh"
18#include <gtest/gtest_prod.h>
33 PixelSensorSD(
const std::string& name,
const std::string& hitCollectionName);
36 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
39 void Initialize(G4HCofThisEvent *)
override final;
AtlasHitsVector< SiHit > SiHitCollection
This class is attached to G4Event objects as UserInformation.
void Initialize(G4HCofThisEvent *) override final
FRIEND_TEST(PixelSensorSDtest, ProcessHits)
PixelSensorSD(const std::string &name, const std::string &hitCollectionName)
FRIEND_TEST(PixelSensorSDtest, AddHit)
AtlasG4EventUserInfo * m_g4UserEventInfo
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
SiHitCollection * m_HitColl
std::string m_HitCollName