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 StatusCode SetupEvent(HitCollectionMap&) override final;
27 StatusCode Gather(HitCollectionMap&) override final;
28
29 protected:
30 //Make an SD
31 G4VSensitiveDetector* makeSD()const override final;
32
33 private:
35 bool m_doPid;
36};
37
38#endif
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.
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
G4VSensitiveDetector * makeSD() const override final
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
ZDC_G4CalibSDTool(const std::string &type, const std::string &name, const IInterface *parent)
#define private
Definition testRead.cxx:27