ATLAS Offline Software
Loading...
Searching...
No Matches
LArCellBuilderFromLArRawChannelTool.h
Go to the documentation of this file.
1//Dear emacs, this is -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef LARCELLREC_LARCELLBUILDERFROMLARRAWCHANNELTOOL_H
8#define LARCELLREC_LARCELLBUILDERFROMLARRAWCHANNELTOOL_H
22
24#include "GaudiKernel/ToolHandle.h"
27
36
38class CaloCell_ID;
40class LArCell;
41
50
51
53 : public extends<AthAlgTool, ICaloCellMakerTool>
54{
55public:
59 using base_class::base_class;
64
74 virtual StatusCode initialize() override;
75
83 virtual StatusCode process (CaloCellContainer* theCellContainer,
84 const EventContext& ctx) const override;
85
86private:
87
88 SG::ReadHandleKey<LArRawChannelContainer> m_rawChannelsKey{this,"RawChannelsName","LArRawChannels","Name of input container"};
89 Gaudi::Property<bool> m_addDeadOTX{this,"addDeadOTX",true,"Add dummy cells for missing FEBs"};
90 Gaudi::Property<int> m_initialDataPoolSize{this,"InitialCellPoolSize",-1,"Initial size of the DataPool<LArCells> (-1: Use nCells)"};
91
92 //Internally used variables
93 unsigned m_nTotalCells=0;
94
95
96 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"LArCablingKey","LArOnOffIdMap","Key of conditions data object holding cabling"};
97 const LArOnlineID* m_onlineID=nullptr;
98 const CaloCell_ID* m_caloCID=nullptr;
99 SG::ReadCondHandleKey<LArBadFebCont> m_missingFebKey{this,"MissingFebKey","LArBadFeb","Key of conditions data object holding bad-feb info"};
100
101 SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey{this,"CaloDetDescrManager", "CaloDetDescrManager"};
102
103
104};
105
106
107#endif
108
109
110
111
112
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Building LArCell objects from LArRawChannel.
unsigned m_nTotalCells
Number of cells, set in Initialize()
Gaudi::Property< bool > m_addDeadOTX
activate addition of missing cells from dead OTX
SG::ReadCondHandleKey< LArBadFebCont > m_missingFebKey
SG::ReadHandleKey< LArRawChannelContainer > m_rawChannelsKey
rdo container name (jO)
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Gaudi::Property< int > m_initialDataPoolSize
Initial size of DataPool<LArCell>
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
virtual StatusCode initialize() override
Initialize method.
virtual ~LArCellBuilderFromLArRawChannelTool()=default
Destructor, deletes the MsgService.
Data object for LAr calorimeter readout cell.
Definition LArCell.h:53
Property holding a SG store/key/clid from which a ReadHandle is made.
const std::string process