ATLAS Offline Software
Loading...
Searching...
No Matches
sTGCSensitiveDetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef sTGCSensitiveDetectorTool_H
6#define sTGCSensitiveDetectorTool_H
7
9
11
12public:
14 sTGCSensitiveDetectorTool(const std::string& type, const std::string& name, const IInterface *parent);
15 virtual StatusCode SetupEvent(HitCollectionMap& hitCollections) override;
16 virtual StatusCode Gather(HitCollectionMap& hitCollections) override;
17protected:
18 G4VSensitiveDetector* makeSD() const override final;
19 Gaudi::Property<bool> m_onSqLite{this, "onSqLite", false, "Runs on Sqlite -> adapt base depth of the detector to 1"};
20};
21
22#endif
Small wrapper around hit collection map to facilitate accessing the hit collection.
virtual StatusCode Gather() override
End of an athena event.
virtual StatusCode SetupEvent() override
Beginning of an athena event.
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
G4VSensitiveDetector * makeSD() const override final
Gaudi::Property< bool > m_onSqLite
sTGCSensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
construction/destruction