18 const std::string& name,
19 const IInterface* parent)
20 : base_class(
type, name, parent) {}
30 return StatusCode::SUCCESS;
33std::unique_ptr<HGTD_ClusterCollection>
40 std::unique_ptr<HGTD_ClusterCollection> cluster_collection =
41 std::make_unique<HGTD_ClusterCollection>(id_hash);
47 cluster_collection->setIdentifier(identifier);
48 cluster_collection->reserve(rdo_coll.
size());
53 for (
const auto *
const rdo : rdo_coll) {
64 ATH_MSG_DEBUG(
"Local position: x=" << loc_pos.x() <<
" y=" << loc_pos.y());
67 std::vector<Identifier> rdo_list = {rdo_id};
80 double eta_width = 1.3;
81 double phi_width = 1.3;
82 ATH_MSG_DEBUG(
"eta_width=" << eta_width <<
" phi_width=" << phi_width);
88 float time_of_arrival = rdo->getTOA();
92 std::vector<int> time_over_threshold = {
static_cast<int>(rdo->getTOT())};
110 std::move(time_over_threshold));
113 cluster_collection->size());
115 cluster_collection->push_back(cluster);
117 return cluster_collection;
#define ATH_CHECK
Evaluate an expression and check for errors.
a typed memory pool that saves time spent allocation small object.
pointer nextElementPtr()
obtain the next available element in pool by pointer pool is resized if its limit has been reached On...
size_type size() const noexcept
Returns the number of elements in the collection.
const Identifier & identify() const
const IdentifierHash & identifierHash() const
This is a "hash" representation of an Identifier.
Class to hold geometrical description of an HGTD detector element.
SiCellId cellIdFromIdentifier(const Identifier &identifier) const override final
SiCellId from Identifier.
const HGTD_ModuleDesign & design() const override final
access to the local description:
Class used to describe the design of a module (diode segmentation and readout scheme)
virtual SiLocalPosition localPositionOfCell(const SiCellId &cellId) const
readout or diode id -> position.
Identifier for the strip or pixel cell.
Class to represent a position in the natural frame of a silicon sensor, for Pixel and SCT For Pixel: ...
double xPhi() const
position along phi direction:
double xEta() const
position along eta direction:
void setHashAndIndex(unsigned short collHash, unsigned short objIndex)
TEMP for testing: might make some classes friends later ...
Eigen::Matrix< double, 2, 1 > Vector2D
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts