21 result.push_back(
static_cast<T
>(i));
30 const std::string& name,
31 const IInterface* parent )
35 declareInterface< ICPMTowerCnvTool >(
this );
51 if( !xaod->
empty() ) {
53 << xaod->
size() <<
")" );
59 for( ; itr != end; ++itr ) {
64 x->initialize( (
float)(*itr)->eta() ,
65 (
float)(*itr)->phi() ,
70 (uint8_t)(*itr)->peak() );
75 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
DataVector< LVL1::CPMTower > CPMTowerCollection
Container class for CPMTowers.
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.
CPMTowerContainer_v2 CPMTowerContainer
Define the latest version of the CPMHits container.
CPMTower_v2 CPMTower
Define the latest version of the CPMTower class.