ATLAS Offline Software
Loading...
Searching...
No Matches
DeadSDTool.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_DEADSDTOOL_H
6#define LARG4SD_DEADSDTOOL_H
7
8// System includes
9#include <string>
10#include <vector>
11
12// Project includes
14
15namespace LArG4
16{
17
18 class DeadSDTool : public CalibSDTool
19 {
20 public:
21 // Constructor
22 DeadSDTool(const std::string& type, const std::string& name,
23 const IInterface* parent);
24
25 private:
27 StatusCode initializeCalculators() override final;
28
30 G4VSensitiveDetector* makeSD() const override final;
31
33 Gaudi::Property<std::string> m_hitCollName{this, "HitCollectionName", "LArCalibrationHitDeadMaterial"};
34
37 Gaudi::Property<bool> m_do_eep{this, "doEscapedEnergy", false};
38
39 Gaudi::Property<std::vector<std::string>> m_barCryVolumes{this, "BarrelCryVolumes"};
40 Gaudi::Property<std::vector<std::string>> m_barCryLArVolumes{this, "BarrelCryLArVolumes"};
41 Gaudi::Property<std::vector<std::string>> m_barCryMixVolumes{this, "BarrelCryMixVolumes"};
42 Gaudi::Property<std::vector<std::string>> m_DMVolumes{this, "DeadMaterialVolumes"};
43 Gaudi::Property<std::vector<std::string>> m_barPresVolumes{this, "BarrelPresVolumes"};
44 Gaudi::Property<std::vector<std::string>> m_barVolumes{this, "BarrelVolumes"};
45 Gaudi::Property<std::vector<std::string>> m_ECCryVolumes{this, "ECCryVolumes"};
46 Gaudi::Property<std::vector<std::string>> m_ECCryLArVolumes{this, "ECCryLArVolumes"};
47 Gaudi::Property<std::vector<std::string>> m_ECCryMixVolumes{this, "ECCryMixVolumes"};
48 Gaudi::Property<std::vector<std::string>> m_ECSupportVolumes{this, "ECSupportVolumes"};
49 Gaudi::Property<std::vector<std::string>> m_HECWheelVolumes{this, "HECWheelVolumes"};
50
51 ServiceHandle<ILArCalibCalculatorSvc> m_embccalc{this, "EMBCryoCalibrationCalculator"
52 , "BarrelCryostatCalibrationCalculator"}; //BarrelCryostat::CalibrationCalculator()
53 ServiceHandle<ILArCalibCalculatorSvc> m_embclarcalc{this, "EMBCryoLArCalibrationCalculator"
54 , "BarrelCryostatCalibrationLArCalculator"}; //BarrelCryostat::CalibrationLArCalculator()
55 ServiceHandle<ILArCalibCalculatorSvc> m_mixcalc{this, "EMBCryoMixCalibrationCalculator"
56 , "BarrelCryostatCalibrationMixedCalculator"}; //BarrelCryostat::CalibrationMixedCalculator()
57 ServiceHandle<ILArCalibCalculatorSvc> m_dmcalc{this, "DMCalibrationCalculator"
58 , "DMCalibrationCalculator"}; //DM::CalibrationCalculator()
59 ServiceHandle<ILArCalibCalculatorSvc> m_embpscalc{this, "EMBPSCalibrationCalculator"
60 , "BarrelPresamplerCalibrationCalculator"}; //BarrelPresampler::CalibrationCalculator()
61 ServiceHandle<ILArCalibCalculatorSvc> m_embcalc{this, "EMBCalibrationCalculator"
62 , "BarrelCalibrationCalculator"}; //Barrel::CalibrationCalculator()
63 ServiceHandle<ILArCalibCalculatorSvc> m_emeccalc{this, "ECCryoCalibrationCalculator"
64 , "EndcapCryostatCalibrationCalculator"}; //EndcapCryostat::CalibrationCalculator()
65 ServiceHandle<ILArCalibCalculatorSvc> m_emecclarcalc{this, "ECCryoLArCalibrationCalculator"
66 , "EndcapCryostatCalibrationLArCalculator"}; //EndcapCryostat::CalibrationLArCalculator()
67 ServiceHandle<ILArCalibCalculatorSvc> m_ememixcalc{this, "ECCryoMixCalibrationCalculator"
68 , "EndcapCryostatCalibrationMixedCalculator"}; //EndcapCryostat::CalibrationMixedCalculator()
69 ServiceHandle<ILArCalibCalculatorSvc> m_emesupcalc{this, "EMECSuppCalibrationCalculator"
70 , "EMECSupportCalibrationCalculator"}; //EMECSupportCalibrationCalculator()
71 ServiceHandle<ILArCalibCalculatorSvc> m_heccalc{this, "HECWheelDeadCalculator"
72 , "HECCalibrationWheelDeadCalculator"}; //HEC::LArHECCalibrationWheelCalculator(HEC::kWheelDead)
73 ServiceHandle<ILArCalibCalculatorSvc> m_defcalc{this, "DefaultCalibrationCalculator"
74 , "CalibrationDefaultCalculator"}; //CalibrationDefaultCalculator()
75 };
76} // namespace LArG4
77#endif
Defines the CalibSDTool class.
CalibSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Gaudi::Property< std::vector< std::string > > m_barCryMixVolumes
Definition DeadSDTool.h:41
Gaudi::Property< std::vector< std::string > > m_ECSupportVolumes
Definition DeadSDTool.h:48
ServiceHandle< ILArCalibCalculatorSvc > m_ememixcalc
Definition DeadSDTool.h:67
ServiceHandle< ILArCalibCalculatorSvc > m_emesupcalc
Definition DeadSDTool.h:69
ServiceHandle< ILArCalibCalculatorSvc > m_dmcalc
Definition DeadSDTool.h:57
Gaudi::Property< std::vector< std::string > > m_ECCryMixVolumes
Definition DeadSDTool.h:47
ServiceHandle< ILArCalibCalculatorSvc > m_heccalc
Definition DeadSDTool.h:71
Gaudi::Property< std::vector< std::string > > m_ECCryVolumes
Definition DeadSDTool.h:45
ServiceHandle< ILArCalibCalculatorSvc > m_embccalc
Definition DeadSDTool.h:51
ServiceHandle< ILArCalibCalculatorSvc > m_embcalc
Definition DeadSDTool.h:61
ServiceHandle< ILArCalibCalculatorSvc > m_emecclarcalc
Definition DeadSDTool.h:65
Gaudi::Property< bool > m_do_eep
Do we add the escaped energy processing?
Definition DeadSDTool.h:37
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
Gaudi::Property< std::vector< std::string > > m_barPresVolumes
Definition DeadSDTool.h:43
Gaudi::Property< std::vector< std::string > > m_ECCryLArVolumes
Definition DeadSDTool.h:46
Gaudi::Property< std::string > m_hitCollName
Hit collection name.
Definition DeadSDTool.h:33
Gaudi::Property< std::vector< std::string > > m_barVolumes
Definition DeadSDTool.h:44
ServiceHandle< ILArCalibCalculatorSvc > m_defcalc
Definition DeadSDTool.h:73
StatusCode initializeCalculators() override final
Initialize Calculator Services.
DeadSDTool(const std::string &type, const std::string &name, const IInterface *parent)
ServiceHandle< ILArCalibCalculatorSvc > m_mixcalc
Definition DeadSDTool.h:55
Gaudi::Property< std::vector< std::string > > m_DMVolumes
Definition DeadSDTool.h:42
Gaudi::Property< std::vector< std::string > > m_HECWheelVolumes
Definition DeadSDTool.h:49
Gaudi::Property< std::vector< std::string > > m_barCryLArVolumes
Definition DeadSDTool.h:40
ServiceHandle< ILArCalibCalculatorSvc > m_embpscalc
Definition DeadSDTool.h:59
Gaudi::Property< std::vector< std::string > > m_barCryVolumes
Definition DeadSDTool.h:39
ServiceHandle< ILArCalibCalculatorSvc > m_embclarcalc
Definition DeadSDTool.h:53
ServiceHandle< ILArCalibCalculatorSvc > m_emeccalc
Definition DeadSDTool.h:63
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
STL namespace.