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