 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef PIXEL_G4_SD_PIXELSENSORGMXSD_H
10 #define PIXEL_G4_SD_PIXELSENSORGMXSD_H
13 #include "G4VSensitiveDetector.hh"
17 #include <gtest/gtest_prod.h>
21 class G4HCofThisEvent;
33 PixelSensorGmxSD(
const std::string&
name,
const std::string& hitCollectionName, GeoModelIO::ReadGeoModel * sqlreader=
nullptr);
36 virtual G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
39 virtual void Initialize(G4HCofThisEvent *)
override final;
54 #endif //PIXEL_G4_SD_PIXELSENSORGMXSD_H
FRIEND_TEST(PixelSensorGmxSDtest, ProcessHits)
PixelSensorGmxSD(const std::string &name, const std::string &hitCollectionName, GeoModelIO::ReadGeoModel *sqlreader=nullptr)
void Emplace(Args &&... args)
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
FRIEND_TEST(PixelSensorGmxSDtest, AddHit)
virtual void Initialize(G4HCofThisEvent *) override final
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
SiHitCollection * m_HitColl
std::string m_HitCollName
GeoModelIO::ReadGeoModel * m_sqlreader