|
ATLAS Offline Software
|
Go to the documentation of this file.
19 m_cellContainerV(
"CaloClusters"),
30 return StatusCode::SUCCESS;
41 if ( !roiCollection ){
43 return StatusCode::SUCCESS;
46 for(
auto c : *roiCollection ) {
sum+=
c->et();
cc++;}
56 if ( roiDescriptor->size() > 0 ) {
58 for(
auto c : *roiDescriptor ) {
sum+=
c->et();
cc++;}
64 return StatusCode::SUCCESS;
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
virtual StatusCode execute(const EventContext &context) const override
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
HLTCaloCellSumMaker(const std::string &name, ISvcLocator *pSvcLocator)
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< ConstDataVector< CaloCellContainerVector > > m_cellContainerVKey
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
virtual StatusCode initialize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Container class for CaloCell.
DataVector adapter that acts like it holds const pointers.