|
ATLAS Offline Software
|
Go to the documentation of this file.
27 std::vector<T>
convertVector(
const std::vector<unsigned int>& in) {
41 const std::string&
name,
46 declareInterface< IJEMEtSumsCnvTool >(
this );
63 if( !xaod->
empty() ) {
65 << xaod->
size() <<
")" );
71 for( ; itr !=
end; ++itr ) {
76 x->initialize( (uint_least8_t)(*itr)->crate() ,
77 (uint_least8_t)(*itr)->module() ,
78 convertVector<uint_least16_t>((*itr)->EtVec()) ,
79 convertVector<uint_least16_t>((*itr)->ExVec()) ,
80 convertVector<uint_least16_t>((*itr)->EyVec()) ,
81 (uint_least8_t)(*itr)->peak() );
85 return StatusCode::SUCCESS;
Const iterator class for DataVector/DataList.
JEMEtSums_v2 JEMEtSums
Define the latest version of the JEMEtSums class.
CLHEP::HepLorentzVector convertVector(const Pythia8::Vec4 v)
::StatusCode StatusCode
StatusCode definition for legacy code.
Description of JEMEtSums_v2.
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.