ATLAS Offline Software
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
16 class G4Step;
17 class G4HCofThisEvent;
18 class G4TouchableHistory;
19 
20 namespace GeoModelIO{
21  class ReadGeoModel;
22 }
23 
25 {
26 public:
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;
38 
39 };
40 
41 
42 #endif //SCT_G4_SD_SCTSENSORGMXSD_H
SctSensorSD.h
SctSensorGmxSD::~SctSensorGmxSD
~SctSensorGmxSD()
Definition: SctSensorGmxSD.cxx:37
SctSensorGmxSD::ProcessHits
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
Definition: SctSensorGmxSD.cxx:39
SctSensorGmxSD::SctSensorGmxSD
SctSensorGmxSD(const std::string &name, const std::string &hitCollectionName, GeoModelIO::ReadGeoModel *sqlreader=nullptr)
Definition: SctSensorGmxSD.cxx:32
SctSensorGmxSD
Definition: SctSensorGmxSD.h:25
SctSensorGmxSD::m_sqlreader
GeoModelIO::ReadGeoModel * m_sqlreader
Definition: SctSensorGmxSD.h:37
SctSensorSD
Definition: SctSensorSD.h:25
GeoModelIO
Definition: IGeoDbTagSvc.h:12
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195