5#ifndef TILESIMEVENT_TILEHITVECTORCELLBUILDER_H
6#define TILESIMEVENT_TILEHITVECTORCELLBUILDER_H
8#include "Identifier/Identifier.h"
24template <std::
size_t NCells>
39 m_hits[
index] = std::make_unique<TileSimHit>(
id, energy, time, deltaT);
54 std::array<std::unique_ptr<TileSimHit>, NCells>
m_hits{};
AtlasHitsVector< TileHit > TileHitVector
void Insert(const TileHit &h)
bool HasHit(std::size_t index) const
void AddHit(std::size_t index, Identifier id, double energy, double time=0.0, double deltaT=0.0)
TileHitVectorCellBuilder(const std::string &collectionName)
std::array< std::unique_ptr< TileSimHit >, NCells > m_hits
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)