  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   10 #include <GaudiKernel/ServiceHandle.h> 
   43   return StatusCode::SUCCESS;
 
   51     if (!readHandleEvtShape.
isValid()) {
 
   53       return(StatusCode::FAILURE);
 
   55     evtShape_const = readHandleEvtShape.
cptr();
 
   59     auto evtShape=std::make_unique<xAOD::HIEventShapeContainer>();
 
   60     auto evtShapeAux=std::make_unique<xAOD::HIEventShapeAuxContainer>();
 
   61     evtShape->setStore(evtShapeAux.get());
 
   72     ATH_CHECK( writeHandleEvtShape.
record(std::move(evtShape), std::move(evtShapeAux)) );
 
   74     evtShape_const = writeHandleEvtShape.
cptr();
 
   82     ATH_CHECK(write_handle_esSummary.
record(std::make_unique<xAOD::HIEventShapeContainer>(),
 
   83       std::make_unique<xAOD::HIEventShapeAuxContainer>()));
 
   90   return StatusCode::SUCCESS;
 
   96   return StatusCode::SUCCESS;
 
  103   buffer << std::endl << 
"|############|############|############|############|############|" << std::endl;
 
  104   buffer << 
"|" << std::setw(10) << 
"EtaMin" << 
"  |"\
 
  105     << std::setw(10) << 
"EtaMax" << 
"  |"\
 
  106     << std::setw(10) << 
"Layer" << 
"  |"\
 
  107     << std::setw(10) << 
"NCells" << 
"  |"\
 
  108     << std::setw(10) << 
"Et" << 
"  |"<< std::endl;
 
  110   for (
unsigned int i = 0;
i < 
size;
i++) {
 
  112     int NCells = 
sh->nCells();
 
  118     if (Et == 0) 
continue;
 
  120       << std::setw(10) << 
EtaMax << 
"  |"\
 
  121       << std::setw(10) << 
Layer << 
"  |"\
 
  122       << std::setw(10) << NCells << 
"  |"\
 
  123       << std::setw(10) << Et << 
"  |" <<std::endl;
 
  125   buffer << 
"|############|############|############|############|############|" << std::endl;
 
  
HIEventShapeMaker(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
 
const_pointer_type cptr()
Dereference the pointer.
 
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
 
std::string PrintHIEventShapeContainer(const xAOD::HIEventShapeContainer *Container) const
 
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_towerContainerKey
 
const_pointer_type cptr() const
Dereference the pointer.
 
virtual StatusCode initialize() override
 
bool empty() const
Test if the key is blank.
 
An algorithm that can be simultaneously executed in multiple threads.
 
storage of the time histories of all the cells
 
Interface class for the HI reconstruction EDM.
 
Handle class for recording to StoreGate.
 
SG::ReadHandleKey< xAOD::HIEventShapeContainer > m_readExistingKey
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
pointer_type ptr()
Dereference the pointer.
 
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?
 
Gaudi::Property< bool > m_summaryOnly
 
virtual StatusCode execute(const EventContext &ctx) const override
 
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
 
ToolHandle< IHIEventShapeSummaryTool > m_summaryTool
 
Handle class for reading from StoreGate.
 
virtual StatusCode finalize() override
 
ToolHandle< IHIEventShapeFiller > m_HIEventShapeFillerTool
 
SG::ReadHandleKey< INavigable4MomentumCollection > m_naviContainerKey
 
SG::WriteHandleKey< xAOD::HIEventShapeContainer > m_outputKey
 
SG::WriteHandleKey< xAOD::HIEventShapeContainer > m_summaryKey