ATLAS Offline Software
AFP_TDSensitiveDetectorTool.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_TDSensitiveDetectorTool_h
6 #define AFP_G4_SD_AFP_TDSensitiveDetectorTool_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_TDSensitiveDetectorTool(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_TDSensitiveDetectorTool_h
AFP_TDSensitiveDetectorTool::~AFP_TDSensitiveDetectorTool
~AFP_TDSensitiveDetectorTool()
Definition: AFP_TDSensitiveDetectorTool.h:23
AFP_TDSensitiveDetectorTool::Gather
StatusCode Gather() override final
End of an athena event.
Definition: AFP_TDSensitiveDetectorTool.cxx:43
AFP_TDSensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: AFP_TDSensitiveDetectorTool.cxx:66
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition: SensitiveDetectorBase.h:42
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
AFP_TDSensitiveDetectorTool::AFP_TDSensitiveDetectorTool
AFP_TDSensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AFP_TDSensitiveDetectorTool.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AFP_TDSensitiveDetectorTool
Definition: AFP_TDSensitiveDetectorTool.h:17
test_pyathena.parent
parent
Definition: test_pyathena.py:15
AFP_TDSensitiveDetectorTool::SetupEvent
StatusCode SetupEvent() override final
Beginning of an athena event.
Definition: AFP_TDSensitiveDetectorTool.cxx:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SensitiveDetectorBase.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78