|
ATLAS Offline Software
|
Go to the documentation of this file.
18 const std::string&
name,
30 return StatusCode::SUCCESS;
33 std::unique_ptr<HGTD_ClusterCollection>
40 std::unique_ptr<HGTD_ClusterCollection> cluster_collection =
41 std::make_unique<HGTD_ClusterCollection>(id_hash);
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());
117 return cluster_collection;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
def retrieve(aClass, aKey=None)
SiCellId cellIdFromIdentifier(const Identifier &identifier) const override final
SiCellId from Identifier.
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Eigen::Matrix< double, 2, 1 > Vector2D
virtual SiLocalPosition localPositionOfCell(const SiCellId &cellId) const
readout or diode id -> position.
const HGTD_ModuleDesign & design() const override final
access to the local description:
double xPhi() const
position along phi direction:
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
double xEta() const
position along eta direction:
void setHashAndIndex(unsigned short collHash, unsigned short objIndex)
TEMP for testing: might make some classes friends later ...
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual IdentifierHash identifyHash() const override final
pointer nextElementPtr()
obtain the next available element in pool by pointer pool is resized if its limit has been reached On...
void clear()
Erase all the elements in the collection.
const IdentifierHash & identifierHash() const
value_type push_back(value_type pElem)
Add an element to the end of the collection.
InDetDD::HGTD_DetectorElement * getDetectorElement(const Identifier &id) const
access to individual elements : via Identifier
a typed memory pool that saves time spent allocation small object. This is typically used by containe...
const Identifier & identify() const
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
size_type size() const noexcept
Returns the number of elements in the collection.
void setIdentifier(Identifier id)