ATLAS Offline Software
Loading...
Searching...
No Matches
TrackRecorderSDTool.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 Track Recorder Sensitive Detector Tool
7 ****************************************************************/
8
9#ifndef TRACKWRITEFASTSIM_TRACKRECORDERSDTOOL_H
10#define TRACKWRITEFASTSIM_TRACKRECORDERSDTOOL_H
11
12// Base class
14
15// STL headers
16#include <string>
17
18class G4VSensitiveDetector;
19
20//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
21
23{
24 public:
25 // Constructor
26 TrackRecorderSDTool(const std::string& type, const std::string& name, const IInterface *parent);
27
28 // Destructor
29 ~TrackRecorderSDTool() { /* If all goes well we do not own myHitColl here */ }
30
31protected:
32 // Make me an SD!
33 G4VSensitiveDetector* makeSD() const override final;
34
35 int m_SD_type; //TrackRecorderSD=1, CosmicTRSD=2
36};
37
38#endif //TRACKWRITEFASTSIM_TRACKRECORDERSDTOOL_H
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
TrackRecorderSDTool(const std::string &type, const std::string &name, const IInterface *parent)
G4VSensitiveDetector * makeSD() const override final