|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRACKWRITEFASTSIM_TRACKFASTSIMSD_H
6 #define TRACKWRITEFASTSIM_TRACKFASTSIMSD_H
9 #include "G4VSensitiveDetector.hh"
20 class G4TouchableHistory;
26 TrackFastSimSD(
const std::string&
name,
const std::string& outputCollectionName,
const int SD_type=0);
30 void Initialize(G4HCofThisEvent *)
override final;
32 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
33 void WriteTrack(
const G4Track*,
const bool,
const bool);
47 #endif // TRACKWRITEFASTSIM_TRACKFASTSIMSD_H
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
TrackFastSimSD(const std::string &name, const std::string &outputCollectionName, const int SD_type=0)
Handle class for recording to StoreGate.
SG::WriteHandle< TrackRecordCollection > m_trackRecordCollection
void Initialize(G4HCofThisEvent *) override final
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
void WriteTrack(const G4Track *, const bool, const bool)