![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include "GaudiKernel/IChronoStatSvc.h"
20 #include "CLHEP/Units/SystemOfUnits.h"
33 ISvcLocator* pSvcLocator)
35 m_caloCellMakerTools(this),
36 m_caloCellsOutputKey(
""),
37 m_chrono(
"ChronoStatSvc",
name)
40 "Will the new container own its cells? Default is no.");
42 "List of tools to run.");
44 "Output container name.");
59 ATH_MSG_DEBUG(
"Successfully retrieved CaloConstCellMakerTools: "
70 return StatusCode::SUCCESS;
90 if (
tool.typeAndName() ==
"CaloCellContainerCheckerTool/CaloCellContainerCheckerTool")
96 std::string chronoName = this->
name() +
"_" +
tool.name();
102 sc =
tool->process(theContainer.
ptr(), ctx);
109 if (
sc.isFailure()) {
115 return StatusCode::SUCCESS;
ToolHandleArray< ICaloConstCellMakerTool > m_caloCellMakerTools
Property: List of tools to run.
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
ServiceHandle< IChronoStatSvc > m_chrono
For timekeeping.
Exception-safe IChronoSvc caller.
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual StatusCode execute(const EventContext &ctx) const override
Standard Gaudi execute method.
An algorithm that can be simultaneously executed in multiple threads.
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Exception-safe IChronoSvc caller.
@ OWN_ELEMENTS
this data object owns its elements
CaloConstCellMaker(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
int m_ownPolicy
Property: Will the new CellContainer will own its cells (default no)?
SG::WriteHandleKey< CaloConstCellContainer > m_caloCellsOutputKey
Property: Output container key.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Helpers for checking error return status codes and reporting errors.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.