 |
ATLAS Offline Software
|
Go to the documentation of this file.
28 auto pPedestal = std::make_unique<ExampleHitContainer>();
29 auto pEntry = std::make_unique<ExampleHit>();
30 pEntry->setDetector(
"<");
31 pPedestal->push_back(std::move(pEntry));
36 return StatusCode::SUCCESS;
47 ATH_MSG_INFO(
"Hit x = " << hit->getX() <<
" y = " << hit->getY() <<
" z = " << hit->getZ() <<
" detector = " << hit->getDetector());
56 return StatusCode::SUCCESS;
66 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
WriteCond(const std::string &name, ISvcLocator *pSvcLocator)
void setY(double y)
Set the Y coordinate.
Gaudi::Property< double > m_weight
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
An algorithm that can be simultaneously executed in multiple threads.
This file contains the class definition for the WriteCond class.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode stop() override final
virtual StatusCode initialize() override final
Gaudi Service Interface method implementations:
This class provides a dummy hit data object for AthenaPool.
Gaudi::Property< double > m_offset
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
void setX(double x)
Set the X coordinate.
const std::string & getDetector() const
Gaudi::Property< std::string > m_conditionName
This file contains the class definition for the ExampleHitContainer class.
Handle class for reading from StoreGate.
This class provides a data vector for ExampleHit objects in AthenaPool.
virtual StatusCode execute(const EventContext &ctx) const override final
void setZ(double z)
Set the Z coordinate.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
SG::ReadHandleKey< ExampleHitContainer > m_exampleHitKey
void setDetector(const std::string &detector)
Set the detector string.