ATLAS Offline Software
Loading...
Searching...
No Matches
CalibHitToCaloCell.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
11
12#ifndef CALOCALIBHITREC_CALIBHITTOCALOCELL_H
13#define CALOCALIBHITREC_CALIBHITTOCALOCELL_H
14
16#include "GaudiKernel/NTuple.h"
19
20#include <string>
21#include <vector>
22
23typedef std::vector<double> Energy ;
24
25class CaloCell_ID;
26class CaloDM_ID;
27
28class LArCell;
29
31public:
32
33 CalibHitToCaloCell(const std::string& name, ISvcLocator* pSvcLocator);
34
36
37 StatusCode initialize() override;
38 StatusCode execute() override;
39 StatusCode finalize() override;
40
41 void test_energy(Energy*);
42
43private:
44
45 std::string m_tileActiveHitCnt;
47 std::string m_tileDMHitCnt;
48 std::string m_larInactHitCnt;
49 std::string m_larActHitCnt;
50 std::string m_larDMHitCnt;
51
57
58 std::string m_caloCell_Tot;
59 std::string m_caloCell_Vis;
60 std::string m_caloCell_Em;
61 std::string m_caloCell_NonEm;
62
63 const CaloCell_ID* m_caloCell_ID{nullptr};
64 const CaloDM_ID* m_caloDM_ID{nullptr};
65
66 std::vector<LArCell*> m_Cells_Tot;
67 std::vector<LArCell*> m_Cells_Vis;
68 std::vector<LArCell*> m_Cells_Em;
69 std::vector<LArCell*> m_Cells_NonEm;
70
72
74 , "CaloDetDescrManager"
75 , "CaloDetDescrManager"
76 , "SG Key for CaloDetDescrManager in the Condition Store" };
77};
78
79#endif
std::vector< double > Energy
Definition of CaloDetDescrManager.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StatusCode execute() override
virtual ~CalibHitToCaloCell()
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
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
StatusCode finalize() override
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