ATLAS Offline Software
Loading...
Searching...
No Matches
H62004HECSDTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARG4H62004SD_H62004HECSDTOOL_H
6#define LARG4H62004SD_H62004HECSDTOOL_H
7
8// System includes
9#include <string>
10
11// Local includes
12#include "H62004SimpleSDTool.h"
14namespace LArG4
15{
16
26 {
27
28 public:
29
31 H62004HECSDTool(const std::string& type, const std::string& name,
32 const IInterface* parent);
33
34 private:
35
36 StatusCode initializeCalculators() override final;
37
39 G4VSensitiveDetector* makeSD() const override final;
40
42 std::string m_hitCollName {"LArHitHEC"};
43 ServiceHandle<ILArCalculatorSvc> m_calculator{this, "Calculator", "LArH62004HECLocalCalculator"};
44 }; // class H62004HECSDTool
45
46} // namespace LArG4
47
48#endif
StatusCode initializeCalculators() override final
Initialize Calculator Services.
ServiceHandle< ILArCalculatorSvc > m_calculator
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
H62004HECSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
std::string m_hitCollName
Hit collection name.
H62004SimpleSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
STL namespace.