ATLAS Offline Software
Loading...
Searching...
No Matches
LocalCalibrationCalculator.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 LArG4_HEC_LocalCalibrationCalculator_H
6#define LArG4_HEC_LocalCalibrationCalculator_H
7
12
13#include "globals.hh"
14
15#include <vector>
16
17// Forward declaractions:
18class G4Step;
19
20namespace LArG4 {
21
22 namespace HEC {
23
24
26 public:
27
28 LocalCalibrationCalculator(const std::string& name, ISvcLocator *pSvcLocatorconst);
29 void GeometryTypeUpdateHandler(Gaudi::Details::PropertyBase&);
30 StatusCode initialize() override final;
31 virtual ~LocalCalibrationCalculator() = default;
32
33 virtual G4bool Process (const G4Step* step, LArG4Identifier & identifier,
34 std::vector<G4double> & energies,
36 private:
37
38 ServiceHandle<ILocalGeometry> m_geometryCalculator{this, "GeometryCalculator", "LocalHECGeometry"};
39
41 StringProperty m_strgeometryType{this, "GeometryType", "ACTIVE", &LocalCalibrationCalculator::GeometryTypeUpdateHandler};
42
44
45 };
46
47 } // namespace HEC
48
49} // namespace LArG4
50
51#endif // LArG4_HEC_LocalCalibrationCalculator_H
This class implements the calculations requires to categorize the energies deposited during the simul...
LArCalibCalculatorSvcImp(const std::string &name, ISvcLocator *pSvcLocator)
ServiceHandle< ILocalGeometry > m_geometryCalculator
StatusCode initialize() override final
void GeometryTypeUpdateHandler(Gaudi::Details::PropertyBase &)
virtual G4bool Process(const G4Step *step, LArG4Identifier &identifier, std::vector< G4double > &energies, const eCalculatorProcessing process=kEnergyAndID) const override final
LocalCalibrationCalculator(const std::string &name, ISvcLocator *pSvcLocatorconst)
const std::string process
eCalculatorProcessing
@ kEnergyAndID
STL namespace.
#define private