ATLAS Offline Software
BCMSensorSDTool.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 // BCM Sensitive Detector class
7 // Bostjan Macek 17.may.2007
8 //###############################################
9 
10 #ifndef BCM_G4_SD_BCMSENSORSDTOOL_H
11 #define BCM_G4_SD_BCMSENSORSDTOOL_H
12 
13 // Base class
15 
17 {
18  public:
19  // Constructor
20  BCMSensorSDTool(const std::string& type, const std::string& name, const IInterface *parent);
21 
22  virtual StatusCode SetupEvent(HitCollectionMap&) override;
23  virtual StatusCode Gather(HitCollectionMap&) override;
24 
25 protected:
26  // Make me an SD!
27  G4VSensitiveDetector* makeSD() const override final;
28 
29 };
30 
31 #endif //BCM_G4_SD_BCMSENSORSDTOOL_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
BCMSensorSDTool::BCMSensorSDTool
BCMSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: BCMSensorSDTool.cxx:18
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition: SensitiveDetectorBase.h:50
BCMSensorSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: BCMSensorSDTool.cxx:37
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
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
BCMSensorSDTool
Definition: BCMSensorSDTool.h:17
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
SensitiveDetectorBase.h
SensitiveDetectorBase::Gather
virtual StatusCode Gather() override
End of an athena event.
Definition: SensitiveDetectorBase.h:78