ATLAS Offline Software
SctSensorSDTool.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 Tool
7  ****************************************************************/
8 
9 #ifndef SCT_G4_SD_SCTSENSORSDTOOL_H
10 #define SCT_G4_SD_SCTSENSORSDTOOL_H
11 
12 // Base class
14 
16 
17 // STL headers
18 #include <string>
19 
20 class G4VSensitiveDetector;
21 
22 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
23 
25 {
26  public:
27  // Constructor
28  SctSensorSDTool(const std::string& type, const std::string& name, const IInterface *parent);
29 
30  virtual StatusCode SetupEvent(HitCollectionMap&) override;
31  virtual StatusCode Gather(HitCollectionMap&) override;
32 
33 protected:
34  // Make me an SD!
35  G4VSensitiveDetector* makeSD() const override final;
37  ServiceHandle<IGeoDbTagSvc> m_geoDbTagSvc{this, "GeoDbTagSvc", "GeoDbTagSvc", ""};
38 
39 
40 };
41 
42 #endif //SCT_G4_SD_SCTSENSORSDTOOL_H
SensitiveDetectorBase::SetupEvent
virtual StatusCode SetupEvent() override
Beginning of an athena event.
Definition: SensitiveDetectorBase.h:70
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition: HitCollectionMap.h:21
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition: SensitiveDetectorBase.h:50
SctSensorSDTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition: SctSensorSDTool.h:37
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
SctSensorSDTool::m_isGmxSensor
bool m_isGmxSensor
Definition: SctSensorSDTool.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
SctSensorSDTool::SctSensorSDTool
SctSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: SctSensorSDTool.cxx:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
SctSensorSDTool
Definition: SctSensorSDTool.h:25
SensitiveDetectorBase.h
SensitiveDetectorBase::Gather
virtual StatusCode Gather() override
End of an athena event.
Definition: SensitiveDetectorBase.h:78
SctSensorSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: SctSensorSDTool.cxx:44
IGeoDbTagSvc.h
ServiceHandle< IGeoDbTagSvc >