ATLAS Offline Software
Loading...
Searching...
No Matches
TestCaloDataAccess.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TrigT2CaloCommon_TestCaloDataAccess_h
5#define TrigT2CaloCommon_TestCaloDataAccess_h
6
7#include <string>
8
11
13
21{
22 public:
23
24 TestCaloDataAccess( const std::string& name, ISvcLocator* pSvcLocator );
25 virtual ~TestCaloDataAccess();
26 virtual StatusCode initialize() override;
27 virtual StatusCode execute(const EventContext& context) const override;
28
29 private:
31 void emulateRoIs( const EventContext& context, std::vector<ParallelCallTest*>& allRoIs ) const;
32 void emulateFixedRoIs( const EventContext& context, std::vector<ParallelCallTest*>& allRoIs ) const;
34
38};
39
40
41#endif
An algorithm that can be simultaneously executed in multiple threads.
Provides interface and helper functions to perform stress testing of the thread-safe code.
ServiceHandle< ITrigCaloDataAccessSvc > m_dataAccessSvc
virtual StatusCode initialize() override
TestCaloDataAccess(const std::string &name, ISvcLocator *pSvcLocator)
void emulateFixedRoIs(const EventContext &context, std::vector< ParallelCallTest * > &allRoIs) const
void emulateRoIs(const EventContext &context, std::vector< ParallelCallTest * > &allRoIs) const
virtual StatusCode execute(const EventContext &context) const override