|
ATLAS Offline Software
|
#include <IOVRegistrationSvc.h>
|
| IOVRegistrationSvc (const std::string &name, ISvcLocator *svc) |
|
virtual | ~IOVRegistrationSvc () |
|
virtual const InterfaceID & | type () const |
| Service type. More...
|
|
virtual StatusCode | registerIOV (const std::string &typeName) const |
| Register IOV DB for an object given its typeName - run/LB numbers interval or times interval and tag are taken from JobOptions Choice between run/LB and timestamp given in JobOptions. More...
|
|
virtual StatusCode | registerIOV (const std::string &typeName, const std::string &tag) const |
| Register IOV DB for an object given its typeName - run/LB numbers interval or times interval taken from JobOptions tag is specified Choice between run/LB and timestamp given in JobOptions. More...
|
|
virtual StatusCode | registerIOV (const std::string &typeName, const std::string &key, const std::string &tag) const |
| Register IOV DB for an object given its typeName and its key run/LB numbers interval or times interval and tag are taken from JobOptions Choice between run/LB and timestamp given in JobOptions. More...
|
|
virtual StatusCode | registerIOV (const std::string &typeName, const std::string &tag, unsigned int beginRun, unsigned int endRun, unsigned int beginLB, unsigned int endLB) const |
| Register IOV DB for an object given its typeName, tag and run/LB numbers interval. More...
|
|
virtual StatusCode | registerIOV (const std::string &typeName, const std::string &tag, uint64_t beginTime, uint64_t endTime) const |
| Register IOV DB for an object given its typeName, tag and times interval. More...
|
|
virtual StatusCode | registerIOV (const std::string &typeName, const std::string &key, const std::string &tag, unsigned int beginRun, unsigned int endRun, unsigned int beginLB, unsigned int endLB) const |
| Register IOV DB for an object given its typeName, key, tag and run/LB numbers interval. More...
|
|
virtual StatusCode | registerIOV (const std::string &typeName, const std::string &key, const std::string &tag, uint64_t beginTime, uint64_t endTime) const |
| Register IOV DB for an object given its typeName, key, tag and times interval. More...
|
|
virtual StatusCode | registerIOV (const std::string &typeName, const std::string &key, const std::string &folder, const std::string &tag, unsigned int beginRun, unsigned int endRun, unsigned int beginLB, unsigned int endLB) const |
| Register IOV DB for an object given its typeName, key, folder, tag and run/LB numbers interval. More...
|
|
virtual StatusCode | registerIOV (const std::string &typeName, const std::string &key, const std::string &folder, const std::string &tag, uint64_t beginTime, uint64_t endTime) const |
| Register IOV DB for an object given its typeName, key, folder, tag and times interval. More...
|
|
virtual StatusCode | initialize () |
| Initialize AlgTool. More...
|
|
virtual StatusCode | finalize () |
| Finalize AlgTool. More...
|
|
|
StatusCode | registerIOV (const std::string &typeName, const std::string &key, const std::string &folder, const std::string &tag, const IOVTime &begin, const IOVTime &end) const |
|
StatusCode | registerIOVCOOL (const std::string &typeName, const std::string &key, const std::string &folderName, const std::string &tag, const IOVTime &begin, const IOVTime &end) const |
|
cool::StorageType::TypeId | coralToCoolType (const std::string &parname, const std::string &coralName) const |
|
StatusCode | getStringAddress (const CLID &clid, const std::string &key, std::string &saddr) const |
|
uint64_t | timeToNano (const unsigned long int timesec) const |
|
virtual StatusCode | buildDescription (const std::string &identifier, const std::string &value, std::string &description) const |
| Build the folder description field add in front of the description the value with identifier-markups. More...
|
|
StatusCode | splitAddress (const std::string &address, std::string &address_header, std::string &address_data) const |
| Split address in its header and data parts. More...
|
|
Properties:
Definition at line 52 of file IOVRegistrationSvc.h.
◆ IOVRegistrationSvc()
IOVRegistrationSvc::IOVRegistrationSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svc |
|
) |
| |
◆ ~IOVRegistrationSvc()
IOVRegistrationSvc::~IOVRegistrationSvc |
( |
| ) |
|
|
virtual |
◆ buildDescription()
StatusCode IOVRegistrationSvc::buildDescription |
( |
const std::string & |
identifier, |
|
|
const std::string & |
value, |
|
|
std::string & |
description |
|
) |
| const |
|
privatevirtual |
Build the folder description field add in front of the description the value with identifier-markups.
Definition at line 1167 of file IOVRegistrationSvc.cxx.
1174 return StatusCode::FAILURE;
1177 return StatusCode::SUCCESS;
◆ coralToCoolType()
cool::StorageType::TypeId IOVRegistrationSvc::coralToCoolType |
( |
const std::string & |
parname, |
|
|
const std::string & |
coralName |
|
) |
| const |
|
private |
Definition at line 1115 of file IOVRegistrationSvc.cxx.
1118 std::string coralType=coralName;
1123 ATH_MSG_INFO (
"Override default type for attribute " <<
1124 parname <<
" - use " << coralType);
1130 if (coralType==
"bool")
return cool::StorageType::Bool;
1131 if (coralType==
"UChar" || coralType==
"unsigned char")
return cool::StorageType::UChar;
1132 if (coralType==
"Int16")
return cool::StorageType::Int16;
1133 if (coralType==
"UInt16")
return cool::StorageType::UInt16;
1134 if (coralType==
"Int32" || coralType==
"int")
return cool::StorageType::Int32;
1135 if (coralType==
"UInt32" || coralType==
"unsigned int")
return cool::StorageType::UInt32;
1136 if (coralType==
"UInt63" || coralType==
"unsigned long long")
return cool::StorageType::UInt63;
1137 if (coralType==
"Int64" || coralType==
"long long")
return cool::StorageType::Int64;
1138 if (coralType==
"Float" || coralType==
"float")
return cool::StorageType::Float;
1139 if (coralType==
"Double" || coralType==
"double")
return cool::StorageType::Double;
1140 if (coralType==
"String255")
return cool::StorageType::String255;
1141 if (coralType==
"String4k" || coralType==
"string")
return cool::StorageType::String4k;
1142 if (coralType==
"String64k")
return cool::StorageType::String64k;
1143 if (coralType==
"String16M")
return cool::StorageType::String16M;
1144 if (coralType==
"blob" || coralType==
"Blob64k")
1145 return cool::StorageType::Blob64k;
1146 if (coralType==
"Blob16M")
return cool::StorageType::Blob16M;
1149 ATH_MSG_FATAL (
"No COOL mapping defined for CORAL type " << coralName);
◆ finalize()
StatusCode IOVRegistrationSvc::finalize |
( |
| ) |
|
|
virtual |
◆ getStringAddress()
StatusCode IOVRegistrationSvc::getStringAddress |
( |
const CLID & |
clid, |
|
|
const std::string & |
key, |
|
|
std::string & |
saddr |
|
) |
| const |
|
private |
◆ initialize()
StatusCode IOVRegistrationSvc::initialize |
( |
| ) |
|
|
virtual |
Initialize AlgTool.
Definition at line 109 of file IOVRegistrationSvc.cxx.
114 if (
sc.isFailure() ) {
116 return StatusCode::FAILURE;
123 return StatusCode::FAILURE;
128 if (
sc.isFailure() ) {
130 return StatusCode::FAILURE;
136 if (
sc != StatusCode::SUCCESS ) {
137 ATH_MSG_ERROR (
" Cannot get IAddressCreator interface of the EventPersistencySvc ");
145 if (
sc != StatusCode::SUCCESS ) {
146 ATH_MSG_ERROR (
" Cannot get IClassIDSvc interface of the CLIDSvc " );
170 ATH_MSG_FATAL (
"Inconsistent settings of OverrideNames and OverrideTypes parameters");
171 return StatusCode::FAILURE;
176 return StatusCode::SUCCESS;
◆ registerIOV() [1/10]
StatusCode IOVRegistrationSvc::registerIOV |
( |
const std::string & |
typeName | ) |
const |
|
virtual |
Register IOV DB for an object given its typeName - run/LB numbers interval or times interval and tag are taken from JobOptions Choice between run/LB and timestamp given in JobOptions.
Definition at line 189 of file IOVRegistrationSvc.cxx.
191 std::string
key =
"";
◆ registerIOV() [2/10]
Definition at line 425 of file IOVRegistrationSvc.cxx.
438 if (spec_key.empty())
444 msg() <<
" spec_key " << spec_key <<
endmsg;
447 <<
" - end time: " <<
stop
452 start.isTimestamp() !=
stop.isTimestamp() ||
453 start.isRunEvent() !=
stop.isRunEvent()) {
455 <<
" isBoth: " <<
start.isBoth() <<
":" <<
stop.isBoth()
456 <<
" isTimestamp: " <<
start.isTimestamp() <<
":" <<
stop.isTimestamp()
457 <<
" isRunEvent: " <<
start.isRunEvent() <<
":" <<
stop.isRunEvent());
458 return( StatusCode::FAILURE);
◆ registerIOV() [3/10]
StatusCode IOVRegistrationSvc::registerIOV |
( |
const std::string & |
typeName, |
|
|
const std::string & |
key, |
|
|
const std::string & |
folder, |
|
|
const std::string & |
tag, |
|
|
uint64_t |
beginTime, |
|
|
uint64_t |
endTime |
|
) |
| const |
|
virtual |
Register IOV DB for an object given its typeName, key, folder, tag and times interval.
Definition at line 399 of file IOVRegistrationSvc.cxx.
407 start.setTimestamp( beginTime );
◆ registerIOV() [4/10]
StatusCode IOVRegistrationSvc::registerIOV |
( |
const std::string & |
typeName, |
|
|
const std::string & |
key, |
|
|
const std::string & |
folder, |
|
|
const std::string & |
tag, |
|
|
unsigned int |
beginRun, |
|
|
unsigned int |
endRun, |
|
|
unsigned int |
beginLB, |
|
|
unsigned int |
endLB |
|
) |
| const |
|
virtual |
Register IOV DB for an object given its typeName, key, folder, tag and run/LB numbers interval.
Definition at line 375 of file IOVRegistrationSvc.cxx.
385 start.setRunEvent( (
unsigned long)beginRun, (
unsigned long)beginLB );
387 stop.setRunEvent ( (
unsigned long)endRun, (
unsigned long)endLB );
◆ registerIOV() [5/10]
StatusCode IOVRegistrationSvc::registerIOV |
( |
const std::string & |
typeName, |
|
|
const std::string & |
key, |
|
|
const std::string & |
tag |
|
) |
| const |
|
virtual |
Register IOV DB for an object given its typeName and its key run/LB numbers interval or times interval and tag are taken from JobOptions Choice between run/LB and timestamp given in JobOptions.
Definition at line 257 of file IOVRegistrationSvc.cxx.
◆ registerIOV() [6/10]
StatusCode IOVRegistrationSvc::registerIOV |
( |
const std::string & |
typeName, |
|
|
const std::string & |
key, |
|
|
const std::string & |
tag, |
|
|
uint64_t |
beginTime, |
|
|
uint64_t |
endTime |
|
) |
| const |
|
virtual |
Register IOV DB for an object given its typeName, key, tag and times interval.
Definition at line 355 of file IOVRegistrationSvc.cxx.
362 start.setTimestamp( beginTime );
◆ registerIOV() [7/10]
StatusCode IOVRegistrationSvc::registerIOV |
( |
const std::string & |
typeName, |
|
|
const std::string & |
key, |
|
|
const std::string & |
tag, |
|
|
unsigned int |
beginRun, |
|
|
unsigned int |
endRun, |
|
|
unsigned int |
beginLB, |
|
|
unsigned int |
endLB |
|
) |
| const |
|
virtual |
Register IOV DB for an object given its typeName, key, tag and run/LB numbers interval.
Definition at line 333 of file IOVRegistrationSvc.cxx.
342 start.setRunEvent( (
unsigned long)beginRun, (
unsigned long)beginLB );
344 stop.setRunEvent ( (
unsigned long)endRun, (
unsigned long)endLB );
◆ registerIOV() [8/10]
StatusCode IOVRegistrationSvc::registerIOV |
( |
const std::string & |
typeName, |
|
|
const std::string & |
tag |
|
) |
| const |
|
virtual |
Register IOV DB for an object given its typeName - run/LB numbers interval or times interval taken from JobOptions tag is specified Choice between run/LB and timestamp given in JobOptions.
Definition at line 223 of file IOVRegistrationSvc.cxx.
225 std::string
key =
"";
◆ registerIOV() [9/10]
StatusCode IOVRegistrationSvc::registerIOV |
( |
const std::string & |
typeName, |
|
|
const std::string & |
tag, |
|
|
uint64_t |
beginTime, |
|
|
uint64_t |
endTime |
|
) |
| const |
|
virtual |
Register IOV DB for an object given its typeName, tag and times interval.
Definition at line 312 of file IOVRegistrationSvc.cxx.
318 start.setTimestamp( beginTime );
322 std::string
key =
"";
◆ registerIOV() [10/10]
StatusCode IOVRegistrationSvc::registerIOV |
( |
const std::string & |
typeName, |
|
|
const std::string & |
tag, |
|
|
unsigned int |
beginRun, |
|
|
unsigned int |
endRun, |
|
|
unsigned int |
beginLB, |
|
|
unsigned int |
endLB |
|
) |
| const |
|
virtual |
Register IOV DB for an object given its typeName, tag and run/LB numbers interval.
Definition at line 290 of file IOVRegistrationSvc.cxx.
298 start.setRunEvent( (
unsigned long)beginRun, (
unsigned long)beginLB );
300 stop.setRunEvent ( (
unsigned long)endRun, (
unsigned long)endLB );
301 std::string
key =
"";
◆ registerIOVCOOL()
Definition at line 473 of file IOVRegistrationSvc.cxx.
490 if (
sc.isFailure()) {
492 return( StatusCode::FAILURE);
510 bool storeRef =
true;
511 bool storeAttrListColl =
false;
512 bool needSGaddr=
false;
513 if (
"AthenaAttributeList" ==
typeName) {
517 if (
"CondAttrListCollection" ==
typeName) {
519 storeAttrListColl =
true;
527 IOpaqueAddress* addr=0;
528 std::string
key = spec_key;
529 std::vector<CLID> symlinks;
537 return( StatusCode::FAILURE);
544 addr =
proxy->address();
549 ATH_MSG_ERROR (
"Could not get proxy for clid " << clid <<
" and key " <<
key);
550 return( StatusCode::FAILURE );
554 addr =
proxy->address();
559 symlinks =
proxy->transientID();
560 auto it =
std::find (symlinks.begin(), symlinks.end(), clid);
561 if (
it != symlinks.end()) {
570 storeAttrListColl =
true;
575 if (
sc.isFailure()) {
576 ATH_MSG_WARNING (
"Could not get string from IOpaqueAddress for clid " << clid
577 <<
" is BAD_STORAGE_TYPE: " << (
sc == IConversionSvc::Status::BAD_STORAGE_TYPE));
578 return( StatusCode::FAILURE);
587 return( StatusCode::FAILURE );
591 if (
"AthenaAttributeList" ==
typeName) {
592 saddr=
"<address_header service_type=\"256\" clid=\"40774348\" /> POOLContainer_AthenaAttributeList][CLID=x";
593 }
else if (
"CondAttrListCollection" ==
typeName) {
594 saddr=
"<address_header service_type=\"256\" clid=\"1238547719\" /> POOLContainer_CondAttrListCollection][CLID=x";
603 <<
" Storing AttrListCollection: " << storeAttrListColl);
608 std::string local_folder;
617 cool::IDatabasePtr
db =
m_iov_db->getDatabase(
false);
620 return(StatusCode::FAILURE);
623 const cool::DatabaseId& dbid=
db->databaseId();
625 bool dbidprod=(dbid.find(
"oracle")!=std::string::npos && (
626 dbid.find(
"ATLAS_COOLONL_")!=std::string::npos ||
627 dbid.find(
"ATLAS_COOLOFL_")!=std::string::npos ||
628 dbid.find(
"ATLAS_COOL_")!=std::string::npos));
630 bool dbidwriter=(dbid.find(
"oracle")!=std::string::npos &&
631 dbid.find(
"_W")!=std::string::npos);
632 ATH_MSG_DEBUG (
"Identified prod/writer " << dbidprod << dbidwriter);
635 ATH_MSG_FATAL (
"Direct update of production Oracle servers from Athena is FORBIDDEN");
636 ATH_MSG_FATAL (
"Please write to SQLite file and then merge with AtlCoolMerge.py");
637 return StatusCode::FAILURE;
645 if (
"CondAttrListCollection"==
typeName) {
650 return StatusCode::FAILURE;
652 }
else if (storeAttrListColl) {
661 << addr <<
" " << attrAddr <<
" " << attrListColl);
663 ATH_MSG_ERROR (
"Could not extract ptr for CondAttrListCollAddress ");
664 return StatusCode::FAILURE;
667 ATH_MSG_ERROR (
"Cannot write out collection of POOLref without streaming them first" );
668 return StatusCode::FAILURE;
672 if (StatusCode::SUCCESS!=
m_detStore->retrieve(attrList,
key)) {
675 return StatusCode::FAILURE;
690 bool createFolders =
false;
692 if(
db->existsFolder(local_folder)) {
696 if (dbidprod || dbidwriter) {
697 ATH_MSG_FATAL (
"Apparent attempt to delete folder on production COOL schema " << dbid);
698 return StatusCode::FAILURE;
701 ATH_MSG_DEBUG (
" Deleting existing COOL Folder " << local_folder);
702 db->dropNode( local_folder );
703 createFolders =
true;
708 folder =
db->getFolder(local_folder);
714 <<
" does not exist - must create it");
715 createFolders =
true;
719 std::string address_header;
720 std::string address_data;
723 if (
sc.isFailure()) {
725 <<
"addr: " << saddr <<
"\n"
726 <<
"hdr: " << address_header <<
"\n"
727 <<
"data " << address_data);
728 return( StatusCode::FAILURE);
731 <<
" hdr: " << address_header <<
endmsg
732 <<
" data: " << address_data <<
endmsg;
738 ATH_MSG_FATAL (
"Apparent attempt to create folder using writer account, dbID is: " << dbid);
739 return StatusCode::FAILURE;
758 std::string mergedNames;
762 if (
sc.isFailure()) {
763 ATH_MSG_ERROR (
"Could not merge towards merged description: "
765 return( StatusCode::FAILURE);
770 if (
sc.isFailure()) {
771 ATH_MSG_ERROR (
"Could not merge towards merged description: "
772 <<
"addrHeader: " << address_header);
773 return( StatusCode::FAILURE);
783 if (
sc.isFailure()) {
784 ATH_MSG_ERROR (
"Could not merge towards merged description: "
786 return( StatusCode::FAILURE);
791 if (!symlinks.empty()) {
792 std::string symlinkTypes;
793 for (
unsigned int i = 0;
i < symlinks.size(); ++
i) {
796 if (
sc.isFailure()) {
799 return( StatusCode::FAILURE);
803 << symlinks[
i] <<
" " <<
type);
805 if (symlinkTypes.size()) symlinkTypes +=
':';
806 symlinkTypes +=
type;
809 if (
sc.isFailure()) {
810 msg() << MSG::ERROR <<
"Could not merge symlinks to merged description: "
811 <<
"symlink types: ";
812 for (
unsigned int i = 0;
i < symlinkTypes.size(); ++
i) {
813 msg() << MSG::ERROR << symlinkTypes[
i] <<
" ";
816 return( StatusCode::FAILURE);
820 << symlinkTypes <<
" " << mergedNames);
827 if (!
start.isValid() ||
829 start.isTimestamp() !=
stop.isTimestamp() ||
830 start.isRunEvent() !=
stop.isRunEvent()) {
831 ATH_MSG_ERROR (
"Invalid times: start isValid/isTimeStamp/isRunEvent "
832 <<
"addrHeader: " << address_header
833 <<
start.isValid() <<
" " <<
start.isTimestamp() <<
" "
834 <<
start.isRunEvent());
835 ATH_MSG_ERROR (
"Invalid times: stop isValid/isTimeStamp/isRunEvent "
836 <<
"addrHeader: " << address_header
837 <<
stop.isValid() <<
" " <<
stop.isTimestamp() <<
" "
838 <<
stop.isRunEvent());
839 return( StatusCode::FAILURE);
841 bool isTimeStamp =
false;
842 if (
start.isTimestamp()) isTimeStamp =
true;
854 if (
sc.isFailure()) {
855 ATH_MSG_ERROR (
"Could not merge timeStamp flag towards merged description. ");
856 return( StatusCode::FAILURE);
859 if (storeAttrListColl && attrListColl!=0 &&
860 attrListColl->
name_size()>0) mergedNames+=
"<named/>";
863 <<
" with description " << mergedNames);
869 cool::RecordSpecification payloadSpec;
874 payloadSpec.extend(
"PoolRef",cool::StorageType::String4k);
879 if (storeAttrListColl) {
883 if (0 == attrListColl) {
885 return( StatusCode::FAILURE);
888 if (0 == attrListColl->
size()) {
890 return( StatusCode::FAILURE);
894 attrListColl->
size());
904 for (coral::AttributeList::const_iterator itr=
905 atr4spec->begin();itr!=atr4spec->end();++itr) {
908 payloadSpec.extend(itr->specification().name(),
910 itr->specification().typeName()));
915 cool::FolderVersioning::MULTI_VERSION;
917 version=cool::FolderVersioning::SINGLE_VERSION;
924 cool::FolderSpecification
folderSpec(
version,payloadSpec,cool::PayloadMode::SEPARATEPAYLOAD);
928 local_folder <<
" done");
931 if (storeAttrListColl && attrListColl!=0 &&
934 " channels in " << local_folder);
937 nitr!=attrListColl->
name_end();++nitr) {
938 folder->createChannel(nitr->first,nitr->second);
945 if (storeAttrListColl) {
947 <<
start <<
" " <<
stop <<
" Note: will be ignored for channels with differnt IOVs " );
954 cool::ValidityKey ivStart =
start.re_time();
955 cool::ValidityKey ivStop =
stop.re_time();
956 if(
start.isTimestamp()) {
957 ivStart =
start.timestamp();
958 ivStop =
stop.timestamp();
963 const cool::RecordSpecification& rspec=
folder->payloadSpecification();
965 if (storeAttrListColl) {
975 ATH_MSG_ERROR (
"Trying to store a ref for a CondAttrListCollection. ");
976 return( StatusCode::FAILURE);
980 <<
", " <<
tag <<
" )");
994 cool::ValidityKey ivStart1 = ivStart;
995 cool::ValidityKey ivStop1 = ivStop;
997 std::ostringstream attr;
998 payload.toOutputStream( attr );
1002 if(
range.start().isTimestamp()) {
1003 ivStart1 =
range.start().timestamp();
1004 ivStop1 =
range.stop().timestamp();
1007 ivStart1 =
range.start().re_time();
1008 ivStop1 =
range.stop().re_time();
1011 <<
range.start() <<
" " <<
range.stop() <<
" ");
1019 cool::Record record(rspec,
payload);
1022 folder->storeObject( ivStart1,
1027 folder->storeObject( ivStart1,
1036 cool::Record record(rspec);
1039 record[
"PoolRef"].setValue<std::string>(address_data);
1043 record=cool::Record(rspec,*attrList);
1049 folder->storeObject( ivStart,
1053 folder->storeObject( ivStart,
1059 <<
", " <<
tag <<
" )");
1068 ATH_MSG_DEBUG (
" tag is empty - folder is not being tagged ");
1071 ATH_MSG_INFO (
" Tagging HEAD of folder " << local_folder <<
1072 " with tag " <<
tag);
1076 catch ( cool::TagExists&
e) {
1078 " exists - attempt to delete tag and retag HEAD");
1083 ATH_MSG_ERROR (
"Tag is defined in another folder - tag names must be global");
1084 }
else if (
folder->existsUserTag(
tag)) {
1088 " is already USER tag - cannot mix tagging modes");
1095 catch ( cool::TagNotFound&
e) {
1102 return StatusCode::SUCCESS;
1109 return StatusCode::FAILURE;
◆ splitAddress()
StatusCode IOVRegistrationSvc::splitAddress |
( |
const std::string & |
address, |
|
|
std::string & |
address_header, |
|
|
std::string & |
address_data |
|
) |
| const |
|
private |
Split address in its header and data parts.
Definition at line 1180 of file IOVRegistrationSvc.cxx.
1188 std::string::size_type
p1=
address.find(
" />");
1189 if (
p1!=std::string::npos) {
1192 return StatusCode::SUCCESS;
1194 return StatusCode::FAILURE;
◆ timeToNano()
uint64_t IOVRegistrationSvc::timeToNano |
( |
const unsigned long int |
timesec | ) |
const |
|
private |
◆ type()
const InterfaceID & IOVRegistrationSvc::type |
( |
| ) |
const |
|
virtual |
◆ SvcFactory< IOVRegistrationSvc >
◆ m_beginLB
UnsignedIntegerProperty IOVRegistrationSvc::m_beginLB |
|
private |
◆ m_beginRun
UnsignedIntegerProperty IOVRegistrationSvc::m_beginRun |
|
private |
◆ m_beginTime
UnsignedLongProperty IOVRegistrationSvc::m_beginTime |
|
private |
◆ m_clidSvc
◆ m_detStore
◆ m_endLB
UnsignedIntegerProperty IOVRegistrationSvc::m_endLB |
|
private |
◆ m_endRun
UnsignedIntegerProperty IOVRegistrationSvc::m_endRun |
|
private |
◆ m_endTime
UnsignedLongProperty IOVRegistrationSvc::m_endTime |
|
private |
◆ m_forceGlobalIOV
BooleanProperty IOVRegistrationSvc::m_forceGlobalIOV |
|
private |
◆ m_iov_db
◆ m_overrideName
std::vector<std::string> IOVRegistrationSvc::m_overrideName |
|
private |
◆ m_overrideType
std::vector<std::string> IOVRegistrationSvc::m_overrideType |
|
private |
◆ m_payloadTable
BooleanProperty IOVRegistrationSvc::m_payloadTable |
|
private |
◆ m_persSvc
◆ m_recreateFolders
BooleanProperty IOVRegistrationSvc::m_recreateFolders |
|
private |
◆ m_svFolder
BooleanProperty IOVRegistrationSvc::m_svFolder |
|
private |
◆ m_tag
StringProperty IOVRegistrationSvc::m_tag |
|
private |
◆ m_tagDescription
StringProperty IOVRegistrationSvc::m_tagDescription |
|
private |
◆ m_timeStamp
BooleanProperty IOVRegistrationSvc::m_timeStamp |
|
private |
◆ m_userTags
BooleanProperty IOVRegistrationSvc::m_userTags |
|
private |
◆ m_userTagsUH
BooleanProperty IOVRegistrationSvc::m_userTagsUH |
|
private |
◆ m_writeKeyInfo
BooleanProperty IOVRegistrationSvc::m_writeKeyInfo |
|
private |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
const_iterator end() const
UnsignedIntegerProperty m_beginLB
Validity Range object. Holds two IOVTimes (start and stop)
iov_const_iterator iov_end() const
static constexpr uint32_t MAXRUN
std::string find(const std::string &s)
return a remapped string
BooleanProperty m_svFolder
BooleanProperty m_writeKeyInfo
const_iterator begin() const
Access to Chan/AttributeList pairs via iterators.
BooleanProperty m_userTags
StatusCode registerIOVCOOL(const std::string &typeName, const std::string &key, const std::string &folderName, const std::string &tag, const IOVTime &begin, const IOVTime &end) const
UnsignedIntegerProperty m_endRun
This class is a collection of AttributeLists where each one is associated with a channel number....
UnsignedIntegerProperty m_endLB
ChanIOVMap::const_iterator iov_const_iterator
static constexpr uint32_t MINRUN
StatusCode splitAddress(const std::string &address, std::string &address_header, std::string &address_data) const
Split address in its header and data parts.
This class provides the an IOpaqueAddress/GenericAddress which can hold a pointer to an CondAttrListC...
ChanNameMap::const_iterator name_const_iterator
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
BooleanProperty m_forceGlobalIOV
ServiceHandle< IIOVCondDbSvc > m_iov_db
::StatusCode StatusCode
StatusCode definition for legacy code.
static constexpr uint64_t MAXTIMESTAMP
cool::StorageType::TypeId coralToCoolType(const std::string &parname, const std::string &coralName) const
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
AthROOTErrorHandlerSvc * svc
std::vector< std::string > m_overrideType
uint32_t CLID
The Class ID type.
ServiceHandle< IAddressCreator > m_persSvc
BooleanProperty m_recreateFolders
name_const_iterator name_begin() const
Access to Chan/Name pairs via iterators.
static constexpr uint32_t MAXEVENT
UnsignedLongProperty m_endTime
name_size_type name_size() const
number of Chan/Name pairs
CondAttrListCollection * attrListColl()
Access to AttributeList.
static constexpr uint32_t MINEVENT
size_type size() const
number of Chan/AttributeList pairs
ServiceHandle< IClassIDSvc > m_clidSvc
virtual StatusCode buildDescription(const std::string &identifier, const std::string &value, std::string &description) const
Build the folder description field add in front of the description the value with identifier-markups.
virtual const InterfaceID & type() const
Service type.
#define ATH_MSG_WARNING(x)
ChanAttrListMap::const_iterator const_iterator
virtual StatusCode registerIOV(const std::string &typeName) const
Register IOV DB for an object given its typeName - run/LB numbers interval or times interval and tag ...
BooleanProperty m_payloadTable
BooleanProperty m_userTagsUH
UnsignedLongProperty m_beginTime
BooleanProperty m_timeStamp
static constexpr uint64_t MINTIMESTAMP
std::vector< std::string > m_overrideName
iov_const_iterator chanIOVPair(ChanNum chanNum) const
Access to Chan/IOV pairs via channel number: returns map iterator.
UnsignedIntegerProperty m_beginRun
ServiceHandle< StoreGateSvc > m_detStore
uint64_t timeToNano(const unsigned long int timesec) const
name_const_iterator name_end() const
std::string description
glabal timer - how long have I taken so far?
StringProperty m_tagDescription