ATLAS Offline Software
Loading...
Searching...
No Matches
BLMSensorSDTool.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//###############################################
6// BLM Sensitive Detector tool
7//
8//###############################################
9
10#ifndef BLM_G4_SD_BLMSENSORSDTOOL_H
11#define BLM_G4_SD_BLMSENSORSDTOOL_H
12
13// Base class
15
17{
18 public:
19 // Constructor
20 BLMSensorSDTool(const std::string& type, const std::string& name, const IInterface *parent);
21
22 virtual StatusCode SetupEvent(HitCollectionMap&) override;
23 virtual StatusCode Gather(HitCollectionMap&) override;
24
25protected:
26 // Make me an SD!
27 G4VSensitiveDetector* makeSD() const override final;
28
29};
30
31#endif //BLM_G4_SD_BLMSENSORSDTOOL_H
G4VSensitiveDetector * makeSD() const override final
virtual StatusCode Gather(HitCollectionMap &) override
End of an athena event.
BLMSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode SetupEvent(HitCollectionMap &) override
Beginning of an athena event.
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.