|
ATLAS Offline Software
|
#include <SinglePadClusterTool.h>
Definition at line 28 of file SinglePadClusterTool.h.
◆ SinglePadClusterTool()
HGTD::SinglePadClusterTool::SinglePadClusterTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ clusterize()
Definition at line 34 of file SinglePadClusterTool.cxx.
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;
◆ initialize()
StatusCode HGTD::SinglePadClusterTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ m_cluster_maker
◆ m_hgtd_det_mgr
The documentation for this class was generated from the following files:
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:
double xEta() const
position along eta direction:
void setHashAndIndex(unsigned short collHash, unsigned short objIndex)
TEMP for testing: might make some classes friends later ...
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
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)