![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #include "GaudiKernel/StatusCode.h"
18 ISvcLocator* pSvcLocator)
31 return StatusCode::SUCCESS;
40 return StatusCode::SUCCESS;
45 if (bcm_compact_DO.
record(std::make_unique<BCM_RDO_Container>()).isFailure()) {
47 return StatusCode::FAILURE;
54 std::unique_ptr<BCM_RDO_Collection> my_collection(std::make_unique<BCM_RDO_Collection>() );
58 int bcm_pulse1width = RDO_element->getPulse1Width();
59 int bcm_pulse2width = RDO_element->getPulse2Width();
60 if ((bcm_pulse1width != 0) || (bcm_pulse2width !=0)) {
66 if (!my_collection->
empty()) {
68 bcm_compact_DO->
push_back(my_collection.release());
73 return StatusCode::SUCCESS;
77 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StatusCode execute(const EventContext &ctx) const override
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< BCM_RDO_Container > m_bcmOutputName
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode finalize() override
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
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.
BCM_ZeroSuppression(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
StatusCode initialize() override
SG::ReadHandleKey< BCM_RDO_Container > m_bcmContainerName
A data member to contain the name of the BCM RDO that contains the input BCM information.
Handle class for reading from StoreGate.
bool empty() const noexcept
Returns true if the collection is empty.