17 const std::string& name,
18 const IInterface* parent )
22 declareInterface< ICMMJetHitsCnvTool >(
this );
38 if( !xaod->
empty() ) {
40 << xaod->
size() <<
")" );
46 for( ; itr != end; ++itr ) {
51 x->setCrate( (*itr)->crate() );
52 x->setDataID( (*itr)->dataID() );
53 x->setPeak( (*itr)->peak() );
54 x->addHits( (*itr)->HitsVec() , (*itr)->ErrorVec() );
58 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
DataVector< LVL1::CMMJetHits > CMMJetHitsCollection
Container class for CMMJetHits objects.
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.
CMMJetHits_v1 CMMJetHits
Define the latest version of the CMMJetHits class.
CMMJetHitsContainer_v1 CMMJetHitsContainer
Define the latest version of the CMMJetHits container.