Forked from
atlas / athena
146408 commits behind, 11048 commits ahead of the upstream repository.
-
Scott Snyder authored
* Tagging DataModelTestDataRead-01-03-41. * CMakeLists.txt: Remove reference to CLHEP_INCLUDE_DIRS. 2016-11-22 scott snyder <snyder@bnl.gov> * Tagging DataModelTestDataRead-01-03-40. * Turn on hideErrorLocus. 2016-11-15 scott snyder <snyder@bnl.gov> * Tagging DataModelTestDataRead-01-03-39. * Make HLTResultReader non-reentrant, since it has to call the non-const method NavigationCore::prepare(). 2016-10-12 scott snyder <snyder@bnl.gov> * Tagging DataModelTestDataRead-01-03-38. * CMakeLists.txt: Link library list fix. ... (Long ChangeLog diff - truncated)
Scott Snyder authored* Tagging DataModelTestDataRead-01-03-41. * CMakeLists.txt: Remove reference to CLHEP_INCLUDE_DIRS. 2016-11-22 scott snyder <snyder@bnl.gov> * Tagging DataModelTestDataRead-01-03-40. * Turn on hideErrorLocus. 2016-11-15 scott snyder <snyder@bnl.gov> * Tagging DataModelTestDataRead-01-03-39. * Make HLTResultReader non-reentrant, since it has to call the non-const method NavigationCore::prepare(). 2016-10-12 scott snyder <snyder@bnl.gov> * Tagging DataModelTestDataRead-01-03-38. * CMakeLists.txt: Link library list fix. ... (Long ChangeLog diff - truncated)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
xAODTestReadCView.h 1.47 KiB
// This file's extension implies that it's C, but it's really -*- C++ -*-.
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// $Id$
/**
* @file src/xAODTestReadCView.h
* @author scott snyder <snyder@bnl.gov>
* @date Oct, 2016
* @brief Algorithm to test reading xAOD data (CView)
*/
#ifndef DATAMODELTESTDATAREAD_XAODTESTREADCVIEW_H
#define DATAMODELTESTDATAREAD_XAODTESTREADCVIEW_H
#include "DataModelTestDataCommon/CView.h"
#include "AthenaBaseComps/AthReentrantAlgorithm.h"
#include "StoreGate/ReadHandleKey.h"
#include "StoreGate/WriteHandleKey.h"
namespace DMTest {
/**
* @brief Algorithm to test reading xAOD data (CView).
*/
class xAODTestReadCView
: public AthReentrantAlgorithm
{
public:
/**
* @brief Constructor.
* @param name The algorithm name.
* @param svc The service locator.
*/
xAODTestReadCView (const std::string &name, ISvcLocator *pSvcLocator);
/**
* @brief Algorithm initialization; called at the beginning of the job.
*/
virtual StatusCode initialize() override;
/**
* @brief Algorithm event processing.
*/
virtual StatusCode execute_r (const EventContext& ctx) const override;
/**
* @brief Algorithm finalization; called at the end of the job.
*/
virtual StatusCode finalize() override;
private:
SG::ReadHandleKey<DMTest::CView> m_cviewKey;
SG::WriteHandleKey<DMTest::CView> m_writeKey;
};
} // namespace DMTest
#endif // not DATAMODELTESTDATAREAD_XAODTESTREADCVIEW_H