|
ATLAS Offline Software
|
Go to the documentation of this file.
23 return StatusCode::SUCCESS;
35 ATH_MSG_ERROR(
"Could not get background jets container " << bkgContainer.
name() <<
" from store " << bkgContainer.
store());
36 return StatusCode::FAILURE;
38 ATH_MSG_DEBUG(
"Found background jets container " << bkgContainer.
name() <<
" in store " << bkgContainer.
store());
42 ATH_CHECK(outputContainer.
record(std::make_unique<xAOD::JetContainer>(), std::make_unique<xAOD::JetAuxContainer>()));
43 if (!outputContainer.
isValid()) {
44 ATH_MSG_ERROR(
"Could not record output jet container " << outputContainer.
name() <<
" to store " << outputContainer.
store());
45 return StatusCode::FAILURE;
47 ATH_MSG_DEBUG(
"Recorded output jet container " << outputContainer.
name() <<
" in store " << outputContainer.
store());
58 return StatusCode::SUCCESS;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
const_pointer_type cptr()
Dereference the pointer.
SG::ReadHandleKey< xAOD::JetContainer > m_bkgInputKey
virtual StatusCode execute(const EventContext &ctx) const override
const std::string & name() const
Return the StoreGate ID for the referenced object.
SG::WriteHandleKey< xAOD::JetContainer > m_outputKey
#define ATH_MSG_VERBOSE(x)
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string store() const
Return the name of the store holding the object we are proxying.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual bool isValid() override final
Can the handle be successfully dereferenced?
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
CopyJetTruthInfo(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
size_type size() const noexcept
Returns the number of elements in the collection.
Jet_v1 Jet
Definition of the current "jet version".