9#ifndef SCT_G4_SD_SCTSENSORSD_H
10#define SCT_G4_SD_SCTSENSORSD_H
13#include "G4VSensitiveDetector.hh"
17#include <gtest/gtest_prod.h>
22class G4TouchableHistory;
31 SctSensorSD(
const std::string& name,
const std::string& hitCollectionName);
37 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override;
40 void Initialize(G4HCofThisEvent*)
override final;
48 void indexMethod(
const G4TouchableHistory *myTouch,
double coord1z,
int &brlEcap,
int &layerDisk,
int &etaMod,
int &phiMod,
int &side);
AtlasHitsVector< SiHit > SiHitCollection
This class is attached to G4Event objects as UserInformation.
void indexMethod(const G4TouchableHistory *myTouch, double coord1z, int &brlEcap, int &layerDisk, int &etaMod, int &phiMod, int &side)
std::string m_HitCollName
FRIEND_TEST(SctSensorSDtest, AddHit)
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
FRIEND_TEST(SctSensorSDtest, ProcessHits)
void Initialize(G4HCofThisEvent *) override final
SctSensorSD(const std::string &name, const std::string &hitCollectionName)
FRIEND_TEST(SctSensorSDtest, indexMethod)
SiHitCollection * m_HitColl
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
AtlasG4EventUserInfo * m_g4UserEventInfo