ATLAS Offline Software
Loading...
Searching...
No Matches
HGTDSensorSD.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6// HGTDSensorSD.h, (c) ATLAS Detector software
8
9#ifndef HGTD_G4_SD_HGTDSENSORSD_H
10#define HGTD_G4_SD_HGTDSENSORSD_H
11
12// Base class
13#include "G4VSensitiveDetector.hh"
14
15// use of the hits
17
18//new LAr stuff
21
22// Geant4 headers
23#include "G4ThreeVector.hh"
24
25// G4 needed classes
26class G4Step;
27class G4HCofThisEvent;
28
29class HGTDSensorSD : public G4VSensitiveDetector
30{
31
32public:
33
34 // Constructor
35 HGTDSensorSD(const std::string& name, const std::string& hitCollectionName);
36
37 // Destructor
38 virtual ~HGTDSensorSD() {}
39
40 // Process the hits from G4
41 G4bool ProcessHits(G4Step*, G4TouchableHistory*) override final;
42
43 // Initialize from G4
44 void Initialize(G4HCofThisEvent *) override final;
45
46private:
47
49
50};
51
52#endif // HGTD_G4_SD_HGTDSENSORSD_H
Handle class for recording to StoreGate.
SG::WriteHandle< SiHitCollection > m_HitColl
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
virtual ~HGTDSensorSD()
HGTDSensorSD(const std::string &name, const std::string &hitCollectionName)
void Initialize(G4HCofThisEvent *) override final