ATLAS Offline Software
Loading...
Searching...
No Matches
ALFA_SensitiveDetectorTool.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 ALFA_G4_SD_ALFA_SensitiveDetectorTool_h
6#define ALFA_G4_SD_ALFA_SensitiveDetectorTool_h
7
8// Base class header
10
11// STL headers
12#include <string>
13
14class G4VSensitiveDetector;
15
17
18public:
19 // Constructor
20 ALFA_SensitiveDetectorTool(const std::string& type, const std::string& name, const IInterface* parent);
21 // Destructor
24 StatusCode SetupEvent() override final; //FIXME would be good to be able to avoid this.
26 StatusCode Gather() override final; //FIXME would be good to be able to avoid this.
28 // Make me an SD!
29 G4VSensitiveDetector* makeSD() const override final;
30};
31
32#endif //ALFA_G4_SD_ALFA_SensitiveDetectorTool_h
#define protected
ALFA_SensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode SetupEvent() override final
Beginning of an athena event.
G4VSensitiveDetector * makeSD() const override final
StatusCode Gather() override final
End of an athena event.
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.