29#include "CaloDetDescr/CaloDetDescrElement.h"
77 return StatusCode::SUCCESS;
92 ATH_CHECK( cellContainer.
record(std::make_unique<CaloCellContainer>()) );
99 if(!beamElemContainer.
isValid()) {
113 std::vector<unsigned int> amp = beamElem->get_digits();
114 float ener = amp[0] *
m_tileInfo->BeamElemChannelCalib(adc_id);
120 std::unique_ptr<TileCell> cell = std::make_unique<TileCell>(
nullptr, cell_ID, ener);
121 cellContainer->push_back(cell.release());
132 return StatusCode::SUCCESS;
146 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_WARNING(x)
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
SelectAllObjectMT< DCC, OBJECT > SelectAllObject
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
const ServiceHandle< StoreGateSvc > & detStore() const
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
const TileHWID * m_tileHWID
const TileTBID * m_tileTBID
const TileDetDescrManager * m_tileMgr
SG::WriteHandleKey< CaloCellContainer > m_cellContainerKey
const TileInfo * m_tileInfo
SG::ReadHandleKey< TileBeamElemContainer > m_beamElemContainerKey
virtual ~TileBeamElemToCell()
TileBeamElemToCell(const std::string &name, ISvcLocator *pSvcLocator)