ATLAS Offline Software
Loading...
Searching...
No Matches
BCMSensorSDTool.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// BCM Sensitive Detector class
7// Bostjan Macek 17.may.2007
8//###############################################
9
10#ifndef BCM_G4_SD_BCMSENSORSDTOOL_H
11#define BCM_G4_SD_BCMSENSORSDTOOL_H
12
13// Base class
15
17{
18 public:
19 // Constructor
20 BCMSensorSDTool(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 //BCM_G4_SD_BCMSENSORSDTOOL_H
G4VSensitiveDetector * makeSD() const override final
BCMSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
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.