ATLAS Offline Software
Loading...
Searching...
No Matches
H62004FCALSDTool.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_H62004FCALSDTOOL_H
6#define LARG4H62004SD_H62004FCALSDTOOL_H
7
8// System includes
9#include <string>
10#include <vector>
11
12// Local includes
13#include "H62004SimpleSDTool.h"
15
16namespace LArG4
17{
18
28 {
29
30 public:
31
33 H62004FCALSDTool(const std::string& type, const std::string& name,
34 const IInterface* parent);
35
36 private:
37
38 StatusCode initializeCalculators() override final;
39
41 G4VSensitiveDetector* makeSD() const override final;
42
44 std::string m_hitCollName {"LArHitFCAL"};
45
46 ServiceHandle<ILArCalculatorSvc> m_fcal1calc {this, "FCAL1Calculator", "FCAL1Calculator"};
47 ServiceHandle<ILArCalculatorSvc> m_fcal2calc {this, "FCAL2Calculator", "FCAL2Calculator"};
48 ServiceHandle<ILArCalculatorSvc> m_fcalcoldcalc {this, "FCALColdCalculator", "FCALColdCalculator"};
51 Gaudi::Property<std::vector<std::string>> m_fcal1Volumes {this, "FCAL1Volumes"};
52 Gaudi::Property<std::vector<std::string>> m_fcal2Volumes {this, "FCAL2Volumes"};
53 Gaudi::Property<std::vector<std::string>> m_fcalColdVolumes {this, "FCALColdVolumes"};
55
56 }; // class H62004FCALSDTool
57
58} // namespace LArG4
59
60#endif
Gaudi::Property< std::vector< std::string > > m_fcal2Volumes
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
H62004FCALSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
std::string m_hitCollName
Hit collection name.
ServiceHandle< ILArCalculatorSvc > m_fcalcoldcalc
Gaudi::Property< std::vector< std::string > > m_fcal1Volumes
StatusCode initializeCalculators() override final
Initialize Calculator Services.
Gaudi::Property< std::vector< std::string > > m_fcalColdVolumes
ServiceHandle< ILArCalculatorSvc > m_fcal1calc
ServiceHandle< ILArCalculatorSvc > m_fcal2calc
H62004SimpleSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
STL namespace.