ATLAS Offline Software
Loading...
Searching...
No Matches
ZDC_G4CalibSDTool.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 ZDCG4SDTOOL_H
6#define ZDCG4SDTOOL_H
7
8// Base class
10
11// For escaped energy
16
17class G4VSensitiveDetector;
18
20{
21 public:
22 // Constructor
23 ZDC_G4CalibSDTool(const std::string& type, const std::string& name, const IInterface *parent);
24 // Destructor
25 virtual ~ZDC_G4CalibSDTool() {}
26 // Calls down to all the SDs to get them to pack their hits into a central collection
27 StatusCode Gather() override final;
28
30 //Make an SD
31 G4VSensitiveDetector* makeSD()const override final;
32
33 private:
35 bool m_doPid;
36};
37
38#endif
#define protected
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
G4VSensitiveDetector * makeSD() const override final
ZDC_G4CalibSDTool(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode Gather() override final
End of an athena event.
#define private