ATLAS Offline Software
LocalCalibrationCalculator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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:
18 class G4Step;
19 
20 namespace 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;
32 
33  virtual G4bool Process (const G4Step* step, LArG4Identifier & identifier,
34  std::vector<G4double> & energies,
36  private:
37 
39 
41  StringProperty m_strgeometryType;
42 
43  CaloG4::SimulationEnergies m_energyCalculator;
44 
45  };
46 
47  } // namespace HEC
48 
49 } // namespace LArG4
50 
51 #endif // LArG4_HEC_LocalCalibrationCalculator_H
LArG4Identifier
Definition: LArG4Identifier.h:121
LArCalibCalculatorSvcImp
Definition: LArCalibCalculatorSvcImp.h:12
LArSamples::HEC
@ HEC
Definition: CaloId.h:26
LArG4::HEC::LocalCalibrationCalculator::m_geometryType
eLocalGeometryType m_geometryType
Definition: LocalCalibrationCalculator.h:40
LArG4::HEC::eLocalGeometryType
eLocalGeometryType
Definition: ILocalGeometry.h:23
LArG4::HEC::LocalCalibrationCalculator::m_energyCalculator
CaloG4::SimulationEnergies m_energyCalculator
Definition: LocalCalibrationCalculator.h:43
xAOD::identifier
identifier
Definition: UncalibratedMeasurement_v1.cxx:15
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
LArG4
Definition: LArWheelCalculatorEnums.h:8
SUSY_SimplifiedModel_PostInclude.process
string process
Definition: SUSY_SimplifiedModel_PostInclude.py:42
LArG4::HEC::ILocalGeometry
Definition: ILocalGeometry.h:26
LArG4::HEC::LocalCalibrationCalculator::LocalCalibrationCalculator
LocalCalibrationCalculator(const std::string &name, ISvcLocator *pSvcLocatorconst)
LArCalibCalculatorSvcImp.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
LArG4::HEC::LocalCalibrationCalculator::m_strgeometryType
StringProperty m_strgeometryType
Definition: LocalCalibrationCalculator.h:41
ILocalGeometry.h
LArG4::HEC::LocalCalibrationCalculator::initialize
StatusCode initialize() override final
LArG4Identifier.h
LArG4::HEC::LocalCalibrationCalculator::Process
virtual G4bool Process(const G4Step *step, LArG4Identifier &identifier, std::vector< G4double > &energies, const eCalculatorProcessing process=kEnergyAndID) const override final
CaloG4
Definition: EscapedEnergyRegistry.h:21
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArG4::HEC::LocalCalibrationCalculator
Definition: LocalCalibrationCalculator.h:25
LArG4::HEC::LocalCalibrationCalculator::GeometryTypeUpdateHandler
void GeometryTypeUpdateHandler(Gaudi::Details::PropertyBase &)
LArCellBinning.step
step
Definition: LArCellBinning.py:158
LArG4::kEnergyAndID
@ kEnergyAndID
Definition: LArG4EnumDefs.h:10
SimulationEnergies.h
LArG4::eCalculatorProcessing
eCalculatorProcessing
Definition: LArG4EnumDefs.h:10
LArG4::HEC::LocalCalibrationCalculator::m_geometryCalculator
ServiceHandle< ILocalGeometry > m_geometryCalculator
Definition: LocalCalibrationCalculator.h:38
ServiceHandle
Definition: ClusterMakerTool.h:37