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