ATLAS Offline Software
Loading...
Searching...
No Matches
GenericMuonSensitiveDetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GenericMuonSensitiveDetectorTool_H
6#define GenericMuonSensitiveDetectorTool_H
7
9
11
12public:
13 GenericMuonSensitiveDetectorTool(const std::string& type, const std::string& name, const IInterface *parent);
14 virtual StatusCode SetupEvent(HitCollectionMap& hitCollections) override;
15 virtual StatusCode Gather(HitCollectionMap& hitCollections) override;
16protected:
17 G4VSensitiveDetector* makeSD() const override final;
18};
19
20#endif
virtual StatusCode SetupEvent(HitCollectionMap &hitCollections) override
Beginning of an athena event.
G4VSensitiveDetector * makeSD() const override final
virtual StatusCode Gather(HitCollectionMap &hitCollections) override
End of an athena event.
GenericMuonSensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
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.