|
ATLAS Offline Software
|
Go to the documentation of this file.
8 const std::string&
name,
17 return StatusCode::SUCCESS;
22 const EventContext& ctx)
const {
26 CHECK(h_caloCells.isValid());
28 auto allCaloCells = *h_caloCells;
33 ATH_MSG_ERROR(
"CaloCellCollection does not contain LAREM cells");
34 return StatusCode::FAILURE;
37 std::vector<const CaloCell*>
44 calocell_id->calo_sample(calocell_id->calo_cell_hash(
cell->ID())) ==
49 std::vector<const CaloCell*> emb1_cells;
52 std::back_inserter(emb1_cells),
55 cells.push_back(emb1_cells);
57 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
SG::ReadHandleKey< CaloCellContainer > m_caloCellsKey
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
::StatusCode StatusCode
StatusCode definition for legacy code.
Out copy_if(In first, const In &last, Out res, const Pred &p)
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual StatusCode cells(std::vector< std::vector< const CaloCell * >> &, const EventContext &) const override
EMB1CellsFromCaloCells(const std::string &type, const std::string &name, const IInterface *parent)
const CaloCell_ID * m_calocell_id
Data object for each calorimeter readout cell.
virtual StatusCode initialize() override