ATLAS Offline Software
AFP_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 AFP_G4_SD_AFP_SensitiveDetectorTool_h
6 #define AFP_G4_SD_AFP_SensitiveDetectorTool_h
7 
8 // Base class header
10 
11 // STL headers
12 #include <string>
13 
14 class G4VSensitiveDetector;
15 
17 {
18 public:
19  // Constructor
20  AFP_SensitiveDetectorTool(const std::string& type, const std::string& name, const IInterface* parent);
21 
22  // Destructor
25  StatusCode SetupEvent() override final; //FIXME would be good to be able to avoid this.
27  StatusCode Gather() override final; //FIXME would be good to be able to avoid this.
28 
29 protected:
30  // Make me an SD!
31  G4VSensitiveDetector* makeSD() const override final;
32 };
33 
34 #endif //AFP_G4_SD_AFP_SensitiveDetectorTool_h
AFP_SensitiveDetectorTool::Gather
StatusCode Gather() override final
End of an athena event.
Definition: AFP_SensitiveDetectorTool.cxx:44
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition: SensitiveDetectorBase.h:42
AFP_SensitiveDetectorTool::SetupEvent
StatusCode SetupEvent() override final
Beginning of an athena event.
Definition: AFP_SensitiveDetectorTool.cxx:21
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
AFP_SensitiveDetectorTool
Definition: AFP_SensitiveDetectorTool.h:17
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SensitiveDetectorBase.h
AFP_SensitiveDetectorTool::~AFP_SensitiveDetectorTool
~AFP_SensitiveDetectorTool()
Definition: AFP_SensitiveDetectorTool.h:23
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AFP_SensitiveDetectorTool::AFP_SensitiveDetectorTool
AFP_SensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AFP_SensitiveDetectorTool.cxx:14
AFP_SensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: AFP_SensitiveDetectorTool.cxx:67