ATLAS Offline Software
Loading...
Searching...
No Matches
InactiveSDTool.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_INACTIVESDTOOL_H
6#define LARG4SD_INACTIVESDTOOL_H
7
8// System includes
9#include <string>
10#include <vector>
11
12// Project includes
15
16namespace LArG4
17{
18
25 {
26 public:
28 InactiveSDTool(const std::string& type, const std::string& name,
29 const IInterface* parent);
30
31 private:
32
34 StatusCode initializeCalculators() override final;
35
37 G4VSensitiveDetector* makeSD() const override final;
38
39 Gaudi::Property<std::vector<std::string>> m_barPreVolumes{this, "BarrelPreVolumes"};
40 Gaudi::Property<std::vector<std::string>> m_barVolumes{this, "BarrelVolumes"};
41 Gaudi::Property<std::vector<std::string>> m_ECPosInVolumes{this, "ECPosInVolumes"};
42 Gaudi::Property<std::vector<std::string>> m_ECPosOutVolumes{this, "ECPosOutVolumes"};
43 Gaudi::Property<std::vector<std::string>> m_ECNegInVolumes{this, "ECNegInVolumes"};
44 Gaudi::Property<std::vector<std::string>> m_ECNegOutVolumes{this, "ECNegOutVolumes"};
45 Gaudi::Property<std::vector<std::string>> m_HECWheelVolumes{this, "HECWheelVolumes"};
46 Gaudi::Property<std::vector<std::string>> m_fcal1Volumes{this, "FCAL1Volumes"};
47 Gaudi::Property<std::vector<std::string>> m_fcal2Volumes{this, "FCAL2Volumes"};
48 Gaudi::Property<std::vector<std::string>> m_fcal3Volumes{this, "FCAL3Volumes"};
49
51 Gaudi::Property<std::string> m_hitCollName{this, "HitCollectionName", "LArCalibrationHitInactive"};
52
53 ServiceHandle<ILArCalibCalculatorSvc> m_embpscalc{this, "EMBPSCalibrationCalculator"
54 , "BarrelPresamplerCalibrationCalculator"}; //BarrelPresampler::CalibrationCalculator
55 ServiceHandle<ILArCalibCalculatorSvc> m_embcalc{this, "EMBCalibrationCalculator"
56 , "BarrelCalibrationCalculator"}; //Barrel::CalibrationCalculator
57 ServiceHandle<ILArCalibCalculatorSvc> m_emepiwcalc{this, "EMECPosIWCalibrationCalculator"
58 , "EMECPosInnerWheelCalibrationCalculator"};//LArG4::EC::CalibrationCalculator(LArWheelCalculator::InnerAbsorberWheel, 1)
59 ServiceHandle<ILArCalibCalculatorSvc> m_emeniwcalc{this, "EMECNegIWCalibrationCalculator"
60 , "EMECNegInnerWheelCalibrationCalculator"};//LArG4::EC::CalibrationCalculator(LArWheelCalculator::InnerAbsorberWheel, -1)
61 ServiceHandle<ILArCalibCalculatorSvc> m_emepowcalc{this, "EMECPosOWCalibrationCalculator"
62 , "EMECPosOuterWheelCalibrationCalculator"}; //LArG4::EC::CalibrationCalculator(LArWheelCalculator::OuterAbsorberWheel, 1)
63 ServiceHandle<ILArCalibCalculatorSvc> m_emenowcalc{this, "EMECNegOWCalibrationCalculator"
64 , "EMECNegOuterWheelCalibrationCalculator"}; //LArG4::EC::CalibrationCalculator(LArWheelCalculator::OuterAbsorberWheel, -1)
65 ServiceHandle<ILArCalibCalculatorSvc> m_heccalc{this, "HECWheelInactiveCalculator"
66 , "HECCalibrationWheelInactiveCalculator"}; //LArG4::HEC::LArHECCalibrationWheelCalculator(LArG4::HEC::kWheelInactive)
68 , "FCAL1CalibCalculator"};
70 , "FCAL2CalibCalculator"};
72 , "FCAL3CalibCalculator"};
73 }; // class InactiveSDTool
74} // namespace LArG4
75#endif
Defines the CalibSDTool class.
CalibSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
ServiceHandle< ILArCalibCalculatorSvc > m_emenowcalc
ServiceHandle< ILArCalibCalculatorSvc > m_heccalc
Gaudi::Property< std::vector< std::string > > m_fcal1Volumes
Gaudi::Property< std::vector< std::string > > m_fcal3Volumes
Gaudi::Property< std::vector< std::string > > m_barVolumes
ServiceHandle< ILArCalibCalculatorSvc > m_embpscalc
Gaudi::Property< std::vector< std::string > > m_ECPosInVolumes
Gaudi::Property< std::vector< std::string > > m_ECPosOutVolumes
Gaudi::Property< std::vector< std::string > > m_ECNegInVolumes
ServiceHandle< ILArCalibCalculatorSvc > m_fcal3calc
ServiceHandle< ILArCalibCalculatorSvc > m_fcal1calc
ServiceHandle< ILArCalibCalculatorSvc > m_emeniwcalc
Gaudi::Property< std::vector< std::string > > m_barPreVolumes
Gaudi::Property< std::vector< std::string > > m_HECWheelVolumes
ServiceHandle< ILArCalibCalculatorSvc > m_fcal2calc
Gaudi::Property< std::vector< std::string > > m_ECNegOutVolumes
StatusCode initializeCalculators() override final
Initialize Calculator Services.
ServiceHandle< ILArCalibCalculatorSvc > m_emepiwcalc
InactiveSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Gaudi::Property< std::string > m_hitCollName
Hit collection name.
ServiceHandle< ILArCalibCalculatorSvc > m_emepowcalc
ServiceHandle< ILArCalibCalculatorSvc > m_embcalc
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
Gaudi::Property< std::vector< std::string > > m_fcal2Volumes
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
STL namespace.