4#ifndef TRIGSORFROMPTREEHELPER_H_
5#define TRIGSORFROMPTREEHELPER_H_
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/StatusCode.h"
12#include <boost/property_tree/ptree.hpp>
37 const std::string& sorpath,
const boost::property_tree::ptree& rparams);
55 StatusCode
fillSOR(
const EventContext& ctx)
const;
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
This class is a collection of AttributeLists where each one is associated with a channel number.
StatusCode setIOVRange(IOVRange &iovRange) const
TrigSORFromPtreeHelper(IMessageSvc *msgSvc, const ServiceHandle< StoreGateSvc > &detStore, const std::string &sorpath, const boost::property_tree::ptree &rparams)
Create the SOR helper @params msgSvc Pointer to MessageSvc @params detStore Handle to DetectorStore @...
void setSORtime_ns(unsigned long long sorTime_ns)
Overwrite SOR time from RunParams @params sorTime_ns New start of run time in nanoseconds since epoch...
StatusCode updateProxy(SOR *sor) const
coral::AttributeList getAttrList ATLAS_NOT_THREAD_SAFE() const
void setRunNumber(unsigned int run)
Overwrite run number from RunParams @params run New run number.
ServiceHandle< StoreGateSvc > m_detStore
CondAttrListCollection SOR
unsigned long long m_sorTime_ns
StatusCode fillSOR(const EventContext &ctx) const
Fill SOR record in Detector Store, reusing if present or creating new one otherwise/ @params ctx Even...
StatusCode createSOR ATLAS_NOT_THREAD_SAFE() const
EventIDBase eventID() const
Create an EventIDBase filled with the value from rparams.
const boost::property_tree::ptree & m_rparams