ATLAS Offline Software
Loading...
Searching...
No Matches
CalibHitToCaloCell.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
11
12#ifndef CALOCALIBHITREC_CALIBHITTOCALOCELL_H
13#define CALOCALIBHITREC_CALIBHITTOCALOCELL_H
14
18
19#include <string>
20#include <vector>
21
22class CaloCell_ID;
23class CaloDM_ID;
24
25class LArCell;
26
28public:
29
30 CalibHitToCaloCell(const std::string& name, ISvcLocator* pSvcLocator);
31
33
34 virtual StatusCode initialize() override;
35 virtual StatusCode execute() override;
36
37private:
38 std::string m_tileActiveHitCnt{"TileCalibHitActiveCell"};
39 std::string m_tileInactiveHitCnt{"TileCalibHitInactiveCell"};
40 std::string m_tileDMHitCnt{"TileCalibHitDeadMaterial"};
41 std::string m_larInactHitCnt{"LArCalibrationHitInactive"};
42 std::string m_larActHitCnt{"LArCalibrationHitActive"};
43 std::string m_larDMHitCnt{"LArCalibrationHitDeadMaterial"};
44
45 bool m_store_Tot{false};
46 bool m_store_Vis{false};
47 bool m_store_Em{false};
48 bool m_store_NonEm{false};
49
50 Gaudi::Property<bool> m_storeUnknown{this, "StoreUnknownCells", false};
51
52 Gaudi::Property<std::string> m_caloCell_Tot{this, "CellTotEne", "TotalCalibCell"};
53 Gaudi::Property<std::string> m_caloCell_Vis{this, "CellVisEne", "VisCalibCell"};
54 Gaudi::Property<std::string> m_caloCell_Em{this, "CellEmEne", ""};
55 Gaudi::Property<std::string> m_caloCell_NonEm{this, "CellNonEmEne", ""};
56
57 const CaloCell_ID* m_caloCell_ID{nullptr};
58 const CaloDM_ID* m_caloDM_ID{nullptr};
59
60 std::vector<LArCell*> m_Cells_Tot;
61 std::vector<LArCell*> m_Cells_Vis;
62 std::vector<LArCell*> m_Cells_Em;
63 std::vector<LArCell*> m_Cells_NonEm;
64
65 int m_nchan{0};
66
68 , "CaloDetDescrManager"
69 , "CaloDetDescrManager"
70 , "SG Key for CaloDetDescrManager in the Condition Store" };
71};
72
73#endif
Definition of CaloDetDescrManager.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute() override
virtual ~CalibHitToCaloCell()
virtual StatusCode initialize() override
const CaloCell_ID * m_caloCell_ID
std::vector< LArCell * > m_Cells_Vis
std::vector< LArCell * > m_Cells_Tot
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Gaudi::Property< std::string > m_caloCell_Vis
Gaudi::Property< std::string > m_caloCell_NonEm
std::string m_tileActiveHitCnt
const CaloDM_ID * m_caloDM_ID
std::string m_tileInactiveHitCnt
CalibHitToCaloCell(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< LArCell * > m_Cells_NonEm
std::vector< LArCell * > m_Cells_Em
Gaudi::Property< std::string > m_caloCell_Tot
Gaudi::Property< std::string > m_caloCell_Em
Gaudi::Property< bool > m_storeUnknown
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Helper class for Calo Dead Material offline identifiers.
Definition CaloDM_ID.h:102
Data object for LAr calorimeter readout cell.
Definition LArCell.h:53