|
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"
18 #include <gtest/gtest_prod.h>
22 class G4HCofThisEvent;
35 PixelSensorGmxSD(
const std::string&
name,
const std::string& hitCollectionName, GeoModelIO::ReadGeoModel * sqlreader=
nullptr);
41 virtual G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
44 virtual void Initialize(G4HCofThisEvent *)
override final;
58 #endif //PIXEL_G4_SD_PIXELSENSORGMXSD_H
FRIEND_TEST(PixelSensorGmxSDtest, ProcessHits)
virtual ~PixelSensorGmxSD()
PixelSensorGmxSD(const std::string &name, const std::string &hitCollectionName, GeoModelIO::ReadGeoModel *sqlreader=nullptr)
Handle class for recording to StoreGate.
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
FRIEND_TEST(PixelSensorGmxSDtest, Initialize)
SG::WriteHandle< SiHitCollection > m_HitColl
GeoModelIO::ReadGeoModel * m_sqlreader