ATLAS Offline Software
Loading...
Searching...
No Matches
PFSimulateTruthShowerTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PFSIMULATETRUTHSHOWERTOOL_H
6#define PFSIMULATETRUTHSHOWERTOOL_H
7
9
10static const InterfaceID IID_PFSimulateTruthShowerTool("PFSimulateTruthShowerTool", 1, 0);
11
13
15
17
18public:
19
20 PFSimulateTruthShowerTool(const std::string& type, const std::string& name, const IInterface* parent);
21
22 static const InterfaceID& interfaceID();
23
24 StatusCode initialize();
25 StatusCode finalize();
26
27 void simulateShower(eflowCaloObject& thisEFlowCaloObject) const;
28
29private:
30
32 SG::ReadHandleKey<CaloCalibrationHitContainer> m_tileActiveCaloCalibrationHitReadHandleKey{this,"tileActiveCaloCalibrationHitsName","TileCalibHitActiveCell","ReadHandleKey for Active Tile Calibration Hits"};
33
35 SG::ReadHandleKey<CaloCalibrationHitContainer> m_lArActiveCaloCalibrationHitReadHandleKey{this,"lArActiveCaloCalibrationHitsName","LArCalibrationHitActive","ReadHandleKey for Active LAr Calibration Hits"};
36
37 void fillMap(std::map<Identifier,double>& identifierToTruthEnergyMap, int uniqueID, const CaloCalibrationHit& thisCalibHit) const;
38
39};
40
42
43
44#endif
static const InterfaceID IID_PFSimulateTruthShowerTool("PFSimulateTruthShowerTool", 1, 0)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Class to store calorimeter calibration hit.
void fillMap(std::map< Identifier, double > &identifierToTruthEnergyMap, int uniqueID, const CaloCalibrationHit &thisCalibHit) const
PFSimulateTruthShowerTool(const std::string &type, const std::string &name, const IInterface *parent)
void simulateShower(eflowCaloObject &thisEFlowCaloObject) const
SG::ReadHandleKey< CaloCalibrationHitContainer > m_lArActiveCaloCalibrationHitReadHandleKey
ReadHandleKey for Active LAr Calibration Hits.
static const InterfaceID & interfaceID()
SG::ReadHandleKey< CaloCalibrationHitContainer > m_tileActiveCaloCalibrationHitReadHandleKey
ReadHandleKey for Active Tile Calibration Hits.
Property holding a SG store/key/clid from which a ReadHandle is made.
An internal EDM object which stores information about systems of associated tracks and calorimeter cl...