21 result.push_back(
static_cast<T
>(i));
30 const std::string& name,
31 const IInterface* parent )
35 declareInterface< IJetElementCnvTool >(
this );
52 if( !xaod->
empty() ) {
54 << xaod->
size() <<
")" );
60 for( ; itr != end; ++itr ) {
65 x->initialize( (
float)(*itr)->eta() ,
66 (
float)(*itr)->phi() ,
73 (uint8_t)(*itr)->peak() );
77 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
DataVector< LVL1::JetElement > JetElementCollection
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.
JetElementContainer_v2 JetElementContainer
Define the latest version of the JetElement container.
JetElement_v2 JetElement
Define the latest version of the JetElement class.