ATLAS Offline Software
Loading...
Searching...
No Matches
RPCSensitiveDetectorCosmicsTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef RPCSensitiveDetectorCosmicsTool_H
6#define RPCSensitiveDetectorCosmicsTool_H
7
9#include "GaudiKernel/ServiceHandle.h"
11
13
14public:
16 RPCSensitiveDetectorCosmicsTool(const std::string& type, const std::string& name, const IInterface *parent);
17 virtual StatusCode SetupEvent(HitCollectionMap& hitCollections) override;
18 virtual StatusCode Gather(HitCollectionMap& hitCollections) override;
19protected:
20 G4VSensitiveDetector* makeSD() const override final;
21private:
22 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
23};
24
25#endif
Small wrapper around hit collection map to facilitate accessing the hit collection.
G4VSensitiveDetector * makeSD() const override final
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
RPCSensitiveDetectorCosmicsTool(const std::string &type, const std::string &name, const IInterface *parent)
construction/destruction
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.