|
ATLAS Offline Software
|
Go to the documentation of this file.
14 ISvcLocator* pSvcLocator) :
26 ATH_MSG_INFO(
"DCS conditions data folders to be read as AthenaAttributeList (single channel)");
27 for (std::vector<std::string>::const_iterator itr=
m_par_atrlist.begin();
29 ATH_MSG_INFO(
"DCS conditions data folders to be read as CondAttrListCollection (multichannel)");
33 return StatusCode::SUCCESS;
38 int time=ctx.eventID().time_stamp();
39 ATH_MSG_INFO(
"In run/event [" << ctx.eventID().run_number() <<
40 "," << ctx.eventID().event_number() <<
"] timestamp " <<
time);
42 time_t ttime=
static_cast<time_t
>(
time);
45 ATH_MSG_INFO(
"Timestamp UTC: " << asctime_r(gmtime_r(&ttime, &tm), tmbuf));
49 for (std::vector<std::string>::const_iterator itr=
m_par_atrlist.begin();
56 std::ostringstream atrstring;
57 atrlist->
print(atrstring);
72 citr!=atrlistcol->
end();++citr) {
77 std::ostringstream atrstring;
78 (*citr).second.toOutputStream(atrstring);
83 ATH_MSG_INFO(
"Could not retrieve CondAttrListCollection " << *itr);
86 return StatusCode::SUCCESS;
91 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual StatusCode execute(const EventContext &ctx) const override
const_iterator end() const
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
void print(std::ostream &os) const
print to simulate function provided by old POOL AttributeList
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode finalize() override
const_iterator begin() const
Access to Chan/AttributeList pairs via iterators.
IOVDbTestCoolDCS(const std::string &name, ISvcLocator *pSvcLocator)
This class is a collection of AttributeLists where each one is associated with a channel number....
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
An algorithm that can be simultaneously executed in multiple threads.
virtual ~IOVDbTestCoolDCS()
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
def time(flags, cells_name, *args, **kw)
ChanAttrListMap::const_iterator const_iterator
std::vector< std::string > m_par_atrcollist
std::vector< std::string > m_par_atrlist