ATLAS Offline Software
Loading...
Searching...
No Matches
CaloConstCellMaker.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
14
15
16#ifndef CALOREC_CALOCONSTCELLMAKER_H
17#define CALOREC_CALOCONSTCELLMAKER_H
18
19
21#include "GaudiKernel/ServiceHandle.h"
22#include "GaudiKernel/ToolHandle.h"
26class IChronoStatSvc;
27
28
38{
39public:
45 CaloConstCellMaker(const std::string& name, ISvcLocator* pSvcLocator);
46
47
49 virtual StatusCode initialize() override;
50
52 virtual StatusCode execute(const EventContext& ctx) const override;
53
54
55private:
57 Gaudi::Property<int> m_ownPolicy{this, "OwnPolicy", static_cast<int>(SG::VIEW_ELEMENTS), "Will the new container own its cells? Default is no."};
58
60 ToolHandleArray<ICaloConstCellMakerTool> m_caloCellMakerTools{this, "CaloCellMakerTools", {}, "List of tools to run."};
61
63 SG::WriteHandleKey<CaloConstCellContainer> m_caloCellsOutputKey{this, "CaloCellsOutputName", "", "Output container name."};
64
67};
68
69
70#endif // CALOREC_CALOCONSTCELLMAKER_H
CaloCellContainer that can accept const cell pointers.
Operate on pointers to const CaloCell.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
CaloConstCellMaker(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
ServiceHandle< IChronoStatSvc > m_chrono
For timekeeping.
ToolHandleArray< ICaloConstCellMakerTool > m_caloCellMakerTools
Property: List of tools to run.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
virtual StatusCode execute(const EventContext &ctx) const override
Standard Gaudi execute method.
SG::WriteHandleKey< CaloConstCellContainer > m_caloCellsOutputKey
Property: Output container key.
Gaudi::Property< int > m_ownPolicy
Property: Will the new CellContainer will own its cells (default no)?
Property holding a SG store/key/clid from which a WriteHandle is made.
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts