ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_SiDSensitiveDetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AFP_G4_SD_AFP_SiDSensitiveDetectorTool_h
6#define AFP_G4_SD_AFP_SiDSensitiveDetectorTool_h
7
8// Base class header
10
11// STL headers
12#include <string>
13
14class G4VSensitiveDetector;
15
17{
18public:
19 // Constructor
20 AFP_SiDSensitiveDetectorTool(const std::string& type, const std::string& name, const IInterface* parent);
21
22 // Destructor
25 StatusCode SetupEvent(HitCollectionMap&) override final;
27 StatusCode Gather(HitCollectionMap&) override final;
28
29protected:
30 // Make me an SD!
31 G4VSensitiveDetector* makeSD() const override final;
32};
33
34#endif //AFP_G4_SD_AFP_SiDSensitiveDetectorTool_h
G4VSensitiveDetector * makeSD() const override final
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
AFP_SiDSensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Small wrapper around hit collection map to facilitate accessing the hit collection.
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.