ATLAS Offline Software
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 
14 class G4VSensitiveDetector;
15 
17 
18 public:
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.
27 protected:
28  // Make me an SD!
29  G4VSensitiveDetector* makeSD() const override final;
30 };
31 
32 #endif //ALFA_G4_SD_ALFA_SensitiveDetectorTool_h
ALFA_SensitiveDetectorTool::SetupEvent
StatusCode SetupEvent() override final
Beginning of an athena event.
Definition: ALFA_SensitiveDetectorTool.cxx:27
ALFA_SensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: ALFA_SensitiveDetectorTool.cxx:73
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
ALFA_SensitiveDetectorTool::~ALFA_SensitiveDetectorTool
~ALFA_SensitiveDetectorTool()
Definition: ALFA_SensitiveDetectorTool.h:22
ALFA_SensitiveDetectorTool
Definition: ALFA_SensitiveDetectorTool.h:16
ALFA_SensitiveDetectorTool::ALFA_SensitiveDetectorTool
ALFA_SensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ALFA_SensitiveDetectorTool.cxx:14
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:228
SensitiveDetectorBase.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ALFA_SensitiveDetectorTool::Gather
StatusCode Gather() override final
End of an athena event.
Definition: ALFA_SensitiveDetectorTool.cxx:50