ATLAS Offline Software
Loading...
Searching...
No Matches
EMECSDTool.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_EMECSDTOOL_H
6#define LARG4SD_EMECSDTOOL_H
7
8// System includes
9#include <string>
10#include <vector>
11
12// Project includes
15
16namespace LArG4
17{
18
24 class EMECSDTool : public SimpleSDTool
25 {
26 public:
27
29 EMECSDTool(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_posIWVolumes{this, "PosIWVolumes"};
42 Gaudi::Property<std::vector<std::string>> m_negIWVolumes{this, "NegIWVolumes"};
43 Gaudi::Property<std::vector<std::string>> m_posOWVolumes{this, "PosOWVolumes"};
44 Gaudi::Property<std::vector<std::string>> m_negOWVolumes{this, "NegOWVolumes"};
45 Gaudi::Property<std::vector<std::string>> m_presVolumes{this, "PresVolumes"};
46 Gaudi::Property<std::vector<std::string>> m_posBOBVolumes{this, "PosBOBarretteVolumes"};
47 Gaudi::Property<std::vector<std::string>> m_negBOBVolumes{this, "NegBOBarretteVolumes"};
49
51 , "EMECPosInnerWheelCalculator"}; //EnergyCalculator(LArG4::InnerAbsorberWheel, LArG4::EMEC_ECOR_ROPT, 1)
53 , "EMECNegInnerWheelCalculator"}; //EC::EnergyCalculator(LArWheelCalculator::InnerAbsorberWheel, LArG4::EMEC_ECOR_ROPT, -1),
55 , "EMECPosOuterWheelCalculator"}; //EC::EnergyCalculator(LArWheelCalculator::OuterAbsorberWheel, EC::EnergyCalculator::EMEC_ECOR_ROPT, 1),
57 , "EMECNegOuterWheelCalculator"}; //EC::EnergyCalculator(LArWheelCalculator::OuterAbsorberWheel, EC::EnergyCalculator::EMEC_ECOR_ROPT, -1),
59 , "EMECPresamplerCalculator"}; //LArEndcapPresamplerCalculator::GetCalculator()
61 , "EMECPosBackOuterBarretteCalculator"}; //EC::EnergyCalculator(LArWheelCalculator::BackOuterBarretteWheel) / Pos
63 , "EMECNegBackOuterBarretteCalculator"}; //EC::EnergyCalculator(LArWheelCalculator::BackOuterBarretteWheel) / Neg
64 }; // class EMECSDTool
65} // namespace LArG4
66#endif
Defines the SimpleSDTool class.
Gaudi::Property< std::vector< std::string > > m_negOWVolumes
Definition EMECSDTool.h:44
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
Gaudi::Property< std::vector< std::string > > m_negBOBVolumes
Definition EMECSDTool.h:47
Gaudi::Property< std::vector< std::string > > m_posBOBVolumes
Definition EMECSDTool.h:46
ServiceHandle< ILArCalculatorSvc > m_emepiwcalc
Definition EMECSDTool.h:50
Gaudi::Property< std::vector< std::string > > m_presVolumes
Definition EMECSDTool.h:45
Gaudi::Property< std::vector< std::string > > m_posIWVolumes
Definition EMECSDTool.h:41
ServiceHandle< ILArCalculatorSvc > m_emepowcalc
Definition EMECSDTool.h:54
Gaudi::Property< std::vector< std::string > > m_posOWVolumes
Definition EMECSDTool.h:43
ServiceHandle< ILArCalculatorSvc > m_emepscalc
Definition EMECSDTool.h:58
ServiceHandle< ILArCalculatorSvc > m_emeniwcalc
Definition EMECSDTool.h:52
EMECSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Gaudi::Property< std::vector< std::string > > m_negIWVolumes
Definition EMECSDTool.h:42
ServiceHandle< ILArCalculatorSvc > m_emenobarcalc
Definition EMECSDTool.h:62
ServiceHandle< ILArCalculatorSvc > m_emepobarcalc
Definition EMECSDTool.h:60
StatusCode initializeCalculators() override final
Initialize Calculator Services.
ServiceHandle< ILArCalculatorSvc > m_emenowcalc
Definition EMECSDTool.h:56
SimpleSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
STL namespace.