 |
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"
17 #include <gtest/gtest_prod.h>
21 class G4TouchableHistory;
30 SctSensorSD(
const std::string&
name,
const std::string& hitCollectionName);
36 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override;
39 void Initialize(G4HCofThisEvent*)
override final;
47 void indexMethod(
const G4TouchableHistory *myTouch,
double coord1z,
int &brlEcap,
int &layerDisk,
int &
etaMod,
int &phiMod,
int &
side);
54 #endif //SCT_G4_SD_SCTSENSORSD_H
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
SiHitCollection * m_HitColl
SctSensorSD(const std::string &name, const std::string &hitCollectionName)
FRIEND_TEST(SctSensorSDtest, ProcessHits)
FRIEND_TEST(SctSensorSDtest, indexMethod)
std::string m_HitCollName
void Emplace(Args &&... args)
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)