|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef AFP_G4_SD_AFP_SensitiveDetector_h
6 #define AFP_G4_SD_AFP_SensitiveDetector_h
9 #include "G4VSensitiveDetector.hh"
15 #include <gtest/gtest_prod.h>
21 class G4TouchableHistory;
34 AFP_SensitiveDetector(
const std::string&
name,
const std::string& TDhitCollectionName,
const std::string& SIDhitCollectionName);
42 void Initialize(G4HCofThisEvent *)
override final;
43 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
75 #endif //AFP_G4_SD_AFP_SensitiveDetector_h
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
int m_nNOfTDSimHits[4][32]
FRIEND_TEST(AFP_SensitiveDetectortest, ProcessHits2)
FRIEND_TEST(AFP_SensitiveDetectortest, Initialize)
SG::WriteHandle< AFP_TDSimHitCollection > m_pTDSimHitCollection
AFP_SensitiveDetector(const std::string &name, const std::string &TDhitCollectionName, const std::string &SIDhitCollectionName)
Handle class for recording to StoreGate.
static constexpr int TDMaxCnt
FRIEND_TEST(AFP_SensitiveDetectortest, StartOfAthenaEvent)
SG::WriteHandle< AFP_SIDSimHitCollection > m_pSIDSimHitCollection
void Initialize(G4HCofThisEvent *) override final
float m_lower_edge[4][10]
static constexpr int SiDMaxCnt
float m_death_edge[4][10]
void StartOfAthenaEvent()
int m_nNumberOfSIDSimHits
FRIEND_TEST(AFP_SensitiveDetectortest, EndOfAthenaEvent)
static constexpr double TDMaxQEff
Templated method to stuff a single hit into the sensitive detector class.
FRIEND_TEST(AFP_SensitiveDetectortest, ProcessHits1)