|
ATLAS Offline Software
|
Go to the documentation of this file.
17 const std::string&
name,
22 declareInterface< ICMMCPHitsCnvTool >(
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)->HitsVec0() , (*itr)->HitsVec1() , (*itr)->ErrorVec0() , (*itr)->ErrorVec1() );
58 return StatusCode::SUCCESS;
Const iterator class for DataVector/DataList.
Description of CMMCPHits_v1.
::StatusCode StatusCode
StatusCode definition for legacy code.
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.
#define ATH_MSG_WARNING(x)
size_type size() const noexcept
Returns the number of elements in the collection.
CMMCPHits_v1 CMMCPHits
Define the latest version of the CMMCPHits class.
bool empty() const noexcept
Returns true if the collection is empty.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.