ATLAS Offline Software
TileGeoG4SDTool.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 //
7 // Class TileGeoG4SDTool
8 // AthTool class for holding the Tile sensitive detector
9 //
10 //************************************************************
11 
12 #ifndef TILEGEOG4SD_TILEGEOG4SDTOOL_H
13 #define TILEGEOG4SD_TILEGEOG4SDTOOL_H
14 
15 // Base class header
17 
18 // STL headers
19 #include <string>
20 
21 class G4VSensitiveDetector;
22 class ITileCalculator;
23 
25 {
26 public:
28  TileGeoG4SDTool (const std::string& type, const std::string& name, const IInterface *parent);
30 
32  virtual StatusCode initialize() override final;
33 
35  virtual StatusCode Gather() override final; //FIXME would be good to be able to avoid this.
36 
37 protected:
39  G4VSensitiveDetector* makeSD() const override final;
40 
41 private:
44 
45 };
46 
47 #endif
ITileCalculator
Definition: ITileCalculator.h:67
TileGeoG4SDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Make me an SD!
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition: SensitiveDetectorBase.h:42
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
TileGeoG4SDTool::TileGeoG4SDTool
TileGeoG4SDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
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
TileGeoG4SDTool::m_tileCalculator
ServiceHandle< ITileCalculator > m_tileCalculator
Calculator Service.
Definition: TileGeoG4SDTool.h:43
TileGeoG4SDTool::initialize
virtual StatusCode initialize() override final
Default destructor is just fine.
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SensitiveDetectorBase.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileGeoG4SDTool
Definition: TileGeoG4SDTool.h:25
ServiceHandle
Definition: ClusterMakerTool.h:37
TileGeoG4SDTool::Gather
virtual StatusCode Gather() override final
End of an athena event.