|
ATLAS Offline Software
|
Go to the documentation of this file.
30 const std::string&
name,
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() ,
66 convertVector<uint8_t>((*itr)->emEnergyVec() ) ,
67 convertVector<uint8_t>((*itr)->hadEnergyVec() ) ,
68 convertVector<uint32_t>((*itr)->emErrorVec() ) ,
69 convertVector<uint32_t>((*itr)->hadErrorVec() ) ,
75 return StatusCode::SUCCESS;
Const iterator class for DataVector/DataList.
CLHEP::HepLorentzVector convertVector(const Pythia8::Vec4 v)
CPMTower_v2 CPMTower
Define the latest version of the CPMTower class.
::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.
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.
Description of CPMTower_v2.