19 result.push_back(
static_cast<T
>(i));
27 std::vector<T>
convertVector(
const std::vector<unsigned int>& in) {
32 result.push_back(
static_cast<T
>(i));
41 const std::string& name,
42 const IInterface* parent )
46 declareInterface< IJEMEtSumsCnvTool >(
this );
63 if( !xaod->
empty() ) {
65 << xaod->
size() <<
")" );
71 for( ; itr != end; ++itr ) {
76 x->initialize( (uint_least8_t)(*itr)->crate() ,
77 (uint_least8_t)(*itr)->module() ,
81 (uint_least8_t)(*itr)->peak() );
85 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
DataVector< LVL1::JEMEtSums > JEMEtSumsCollection
CLHEP::HepLorentzVector convertVector(const Pythia8::Vec4 v)
DataModel_detail::const_iterator< DataVector > const_iterator
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning 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.
JEMEtSums_v2 JEMEtSums
Define the latest version of the JEMEtSums class.
JEMEtSumsContainer_v2 JEMEtSumsContainer
Define the latest version of the JEMEtSums container.