ATLAS Offline Software
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 
10 static const InterfaceID IID_PFSimulateTruthShowerTool("PFSimulateTruthShowerTool", 1, 0);
11 
13 
15 
17 
18 public:
19 
20  PFSimulateTruthShowerTool(const std::string& type, const std::string& name, const IInterface* parent);
21 
22  static const InterfaceID& interfaceID();
23 
26 
27  void simulateShower(eflowCaloObject& thisEFlowCaloObject) const;
28 
29 private:
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 barcode, const CaloCalibrationHit& thisCalibHit) const; // FIXME barcode-based
38 
39 };
40 
41 inline const InterfaceID& PFSimulateTruthShowerTool::interfaceID() { return IID_PFSimulateTruthShowerTool; }
42 
43 
44 #endif
PFSimulateTruthShowerTool::initialize
StatusCode initialize()
Definition: PFSimulateTruthShowerTool.cxx:17
PFSimulateTruthShowerTool
Definition: PFSimulateTruthShowerTool.h:16
PFSimulateTruthShowerTool::m_tileActiveCaloCalibrationHitReadHandleKey
SG::ReadHandleKey< CaloCalibrationHitContainer > m_tileActiveCaloCalibrationHitReadHandleKey
ReadHandleKey for Active Tile Calibration Hits.
Definition: PFSimulateTruthShowerTool.h:32
eflowCaloObject
An internal EDM object which stores information about systems of associated tracks and calorimeter cl...
Definition: eflowCaloObject.h:34
SG::ReadHandleKey< CaloCalibrationHitContainer >
CaloCalibrationHitContainer.h
PFSimulateTruthShowerTool::interfaceID
static const InterfaceID & interfaceID()
Definition: PFSimulateTruthShowerTool.h:41
PFSimulateTruthShowerTool::finalize
StatusCode finalize()
Definition: PFSimulateTruthShowerTool.cxx:25
PFSimulateTruthShowerTool::simulateShower
void simulateShower(eflowCaloObject &thisEFlowCaloObject) const
Definition: PFSimulateTruthShowerTool.cxx:29
PFSimulateTruthShowerTool::m_lArActiveCaloCalibrationHitReadHandleKey
SG::ReadHandleKey< CaloCalibrationHitContainer > m_lArActiveCaloCalibrationHitReadHandleKey
ReadHandleKey for Active LAr Calibration Hits.
Definition: PFSimulateTruthShowerTool.h:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
PFSimulateTruthShowerTool::PFSimulateTruthShowerTool
PFSimulateTruthShowerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: PFSimulateTruthShowerTool.cxx:12
CaloCalibrationHit
Class to store calorimeter calibration hit.
Definition: CaloCalibrationHit.h:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
eflowCaloObject.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PFSimulateTruthShowerTool::fillMap
void fillMap(std::map< Identifier, double > &identifierToTruthEnergyMap, int barcode, const CaloCalibrationHit &thisCalibHit) const
Definition: PFSimulateTruthShowerTool.cxx:79
AthAlgTool
Definition: AthAlgTool.h:26