ATLAS Offline Software
Loading...
Searching...
No Matches
CalibHitToCaloCellTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
12
13#ifndef CALOCALIBHITREC_CALIBHITTOCALOCELLTOOL_H
14#define CALOCALIBHITREC_CALIBHITTOCALOCELLTOOL_H
15
21
22#include <string>
23#include <vector>
24
25class CaloCell_ID;
26class CaloDM_ID;
27
28class CaloCell;
31
32static const InterfaceID IID_CalibHitToCaloCellTool("CalibHitToCaloCellTool", 1, 0);
33
37
38class CalibHitToCaloCellTool: virtual public AthAlgTool {
39
40 public:
41 CalibHitToCaloCellTool(const std::string& t, const std::string& n, const IInterface* p);
43 StatusCode initialize() override;
44 StatusCode processCalibHitsFromParticle() const;
45 StatusCode finalize() override;
46
47 static const InterfaceID& interfaceID() { return IID_CalibHitToCaloCellTool;}
48
49 private:
51 std::vector<std::string> m_calibHitContainerNames;
52
53 std::string m_tileActiveHitCnt;
55 std::string m_tileDMHitCnt;
56 std::string m_larInactHitCnt;
57 std::string m_larActHitCnt;
58 std::string m_larDMHitCnt;
59
61
62 std::string m_caloCell_Tot;
63 std::string m_caloCell_Vis;
64 std::string m_caloCell_Em;
65 std::string m_caloCell_NonEm;
66
67 const CaloCell_ID* m_caloCell_ID{nullptr};
68 const CaloDM_ID* m_caloDM_ID{nullptr};
69
71 , "CaloDetDescrManager"
72 , "CaloDetDescrManager"
73 , "SG Key for CaloDetDescrManager in the Condition Store" };
74
77
81
82 const std::array<std::string, 3> m_energyTypeToStr{"Eem","Evis","Etot"};
83
84};
85
86#endif
static const InterfaceID IID_CalibHitToCaloCellTool("CalibHitToCaloCellTool", 1, 0)
Definition of CaloDetDescrManager.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
SG::WriteHandleKeyArray< CaloCellContainer > m_cellContKeys
SG::WriteHandleKeyArray< CaloClusterCellLinkContainer > m_cellLinkKeys
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
CalibHitToCaloCellTool(const std::string &t, const std::string &n, const IInterface *p)
const std::array< std::string, 3 > m_energyTypeToStr
static const InterfaceID & interfaceID()
std::vector< std::string > m_calibHitContainerNames
SG::WriteHandleKeyArray< xAOD::CaloClusterContainer > m_clusterContKeys
StatusCode processCalibHitsFromParticle() const
const CaloCell_ID * m_caloCell_ID
StatusCode initialize() override
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
Helper class for Calo Dead Material offline identifiers.
Definition CaloDM_ID.h:102
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray