ATLAS Offline Software
Loading...
Searching...
No Matches
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
13class 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 SetupEvent(HitCollectionMap&) override final;
26 StatusCode Gather(HitCollectionMap&) override final;
27
28protected:
29 // Make me an SD!
30 G4VSensitiveDetector* makeSD() const override final;
31
33 float m_readoutPos; // Y position of the top of the readout fibers
34
35};
36
37#endif //ZDC_SD_ZDC_STRIP_SDTOOL_H
Small wrapper around hit collection map to facilitate accessing the hit collection.
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
G4VSensitiveDetector * makeSD() const override final
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
ZDC_FiberSDTool(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
#define private
Definition testRead.cxx:27