|
ATLAS Offline Software
|
Go to the documentation of this file.
20 #include "hltinterface/HLTInterface.h"
23 #include "GaudiKernel/StatusCode.h"
24 #include "GaudiKernel/SmartIF.h"
25 #include "GaudiKernel/ISvcLocator.h"
34 #include <boost/property_tree/ptree.hpp>
43 class Psc:
public hltinterface::HLTInterface
115 bool setDFProperties(
const std::map<std::string, std::string>& name_tr_table);
129 template <
typename T>
131 const std::string&
name)
const;
virtual bool unconfigure(const boost::property_tree::ptree &args) override
Unconfigures the framework, releasing all acquired resources.
virtual bool doEventLoop() override
Starts the HLT event loop.
virtual bool stopRun(const boost::property_tree::ptree &args) override
stops the HLT framework without re-configuring
uint32_t m_run_number
(initial) run number to be used for this run
virtual bool connect(const boost::property_tree::ptree &args) override
Connects the framework.
StatusCode callOnEventLoopMgr(std::function< StatusCode(T *)> func, const std::string &name) const
Utility method to call a method on the event loop manager.
bool setDFProperties(const std::map< std::string, std::string > &name_tr_table)
IAppMgrUI * m_pesaAppMgr
Application Manager.
bool doAppMgrFinalize()
Finalize the application manager.
virtual bool prepareForRun(const boost::property_tree::ptree &args) override
prepares the HLT framework for a run
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual bool publishStatistics(const boost::property_tree::ptree &args) override
Calls the HLT framework to publish statistics, after the run has finished.
virtual bool configure(const boost::property_tree::ptree &config) override
Configures the framework.
Psc()=default
Default constructor.
std::string m_nameEventLoopMgr
name of the event loop manager
Common base class for HLT Pesa Steering Controller.
int m_workerID
worker ID (0=mother)
virtual bool disconnect(const boost::property_tree::ptree &args) override
Disconnects the framework.
boost::property_tree::ptree ptree
bool setAthenaProperties()
virtual bool prepareWorker(const boost::property_tree::ptree &args) override
Method which can be called for a worker to perform the necessary steps to set unique worker IDs and a...
std::unique_ptr< psc::Config > m_config
Config derived from ptree.
bool m_interactive
Running in interactive mode (athenaHLT)
SmartIF< ISvcLocator > m_svcLoc
Service locator handle.
bool doAppMgrInit()
Initialize the application manager.
virtual bool finalizeWorker(const boost::property_tree::ptree &args) override
Method which can be called for a worker to perform a cleanup before the worker gets killed.
virtual bool hltUserCommand(const boost::property_tree::ptree &args) override
Calls the HLT framework to notify it that a user command has arrived.
virtual ~Psc()
Virtual desctuctor.