|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef SCT_G4_SD_SCTSENSORSD_H
10 #define SCT_G4_SD_SCTSENSORSD_H
13 #include "G4VSensitiveDetector.hh"
18 #include <gtest/gtest_prod.h>
22 class G4TouchableHistory;
32 SctSensorSD(
const std::string&
name,
const std::string& hitCollectionName);
38 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override;
41 void Initialize(G4HCofThisEvent*)
override final;
49 void indexMethod(
const G4TouchableHistory *myTouch,
double coord1z,
int &brlEcap,
int &layerDisk,
int &
etaMod,
int &phiMod,
int &
side);
55 #endif //SCT_G4_SD_SCTSENSORSD_H
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
SctSensorSD(const std::string &name, const std::string &hitCollectionName)
SG::WriteHandle< SiHitCollection > m_HitColl
FRIEND_TEST(SctSensorSDtest, ProcessHits)
FRIEND_TEST(SctSensorSDtest, indexMethod)
Handle class for recording to StoreGate.
FRIEND_TEST(SctSensorSDtest, Initialize)
void Initialize(G4HCofThisEvent *) override final
void indexMethod(const G4TouchableHistory *myTouch, double coord1z, int &brlEcap, int &layerDisk, int &etaMod, int &phiMod, int &side)
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
FRIEND_TEST(SctSensorSDtest, AddHit)