#include <EMB1CellsFromCaloClusters.h>
Definition at line 16 of file EMB1CellsFromCaloClusters.h.
◆ EMB1CellsFromCaloClusters()
EMB1CellsFromCaloClusters::EMB1CellsFromCaloClusters |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~EMB1CellsFromCaloClusters()
virtual EMB1CellsFromCaloClusters::~EMB1CellsFromCaloClusters |
( |
| ) |
|
|
inlinevirtual |
◆ cells()
StatusCode EMB1CellsFromCaloClusters::cells |
( |
std::vector< std::vector< const CaloCell * >> & |
cells, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
overridevirtual |
Definition at line 21 of file EMB1CellsFromCaloClusters.cxx.
26 CHECK(h_caloClusters.isValid());
28 auto dvec = *h_caloClusters;
29 ATH_MSG_DEBUG(
"number of retrieved clusters: " << dvec.size());
37 calocell_id->calo_sample(calocell_id->calo_cell_hash(
cell->ID())) ==
44 for(
const auto cl : dvec){
45 const auto *cell_links =
cl->getCellLinks();
48 return StatusCode::FAILURE;
50 ATH_MSG_DEBUG(
"Number of cells from cell_links " << cell_links->size());
54 auto c_iter = cell_links->begin();
55 auto c_end = cell_links->end();
57 std::vector<const CaloCell*> cluster_cells;
60 std::back_inserter(cluster_cells),
66 if (cluster_cells.size() > 1) {
67 cells.push_back(cluster_cells);
71 return StatusCode::SUCCESS;
◆ initialize()
StatusCode EMB1CellsFromCaloClusters::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_caloClustersKey
Initial value:{
this, "caloClusters", "CaloTopoClusters",
"key to read in a CaloCluster container"}
Definition at line 33 of file EMB1CellsFromCaloClusters.h.
The documentation for this class was generated from the following files: