ATLAS Offline Software
Loading...
Searching...
No Matches
SctSensorGmxSD.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 (GMX) class
7****************************************************************/
8
9#ifndef SCT_G4_SD_SCTSENSORGMXSD_H
10#define SCT_G4_SD_SCTSENSORGMXSD_H
11
12// Base class
13#include "SctSensorSD.h"
14
15// G4 needed classes
16class G4Step;
17class G4HCofThisEvent;
18class G4TouchableHistory;
19
20namespace GeoModelIO{
21 class ReadGeoModel;
22}
23
25{
26public:
27 // Constructor
28 SctSensorGmxSD(const std::string& name, const std::string& hitCollectionName, GeoModelIO::ReadGeoModel * sqlreader=nullptr);
29
30 // Destructor
32
33 // Deal with each G4 hit
34 G4bool ProcessHits(G4Step*, G4TouchableHistory*) override final;
35
36 private:
37 GeoModelIO::ReadGeoModel * m_sqlreader{nullptr};
38
39};
40
41
42#endif //SCT_G4_SD_SCTSENSORGMXSD_H
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
GeoModelIO::ReadGeoModel * m_sqlreader
SctSensorGmxSD(const std::string &name, const std::string &hitCollectionName, GeoModelIO::ReadGeoModel *sqlreader=nullptr)
SctSensorSD(const std::string &name, const std::string &hitCollectionName)