ATLAS Offline Software
EMBSDTool.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_EMBSDTOOL_H
6 #define LARG4SD_EMBSDTOOL_H
7 
8 // System includes
9 #include <string>
10 #include <vector>
11 
12 // Project includes
13 #include "LArG4Code/SimpleSDTool.h"
15 
16 namespace LArG4
17 {
18 
24  class EMBSDTool : public SimpleSDTool
25  {
26  public:
28  EMBSDTool(const std::string& type, const std::string& name,
29  const IInterface* parent);
30 
31  private:
34 
36  G4VSensitiveDetector* makeSD() const override final;
37 
40 
42  Gaudi::Property<std::vector<std::string>> m_stacVolumes{this, "StacVolumes"};
44  Gaudi::Property<std::vector<std::string>> m_presVolumes{this, "PresamplerVolumes"};
46 
47  ServiceHandle<ILArCalculatorSvc> m_embcalc{this, "EMBCalculator", "EMBCalculator"}; //LArBarrelCalculator::GetCalculator()
48  ServiceHandle<ILArCalculatorSvc> m_pscalc{this, "EMBPSCalculator", "EMBPresamplerCalculator"}; //LArBarrelPresamplerCalculator::GetCalculator()
49  }; // class EMBSDTool
50 } // namespace LArG4
51 #endif
LArG4::EMBSDTool::m_presVolumes
Gaudi::Property< std::vector< std::string > > m_presVolumes
List of volumes for the presampler SD.
Definition: EMBSDTool.h:44
LArG4::EMBSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Initialize Calculator Services.
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Property
Support class for PropertyMgr.
Definition: Property.h:23
LArG4
Definition: LArWheelCalculatorEnums.h:8
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
LArG4::SimpleSDTool
A base class for tools that manage LArG4SimpleSDs.
Definition: SimpleSDTool.h:46
LArG4::EMBSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
LArG4::EMBSDTool::m_pscalc
ServiceHandle< ILArCalculatorSvc > m_pscalc
Definition: EMBSDTool.h:48
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LArG4::EMBSDTool::m_stacVolumes
Gaudi::Property< std::vector< std::string > > m_stacVolumes
List of volumes for the stac SD.
Definition: EMBSDTool.h:42
LArG4::EMBSDTool::m_embcalc
ServiceHandle< ILArCalculatorSvc > m_embcalc
Definition: EMBSDTool.h:47
LArG4::EMBSDTool
SD tool which manages EM barrel sensitive detectors.
Definition: EMBSDTool.h:25
ILArCalculatorSvc.h
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
LArG4::EMBSDTool::EMBSDTool
EMBSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
SimpleSDTool.h
Defines the SimpleSDTool class.
ServiceHandle< ILArCalculatorSvc >