ATLAS Offline Software
Loading...
Searching...
No Matches
FCALSDTool.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 LARG4SD_FCALSDTOOL_H
6#define LARG4SD_FCALSDTOOL_H
7
8// System includes
9#include <string>
10#include <vector>
11
12// Project includes
15
16namespace LArG4
17{
18
24 class FCALSDTool : public SimpleSDTool
25 {
26 public:
27
29 FCALSDTool(const std::string& type, const std::string& name,
30 const IInterface* parent);
31
32 private:
34 StatusCode initializeCalculators() override final;
35
37 G4VSensitiveDetector* makeSD() const override final;
38
41 Gaudi::Property<std::vector<std::string>> m_fcal1Volumes{this, "FCAL1Volumes"};
42 Gaudi::Property<std::vector<std::string>> m_fcal2Volumes{this, "FCAL2Volumes"};
43 Gaudi::Property<std::vector<std::string>> m_fcal3Volumes{this, "FCAL3Volumes"};
45
47 , "FCAL1Calculator"}; //LArFCAL1Calculator::GetInstance()
49 , "FCAL2Calculator"}; //LArFCAL2Calculator::GetInstance()
51 , "FCAL3Calculator"}; //LArFCAL3Calculator::GetInstance()
52 }; // class FCALSDTool
53} // namespace LArG4
54#endif
Defines the SimpleSDTool class.
Gaudi::Property< std::vector< std::string > > m_fcal1Volumes
List of volumes for each SD.
Definition FCALSDTool.h:41
ServiceHandle< ILArCalculatorSvc > m_fcal3calc
Definition FCALSDTool.h:50
FCALSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
Gaudi::Property< std::vector< std::string > > m_fcal2Volumes
Definition FCALSDTool.h:42
ServiceHandle< ILArCalculatorSvc > m_fcal2calc
Definition FCALSDTool.h:48
StatusCode initializeCalculators() override final
Initialize Calculator Services.
Gaudi::Property< std::vector< std::string > > m_fcal3Volumes
Definition FCALSDTool.h:43
ServiceHandle< ILArCalculatorSvc > m_fcal1calc
Definition FCALSDTool.h:46
SimpleSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
STL namespace.