ATLAS Offline Software
Loading...
Searching...
No Matches
SctSensor_CTBTool.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 SCT Sensitive Detector class
7 Davide Costanzo Jul 14th 2003.
8 ****************************************************************/
9
10#ifndef SCT_G4_SD_SCTSENSOR_CTBTOOL_H
11#define SCT_G4_SD_SCTSENSOR_CTBTOOL_H
12
13// Base class
15
16// STL headers
17#include <string>
18
19class G4VSensitiveDetector;
20
21//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
22
24{
25 public:
26 // Constructor
27 SctSensor_CTBTool(const std::string& type, const std::string& name, const IInterface *parent);
28
29 virtual StatusCode SetupEvent(HitCollectionMap&) override;
30 virtual StatusCode Gather(HitCollectionMap&) override;
31
32protected:
33 // Make me an SD!
34 G4VSensitiveDetector* makeSD() const override final;
35
36};
37
38#endif //SCT_G4_SD_SCTSENSOR_CTBTOOL_H
Small wrapper around hit collection map to facilitate accessing the hit collection.
G4VSensitiveDetector * makeSD() const override final
SctSensor_CTBTool(const std::string &type, const std::string &name, const IInterface *parent)
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.