21 result.push_back(
static_cast<T
>(i));
30 const std::string& name,
31 const IInterface* parent )
36 declareInterface< ITriggerTowerCnvTool >(
this );
53 if( !xaod->
empty() ) {
55 << xaod->
size() <<
")" );
59 for(
const auto *
const tt : *esd) {
72 std::vector<int_least16_t>(tt->emLUT().size(), 0),
73 std::vector<uint_least8_t>(tt->emLUT().size(), 0u),
77 std::vector<uint_least8_t>(tt->emLUT().size(), 0u),
78 static_cast<uint_least16_t
>(tt->emError()),
79 static_cast<uint_least8_t
>(tt->emPeak()),
80 static_cast<uint_least8_t
>(tt->emADCPeak()));
91 std::vector<int_least16_t>(tt->hadLUT().size(), 0),
92 std::vector<uint_least8_t>(tt->hadLUT().size(), 0u),
96 std::vector<uint_least8_t>(tt->hadLUT().size(), 0u),
97 static_cast<uint_least16_t
>(tt->hadError()),
98 static_cast<uint_least8_t
>(tt->hadPeak()),
99 static_cast<uint_least8_t
>(tt->hadADCPeak()));
102 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
DataVector< LVL1::TriggerTower > TriggerTowerCollection
CLHEP::HepLorentzVector convertVector(const Pythia8::Vec4 v)
value_type push_back(value_type pElem)
Add an element to the end of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.
TriggerTowerContainer_v2 TriggerTowerContainer
Define the latest version of the TriggerTower container.
TriggerTower_v2 TriggerTower
Define the latest version of the TriggerTower class.