![]()  | 
  
    ATLAS Offline Software
    
   | 
 
a wrapper around a CP tool in xAOD mdoe to call it in the PHYSLITE test More...
#include <IXAODToolCaller.h>
Public Types | |
| using | EventStoreType = std::decay_t< decltype(*std::declval< asg::AsgTool >().evtStore())> | 
| the type used for the event store  More... | |
Public Member Functions | |
| virtual | ~IXAODToolCaller () noexcept=default | 
| virtual StatusCode | retrieve (EventStoreType &evtStore)=0 | 
| retrieve everything we need from the event store  More... | |
| virtual StatusCode | copyRecord (EventStoreType &evtStore, const std::string &postfix)=0 | 
| do any copying and recording needed  More... | |
| virtual StatusCode | call ()=0 | 
| call the tool for a single event  More... | |
a wrapper around a CP tool in xAOD mdoe to call it in the PHYSLITE test
This goes through the different steps needed to call a tool. For regular use, those are normally part of a single algorithm execute function, but splitting them up allows to measure their performance separately.
It is expected that the instances of this interface will cache information between calls. That is safe as no function is const and this will never run in multi-threaded mode. It provides the easiest way to store what in an algorithm would be local variables. 
Definition at line 31 of file IXAODToolCaller.h.
| using columnar::TestUtils::IXAODToolCaller::EventStoreType = std::decay_t<decltype (*std::declval<asg::AsgTool>().evtStore())> | 
the type used for the event store
Definition at line 37 of file IXAODToolCaller.h.
      
  | 
  virtualdefaultnoexcept | 
      
  | 
  pure virtual | 
call the tool for a single event
      
  | 
  pure virtual | 
do any copying and recording needed
      
  | 
  pure virtual | 
retrieve everything we need from the event store
 1.8.18