 |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #ifndef PIXEL_G4_SD_PIXELSENSORSD_H
11 #define PIXEL_G4_SD_PIXELSENSORSD_H
14 #include "G4VSensitiveDetector.hh"
18 #include <gtest/gtest_prod.h>
22 class G4HCofThisEvent;
35 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
38 void Initialize(G4HCofThisEvent *)
override final;
51 #endif //PIXEL_G4_SD_PIXELSENSORSD_H
FRIEND_TEST(PixelSensorSDtest, ProcessHits)
FRIEND_TEST(PixelSensorSDtest, AddHit)
PixelSensorSD(const std::string &name, const std::string &hitCollectionName)
void Initialize(G4HCofThisEvent *) override final
std::string m_HitCollName
SiHitCollection * m_HitColl
void Emplace(Args &&... args)
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final