10 const std::string& name,
11 const IInterface* parent):
12 base_class(
type, name, parent){
17 return StatusCode::SUCCESS;
22 const EventContext& ctx)
const {
30 const auto& allCaloCells = *h_caloCells;
33 if(!allCaloCells.checkOrderedAndComplete()){
35 return StatusCode::FAILURE;
41 auto EMBE1_sel = [](
const CaloCell* cell) {
42 if (cell->caloDDE()->getSampling() == CaloCell_Base_ID::EMB1 || cell->caloDDE()->getSampling() == CaloCell_Base_ID::EME1){
52 std::back_inserter(
cells),
56 return StatusCode::SUCCESS;
#define CHECK(...)
Evaluate an expression and check for errors.
Data object for each calorimeter readout cell.
SG::ReadHandleKey< CaloCellContainer > m_caloCellsKey
virtual StatusCode initialize() override
virtual StatusCode cells(std::vector< const CaloCell * > &, const EventContext &) const override
EMBE1CellsFromCaloCells(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< bool > m_makeCaloCellContainerChecks
virtual bool isValid() override final
Can the handle be successfully dereferenced?
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())