ATLAS Offline Software
ZDC_FiberSDTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ZDC_SD_ZDC_FIBER_SDTOOL_H
6 #define ZDC_SD_ZDC_FIBER_SDTOOL_H
7 
9 
10 // STL headers
11 #include <string>
12 
13 class G4VSensitiveDetector;
14 
16 {
17 
18  public:
19  // Constructor
20  ZDC_FiberSDTool(const std::string& type, const std::string& name, const IInterface* parent);
21  // Destructor
24  StatusCode Gather() override final; //FIXME would be good to be able to avoid this.
25 
26 protected:
27  // Make me an SD!
28  G4VSensitiveDetector* makeSD() const override final;
29 
30 private:
31  float m_readoutPos; // Y position of the top of the readout fibers
32 
33 };
34 
35 #endif //ZDC_SD_ZDC_STRIP_SDTOOL_H
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
ZDC_FiberSDTool::~ZDC_FiberSDTool
~ZDC_FiberSDTool()
Definition: ZDC_FiberSDTool.h:22
ZDC_FiberSDTool::m_readoutPos
float m_readoutPos
Definition: ZDC_FiberSDTool.h:31
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
ZDC_FiberSDTool::Gather
StatusCode Gather() override final
End of an athena event.
Definition: ZDC_FiberSDTool.cxx:22
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SensitiveDetectorBase.h
ZDC_FiberSDTool::ZDC_FiberSDTool
ZDC_FiberSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ZDC_FiberSDTool.cxx:14
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ZDC_FiberSDTool
Definition: ZDC_FiberSDTool.h:16
ZDC_FiberSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: ZDC_FiberSDTool.cxx:45