ATLAS Offline Software
|
#include <vector>
#include <string>
#include <array>
#include <iostream>
#include "CoolKernel/DatabaseId.h"
#include "CoolKernel/Exception.h"
#include "CoolKernel/IDatabaseSvc.h"
#include "CoolKernel/IDatabase.h"
#include "CoolApplication/Application.h"
#include "CoolKernel/IFolder.h"
#include "CoolKernel/FolderSpecification.h"
#include "CoolKernel/RecordSpecification.h"
#include "CoolKernel/Record.h"
#include "CoolKernel/FieldSpecification.h"
#include "CoolKernel/IObject.h"
#include "CoolKernel/IObjectIterator.h"
#include "CoolKernel/IRecordIterator.h"
#include "CoolKernel/StorageType.h"
#include "CoraCool/CoraCoolDatabase.h"
#include "CoraCool/CoraCoolFolder.h"
#include "CoraCool/CoraCoolObjectIter.h"
#include "CoraCool/CoraCoolObject.h"
#include "RelationalAccess/ConnectionService.h"
Go to the source code of this file.
Classes | |
struct | MyKey |
class | DbConnection |
struct | FolderSpec |
class | Folder |
struct | SelectionCriterion |
Namespaces | |
Run1 | |
USAGE: openCoraCool.exe "COOLONL_SCT/COMP200". | |
Run1::Chip | |
Run1::Geog | |
Run1::MUR | |
Run1::Module | |
Run1::PowerMUR | |
Run1::Channel | |
Run1::ROD | |
Run1::RODMUR | |
Run1::Slave | |
Run1::TIM | |
Run2 | |
Run2::Chip | |
Run2::Geog | |
Run2::MUR | |
Run2::Module | |
Run2::PowerMUR | |
Run2::Channel | |
Run2::ROD | |
Run2::RODMUR | |
Run2::Slave | |
Run2::TIM | |
Typedefs | |
typedef MyKey | IovKey_t |
typedef std::map< IovKey_t, CoraCoolObject::AttrListVec > | CCIovVectorMap_t |
typedef cool::Int16 | Run1::Chip::chip_t |
typedef cool::Int16 | Run1::Chip::active_t |
typedef cool::Int16 | Run1::Chip::address_t |
typedef cool::Int16 | Run1::Chip::config_t |
typedef cool::Int32 | Run1::Chip::mask_t |
typedef cool::Int16 | Run1::Chip::settings_t |
typedef cool::Int16 | Run1::Chip::rc_t |
typedef cool::String255 | Run1::Chip::rcArgs_t |
typedef cool::Float | Run1::Chip::c_t |
typedef cool::Float | Run1::Chip::target_t |
typedef cool::String255 | Run1::Chip::trim_t |
typedef cool::Int32 | Run1::Geog::super_t |
typedef cool::Int32 | Run1::Geog::medium_t |
typedef cool::Int32 | Run1::Geog::position_t |
typedef cool::Int32 | Run1::Geog::MUR_t |
typedef cool::Int32 | Run1::MUR::MUR_t |
typedef cool::Int32 | Run1::MUR::module_t |
typedef cool::Int64 | Run1::MUR::moduleId_t |
typedef cool::Int32 | Run1::MUR::xxFibre_t |
typedef cool::Int64 | Run1::Module::id_t |
typedef cool::Int16 | Run1::Module::group_t |
typedef cool::Int16 | Run1::Module::active_t |
typedef cool::Int16 | Run1::Module::select_t |
typedef cool::Int32 | Run1::PowerMUR::MUR_t |
typedef cool::Int16 | Run1::PowerMUR::module_t |
typedef cool::Int16 | Run1::PowerMUR::crate_t |
typedef cool::Int16 | Run1::PowerMUR::channel_t |
typedef cool::Int32 | Run1::Channel::crate_t |
typedef cool::Int32 | Run1::Channel::rod_t |
typedef cool::Int32 | Run1::Channel::channel_t |
typedef cool::Int16 | Run1::Channel::opCurrent_t |
typedef cool::Int16 | Run1::Channel::opDelay_t |
typedef cool::Int16 | Run1::Channel::opMarkSpace_t |
typedef cool::Int16 | Run1::Channel::threshold_t |
typedef cool::Int16 | Run1::Channel::delay_t |
typedef cool::Int32 | Run1::Channel::errMask_t |
typedef cool::Int32 | Run1::ROD::crate_t |
typedef cool::Int16 | Run1::ROD::slot_t |
typedef cool::Int32 | Run1::ROD::ROB_t |
typedef cool::Int32 | Run1::ROD::SRC_t |
typedef cool::Int16 | Run1::ROD::bcid_t |
typedef cool::Int32 | Run1::ROD::slave_t |
typedef cool::Int32 | Run1::RODMUR::crate_t |
typedef cool::Int32 | Run1::RODMUR::rod_t |
typedef cool::Int32 | Run1::RODMUR::position_t |
typedef cool::Int32 | Run1::RODMUR::MUR_t |
typedef cool::Int32 | Run1::Slave::id_t |
typedef cool::String255 | Run1::Slave::file_t |
typedef cool::Int32 | Run1::TIM::crate_t |
typedef cool::Float | Run1::TIM::freq_t |
typedef cool::Int32 | Run1::TIM::trigType_t |
typedef cool::Int32 | Run1::TIM::bcidOffset_t |
typedef cool::Int32 | Run1::TIM::trigEnable_t |
typedef cool::Int16 | Run1::TIM::runMode_t |
typedef cool::Int16 | Run1::TIM::delay_t |
typedef cool::UChar | Run2::Chip::chip_t |
typedef cool::Bool | Run2::Chip::active_t |
typedef cool::UChar | Run2::Chip::address_t |
typedef cool::UInt16 | Run2::Chip::config_t |
typedef cool::UInt32 | Run2::Chip::mask_t |
typedef cool::UChar | Run2::Chip::settings_t |
typedef cool::UChar | Run2::Chip::rc_t |
typedef cool::String255 | Run2::Chip::rcArgs_t |
typedef cool::Float | Run2::Chip::c_t |
typedef cool::Float | Run2::Chip::target_t |
typedef cool::String255 | Run2::Chip::trim_t |
typedef cool::UInt32 | Run2::Geog::MUR_t |
typedef cool::Int16 | Run2::Geog::super_t |
typedef cool::UChar | Run2::Geog::medium_t |
typedef cool::Int16 | Run2::Geog::position_t |
typedef cool::UInt32 | Run2::MUR::MUR_t |
typedef cool::UChar | Run2::MUR::module_t |
typedef cool::Int64 | Run2::MUR::moduleId_t |
typedef cool::UChar | Run2::MUR::xxFibre_t |
typedef cool::Int64 | Run2::Module::id_t |
typedef cool::Int16 | Run2::Module::group_t |
typedef cool::Bool | Run2::Module::active_t |
typedef cool::Bool | Run2::Module::select_t |
typedef cool::UInt16 | Run2::Module::chipStatus_t |
typedef cool::UInt32 | Run2::PowerMUR::MUR_t |
typedef cool::UChar | Run2::PowerMUR::module_t |
typedef cool::UChar | Run2::PowerMUR::crate_t |
typedef cool::UChar | Run2::PowerMUR::channel_t |
typedef cool::UChar | Run2::Channel::crate_t |
typedef cool::UChar | Run2::Channel::rod_t |
typedef cool::UChar | Run2::Channel::channel_t |
typedef cool::UChar | Run2::Channel::opCurrent_t |
typedef cool::UInt16 | Run2::Channel::opDelay_t |
typedef cool::UChar | Run2::Channel::opMarkSpace_t |
typedef cool::UChar | Run2::Channel::threshold_t |
typedef cool::UChar | Run2::Channel::delay_t |
typedef cool::UInt32 | Run2::Channel::errMask_t |
typedef cool::UChar | Run2::ROD::crate_t |
typedef cool::UChar | Run2::ROD::slot_t |
typedef cool::Int32 | Run2::ROD::ROB_t |
typedef cool::Int32 | Run2::ROD::SRC_t |
typedef cool::Int16 | Run2::ROD::bcid_t |
typedef cool::Int32 | Run2::ROD::slave_t |
typedef cool::UChar | Run2::RODMUR::crate_t |
typedef cool::UChar | Run2::RODMUR::rod_t |
typedef cool::UChar | Run2::RODMUR::position_t |
typedef cool::UInt32 | Run2::RODMUR::MUR_t |
typedef cool::Int32 | Run2::Slave::id_t |
typedef cool::String255 | Run2::Slave::file_t |
typedef cool::UChar | Run2::TIM::crate_t |
typedef cool::Float | Run2::TIM::freq_t |
typedef cool::UInt32 | Run2::TIM::trigType_t |
typedef cool::UInt16 | Run2::TIM::bcidOffset_t |
typedef cool::UInt32 | Run2::TIM::trigEnable_t |
typedef cool::UChar | Run2::TIM::runMode_t |
typedef cool::UInt16 | Run2::TIM::delay_t |
typedef std::pair< cool::ValidityKey, cool::ValidityKey > | IovPeriod_t |
https://twiki.cern.ch/twiki/bin/viewauth/AtlasComputing/ConditionsRun1RunNumbers 152777:1270866809, ##2010 7 TeV p-p for period A (very low mu) 154471:1272831478, ##2010 900 GeV p-p 155697:1274722685, ##2010 7 TeV p-p for period C (mu~0.2) 162623:1282673387, ##2010 7 TeV p-p for period F (36 single bunches, mu~2) 167576:1287909620, ##2010 7 TeV p-p (150ns bunch trains) 170002:1291063245, ##2010 Heavy Ion run 178211:1301070988, ##2011 2.76 TeV 180164:1303554669, ##2011 7 TeV p-p (B-D) 183003:1306973316, ##2011 7 TeV p-p (E-H) 186169:1311379706, ##2011 7 TeV p-p (I-K) 189751:1316868299, ##2011 7 TeV p-p (L-M) 193662:1322075751, ##2011 Heavy Ion run 195847:1328040250, ##Upgrade samples from MC12 210184:1347470747, ##2012 Heavy Ion - proton run 212272:1349603811, ##2012 8 TeV p-p 219114:1360457560, ##2013 Heavy Ion - proton run 219305:1360689056, ##2013 2.76 TeV p-p 222222:1376009561, ##DC14 (mu=30) 25ns, old R1 geo tag 222250:1376075781, ##DC14 (mu=30) 50ns, old R1 geo tag 222500:1376646281, #MC15 50ns, new R2 geo tag (mu=0) 222510:1376669101, #MC15 50ns, new R2 geo tag (nominal mu) 222525:1376703331 #MC15 25ns, new R2 geo tag (nominal mu) More... | |
typedef std::map< IovKey_t, cool::IRecordVector > | IovVectorMap_t |
Functions | |
IovKey_t | makeRunInterval (const cool::ValidityKey runstart, const cool::ValidityKey runend, const cool::ChannelId channelId) |
bool | inInterval (const cool::ValidityKey n, const cool::ValidityKey from, const cool::ValidityKey to) |
cool::ValidityKey | convertUntil (const cool::ValidityKey &until) |
cool::ValidityKey | convertSince (const cool::ValidityKey &since) |
IovKey_t | time2RunLumi (const IovKey_t &iov) |
bool | argumentsOK (const int numArgs, const char **) |
std::string | transConn (const std::string &inconn) |
bool | isCoraCoolDescriptor (const std::string &descriptor) |
std::string | convertTagToRun2 (const std::string &run1Tag) |
CoraCoolObject::AttrListVec | readOneDatum (const CoraCoolObjectPtr &ccPtr) |
CCIovVectorMap_t | readCC (const Folder &theFolder, const SelectionCriterion &choice, const unsigned int limit=10) |
IovVectorMap_t | read (const Folder &theFolder, const SelectionCriterion &choice, const unsigned int limit=10) |
template<class R2 , class R1 > | |
void | setRecord (cool::Record &r, const coral::AttributeList &a, const std::string &itemName, const std::string &targetName) |
IovKey_t runLumiFromTimeStamp(const IovKey_t & timeStamp){ return timeStamp; }. More... | |
template<class R2 , class R1 > | |
void | setRecord (cool::Record &r, const coral::AttributeList &a, const std::string &itemName) |
void | writeChip (const CCIovVectorMap_t &data, const Folder &destination, const std::string &tag) |
void | writeGeog (const CCIovVectorMap_t &data, const Folder &destination, const std::string &tag) |
void | writeMUR (const CCIovVectorMap_t &data, const Folder &destination, const std::string &tag) |
void | writeModule (const CCIovVectorMap_t &data, const Folder &destination, const std::string &tag) |
void | writeChannel (const CCIovVectorMap_t &data, const Folder &destination, const std::string &tag) |
void | writeRod (const CCIovVectorMap_t &data, const Folder &destination, const std::string &tag) |
void | writeRodmur (const CCIovVectorMap_t &data, const Folder &destination, const std::string &tag) |
void | printRecordSpec (const cool::RecordSpecification &spec) |
const coral::AttributeList & | getAttributes (const coral::AttributeList &vectorEntry) |
const coral::AttributeList & | getAttributes (const cool::IRecordPtr &vectorEntry) |
template<class T > | |
void | showResult (const T &theResult, const unsigned int maxShown=5) |
std::string | defaultFolderPath (const bool itsCoraCool) |
cool::StorageType::TypeId coral2CoolType(const std::string & coralTypeName){ std::vector<std::string> vec ={ "Bool", "UChar", "Int16", "UInt16", "Int32", "UInt32", "UInt63", "Int64", "Float", "Double", "String255", "String4k", "String64k", "String16M", "Blob64k", "Blob16M" }; std::vector<std::string>::iterator it=std::find(vec.begin(),vec.end(),coralTypeName); return static_cast<cool::StorageType::TypeId>(std::distance(vec.begin(), it)); } More... | |
bool | replaceTimestamp (std::string &metadata) |
cool::IFolderPtr | createLocalCopyStructure (const Folder &sourceFolder, const DbConnection &writeDb, const bool forceTimestamp=false) |
std::vector< std::string > & | split (const std::string &s, char delim, std::vector< std::string > &elems) |
std::vector< std::string > | split (const std::string &s, char delim) |
int | main (int argc, const char *argv[]) |
typedef std::map<IovKey_t, CoraCoolObject::AttrListVec> CCIovVectorMap_t |
Definition at line 51 of file openCoraCool.cxx.
Definition at line 49 of file openCoraCool.cxx.
typedef std::pair<cool::ValidityKey, cool::ValidityKey> IovPeriod_t |
https://twiki.cern.ch/twiki/bin/viewauth/AtlasComputing/ConditionsRun1RunNumbers 152777:1270866809, ##2010 7 TeV p-p for period A (very low mu) 154471:1272831478, ##2010 900 GeV p-p 155697:1274722685, ##2010 7 TeV p-p for period C (mu~0.2) 162623:1282673387, ##2010 7 TeV p-p for period F (36 single bunches, mu~2) 167576:1287909620, ##2010 7 TeV p-p (150ns bunch trains) 170002:1291063245, ##2010 Heavy Ion run 178211:1301070988, ##2011 2.76 TeV 180164:1303554669, ##2011 7 TeV p-p (B-D) 183003:1306973316, ##2011 7 TeV p-p (E-H) 186169:1311379706, ##2011 7 TeV p-p (I-K) 189751:1316868299, ##2011 7 TeV p-p (L-M) 193662:1322075751, ##2011 Heavy Ion run 195847:1328040250, ##Upgrade samples from MC12 210184:1347470747, ##2012 Heavy Ion - proton run 212272:1349603811, ##2012 8 TeV p-p 219114:1360457560, ##2013 Heavy Ion - proton run 219305:1360689056, ##2013 2.76 TeV p-p 222222:1376009561, ##DC14 (mu=30) 25ns, old R1 geo tag 222250:1376075781, ##DC14 (mu=30) 50ns, old R1 geo tag 222500:1376646281, #MC15 50ns, new R2 geo tag (mu=0) 222510:1376669101, #MC15 50ns, new R2 geo tag (nominal mu) 222525:1376703331 #MC15 25ns, new R2 geo tag (nominal mu)
From this, looking at the tags in -MC-06: 0-1230768000000000000 : 0-142308; ->Thu, 01 Jan 2009 00:00:00 GMT 1230768000000000000-1262304000000000000 : ->Fri, 01 Jan 2010 00:00:00 GMT 142308 - 152166
1262304000000000000-1288569600000000000 : ->Mon, 01 Nov 2010 00:00:00 GMT 152777,154471,155697,162623,167576; 152166 - 153599 1288569600000000000-1290686400000000000 : ->Thu, 25 Nov 2010 12:00:00 GMT ? not attributed 170000 1290686400000000000-1293840000000000000 : ->Sat, 01 Jan 2011 00:00:00 GMT 170002 1293840000000000000-1333588404000000000 : ->Thu, 05 Apr 2012 01:13:24 GMT 178211,180164,183003,186169,189751,193662,195847-200805;178163 - 178264 1333588404000000000-1333612447000000000 : ->Thu, 05 Apr 2012 07:54:07 GMT 200805-216432 1333612447000000000-1356998400000000000 : ->Tue, 01 Jan 2013 00:00:00 GMT 210184,212272 1356998400000000000-9223372036854775807 : 219114,219305
Definition at line 258 of file openCoraCool.cxx.
typedef std::map<IovKey_t, cool::IRecordVector> IovVectorMap_t |
Definition at line 566 of file openCoraCool.cxx.
Definition at line 313 of file openCoraCool.cxx.
cool::ValidityKey convertSince | ( | const cool::ValidityKey & | since | ) |
Definition at line 287 of file openCoraCool.cxx.
std::string convertTagToRun2 | ( | const std::string & | run1Tag | ) |
Definition at line 411 of file openCoraCool.cxx.
cool::ValidityKey convertUntil | ( | const cool::ValidityKey & | until | ) |
Definition at line 271 of file openCoraCool.cxx.
cool::IFolderPtr createLocalCopyStructure | ( | const Folder & | sourceFolder, |
const DbConnection & | writeDb, | ||
const bool | forceTimestamp = false |
||
) |
Definition at line 920 of file openCoraCool.cxx.
std::string defaultFolderPath | ( | const bool | itsCoraCool | ) |
cool::StorageType::TypeId coral2CoolType(const std::string & coralTypeName){ std::vector<std::string> vec ={ "Bool", "UChar", "Int16", "UInt16", "Int32", "UInt32", "UInt63", "Int64", "Float", "Double", "String255", "String4k", "String64k", "String16M", "Blob64k", "Blob16M" }; std::vector<std::string>::iterator it=std::find(vec.begin(),vec.end(),coralTypeName); return static_cast<cool::StorageType::TypeId>(std::distance(vec.begin(), it)); }
Definition at line 904 of file openCoraCool.cxx.
Definition at line 853 of file openCoraCool.cxx.
Definition at line 849 of file openCoraCool.cxx.
bool inInterval | ( | const cool::ValidityKey | n, |
const cool::ValidityKey | from, | ||
const cool::ValidityKey | to | ||
) |
Definition at line 267 of file openCoraCool.cxx.
bool isCoraCoolDescriptor | ( | const std::string & | descriptor | ) |
Definition at line 351 of file openCoraCool.cxx.
int main | ( | int | argc, |
const char * | argv[] | ||
) |
xmllint –format 'http://coolcherrypy.cern.ch:8080/cooldb/ATLAS_COOLPROD/ATLAS_COOLOFL_SCT/OFLP200/SCT/DAQ/Configuration/Chip/tags' <?xml version="1.0" encoding="utf-8"?> <tagList server="ATLAS_COOLPROD" schema="ATLAS_COOLOFL_SCT" dbname="OFLP200" folder="SCT/DAQ/Configuration/Chip" version="multi"> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 09:48:26 GMT">SctDaqConfigurationChip-001-01</tag> <tag lock="locked" insertionTime="Fri, 09 Apr 2010 14:54:50 GMT">SctDaqConfigurationChip-Apr10-01</tag> <tag lock="locked" insertionTime="Thu, 05 Apr 2012 11:23:33 GMT">SctDaqConfigurationChip-Apr12-01</tag> <tag lock="locked" insertionTime="Mon, 20 Sep 2010 14:49:49 GMT">SctDaqConfigurationChip-Aug10-01</tag> <tag lock="locked" insertionTime="Tue, 15 Dec 2009 15:08:24 GMT">SctDaqConfigurationChip-Dec09</tag> <tag lock="locked" insertionTime="Tue, 06 Dec 2011 10:31:49 GMT">SctDaqConfigurationChip-Dec11-01</tag> <tag lock="unlocked" insertionTime="Thu, 09 Feb 2012 14:27:49 GMT">SctDaqConfigurationChip-MC-01</tag> <tag lock="locked" insertionTime="Thu, 09 Feb 2012 15:56:21 GMT">SctDaqConfigurationChip-MC-02</tag> <tag lock="locked" insertionTime="Thu, 28 Feb 2013 10:35:01 GMT">SctDaqConfigurationChip-MC-03</tag> <tag lock="locked" insertionTime="Mon, 01 Jul 2013 14:55:47 GMT">SctDaqConfigurationChip-MC-04</tag> <tag lock="locked" insertionTime="Tue, 30 Jul 2013 10:13:55 GMT">SctDaqConfigurationChip-MC-05</tag> <tag lock="locked" insertionTime="Tue, 05 Aug 2014 10:54:21 GMT">SctDaqConfigurationChip-MC-06</tag> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 09:46:51 GMT">SctDaqConfigurationChip-NOMINAL</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 09:43:34 GMT">SctDaqConfigurationChip-NOMINAL-Feb09</tag> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 09:41:56 GMT">SctDaqConfigurationChip-NOMINAL-Jan09</tag> <tag lock="unlocked" insertionTime="Mon, 09 Nov 2009 12:44:54 GMT">SctDaqConfigurationChip-Nov09</tag> <tag lock="locked" insertionTime="Mon, 15 Nov 2010 11:47:13 GMT">SctDaqConfigurationChip-Nov10-01</tag> <tag lock="locked" insertionTime="Wed, 01 Dec 2010 15:45:10 GMT">SctDaqConfigurationChip-Nov10-02</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 09:45:11 GMT">SctDaqConfigurationChip-PERFECT</tag> <tag lock="locked" insertionTime="Mon, 30 Aug 2010 13:03:13 GMT">SctDaqConfigurationChip-PERFECT-Aug10-01</tag> </tagList>
<?xml version="1.0" encoding="utf-8"?> <tagList server="ATLAS_COOLPROD" schema="ATLAS_COOLOFL_SCT" dbname="OFLP200" folder="SCT/DAQ/Configuration/Geog" version="multi"> <tag lock="locked" insertionTime="Fri, 09 Apr 2010 14:29:27 GMT">SctDaqConfigurationGeog-Apr10-01</tag> <tag lock="locked" insertionTime="Thu, 05 Apr 2012 11:18:58 GMT">SctDaqConfigurationGeog-Apr12-01</tag> <tag lock="locked" insertionTime="Mon, 20 Sep 2010 14:42:07 GMT">SctDaqConfigurationGeog-Aug10-01</tag> <tag lock="locked" insertionTime="Tue, 15 Dec 2009 10:57:58 GMT">SctDaqConfigurationGeog-Dec09</tag> <tag lock="locked" insertionTime="Tue, 06 Dec 2011 10:24:46 GMT">SctDaqConfigurationGeog-Dec11-01</tag> <tag lock="unlocked" insertionTime="Thu, 09 Feb 2012 14:23:01 GMT">SctDaqConfigurationGeog-MC-01</tag> <tag lock="locked" insertionTime="Thu, 09 Feb 2012 15:52:06 GMT">SctDaqConfigurationGeog-MC-02</tag> <tag lock="locked" insertionTime="Thu, 28 Feb 2013 10:30:24 GMT">SctDaqConfigurationGeog-MC-03</tag> <tag lock="locked" insertionTime="Mon, 01 Jul 2013 14:45:04 GMT">SctDaqConfigurationGeog-MC-04</tag> <tag lock="locked" insertionTime="Tue, 30 Jul 2013 10:08:40 GMT">SctDaqConfigurationGeog-MC-05</tag> <tag lock="locked" insertionTime="Tue, 05 Aug 2014 10:41:15 GMT">SctDaqConfigurationGeog-MC-06</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 09:58:20 GMT">SctDaqConfigurationGeog-NOMINAL-Feb09</tag> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 09:58:20 GMT">SctDaqConfigurationGeog-NOMINAL-Jan09</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 09:58:20 GMT">SctDaqConfigurationGeog-NOMINAL-Sept08</tag> <tag lock="unlocked" insertionTime="Mon, 09 Nov 2009 10:12:06 GMT">SctDaqConfigurationGeog-Nov09</tag> <tag lock="locked" insertionTime="Mon, 15 Nov 2010 11:41:46 GMT">SctDaqConfigurationGeog-Nov10-01</tag> <tag lock="locked" insertionTime="Wed, 01 Dec 2010 15:38:02 GMT">SctDaqConfigurationGeog-Nov10-02</tag> <tag lock="locked" insertionTime="Mon, 30 Aug 2010 13:04:12 GMT">SctDaqConfigurationGeog-PERFECT-Aug10-01</tag> </tagList>
<?xml version="1.0" encoding="utf-8"?> <tagList server="ATLAS_COOLPROD" schema="ATLAS_COOLOFL_SCT" dbname="OFLP200" folder="SCT/DAQ/Configuration/MUR" version="multi"> <tag lock="locked" insertionTime="Fri, 09 Apr 2010 14:32:24 GMT">SctDaqConfigurationMur-Apr10-01</tag> <tag lock="locked" insertionTime="Thu, 05 Apr 2012 11:20:34 GMT">SctDaqConfigurationMur-Apr12-01</tag> <tag lock="locked" insertionTime="Mon, 20 Sep 2010 14:44:03 GMT">SctDaqConfigurationMur-Aug10-01</tag> <tag lock="locked" insertionTime="Tue, 15 Dec 2009 10:59:06 GMT">SctDaqConfigurationMur-Dec09</tag> <tag lock="locked" insertionTime="Tue, 06 Dec 2011 10:27:33 GMT">SctDaqConfigurationMur-Dec11-01</tag> <tag lock="unlocked" insertionTime="Thu, 09 Feb 2012 14:24:33 GMT">SctDaqConfigurationMur-MC-01</tag> <tag lock="locked" insertionTime="Thu, 09 Feb 2012 15:53:46 GMT">SctDaqConfigurationMur-MC-02</tag> <tag lock="locked" insertionTime="Thu, 28 Feb 2013 10:31:43 GMT">SctDaqConfigurationMur-MC-03</tag> <tag lock="locked" insertionTime="Mon, 01 Jul 2013 14:50:58 GMT">SctDaqConfigurationMur-MC-04</tag> <tag lock="locked" insertionTime="Tue, 30 Jul 2013 10:10:28 GMT">SctDaqConfigurationMur-MC-05</tag> <tag lock="locked" insertionTime="Tue, 05 Aug 2014 10:43:17 GMT">SctDaqConfigurationMur-MC-06</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 09:58:27 GMT">SctDaqConfigurationMur-NOMINAL-Feb09</tag> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 09:58:26 GMT">SctDaqConfigurationMur-NOMINAL-Jan09</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 09:58:26 GMT">SctDaqConfigurationMur-NOMINAL-Sept08</tag> <tag lock="unlocked" insertionTime="Mon, 09 Nov 2009 10:19:32 GMT">SctDaqConfigurationMur-Nov09</tag> <tag lock="locked" insertionTime="Mon, 15 Nov 2010 11:43:36 GMT">SctDaqConfigurationMur-Nov10-01</tag> <tag lock="locked" insertionTime="Wed, 01 Dec 2010 15:38:55 GMT">SctDaqConfigurationMur-Nov10-02</tag> <tag lock="locked" insertionTime="Mon, 30 Aug 2010 13:04:12 GMT">SctDaqConfigurationMur-PERFECT-Aug10-01</tag> </tagList>
<tagList server="ATLAS_COOLPROD" schema="ATLAS_COOLOFL_SCT" dbname="OFLP200" folder="SCT/DAQ/Configuration/Module" version="multi"> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 10:04:53 GMT">SctDaqConfigurationModule-001-01</tag> <tag lock="locked" insertionTime="Fri, 09 Apr 2010 14:33:35 GMT">SctDaqConfigurationModule-Apr10-01</tag> <tag lock="locked" insertionTime="Thu, 05 Apr 2012 11:21:34 GMT">SctDaqConfigurationModule-Apr12-01</tag> <tag lock="locked" insertionTime="Mon, 20 Sep 2010 14:45:17 GMT">SctDaqConfigurationModule-Aug10-01</tag> <tag lock="locked" insertionTime="Tue, 15 Dec 2009 10:59:56 GMT">SctDaqConfigurationModule-Dec09</tag> <tag lock="locked" insertionTime="Tue, 06 Dec 2011 10:28:45 GMT">SctDaqConfigurationModule-Dec11-01</tag> <tag lock="unlocked" insertionTime="Thu, 09 Feb 2012 14:25:25 GMT">SctDaqConfigurationModule-MC-01</tag> <tag lock="locked" insertionTime="Thu, 09 Feb 2012 15:54:35 GMT">SctDaqConfigurationModule-MC-02</tag> <tag lock="locked" insertionTime="Thu, 28 Feb 2013 10:32:38 GMT">SctDaqConfigurationModule-MC-03</tag> <tag lock="locked" insertionTime="Mon, 01 Jul 2013 14:52:52 GMT">SctDaqConfigurationModule-MC-04</tag> <tag lock="locked" insertionTime="Tue, 30 Jul 2013 10:11:30 GMT">SctDaqConfigurationModule-MC-05</tag> <tag lock="locked" insertionTime="Tue, 05 Aug 2014 10:45:49 GMT">SctDaqConfigurationModule-MC-06</tag> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 10:03:30 GMT">SctDaqConfigurationModule-NOMINAL</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 10:00:41 GMT">SctDaqConfigurationModule-NOMINAL-Feb09</tag> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 09:59:18 GMT">SctDaqConfigurationModule-NOMINAL-Jan09</tag> <tag lock="unlocked" insertionTime="Mon, 09 Nov 2009 10:23:22 GMT">SctDaqConfigurationModule-Nov09</tag> <tag lock="locked" insertionTime="Mon, 15 Nov 2010 11:44:30 GMT">SctDaqConfigurationModule-Nov10-01</tag> <tag lock="locked" insertionTime="Wed, 01 Dec 2010 15:40:57 GMT">SctDaqConfigurationModule-Nov10-02</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 10:02:07 GMT">SctDaqConfigurationModule-PERFECT</tag> <tag lock="locked" insertionTime="Tue, 31 Aug 2010 13:57:26 GMT">SctDaqConfigurationModule-PERFECT-Aug10-01</tag> </tagList>
xmllint --format 'http://coolcherrypy.cern.ch:8080/cooldb/ATLAS_COOLPROD/ATLAS_COOLOFL_SCT/OFLP200/SCT/DAQ/Configuration/Channel/tags'
<?xml version="1.0" encoding="utf-8"?> <tagList server="ATLAS_COOLPROD" schema="ATLAS_COOLOFL_SCT" dbname="OFLP200" folder="SCT/DAQ/Configuration/Channel" version="multi"> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 09:40:49 GMT">SctDaqConfigurationChannel-001-01</tag> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 09:40:50 GMT">SctDaqConfigurationChannel-NOMINAL-Feb09</tag> <tag lock="unlocked" insertionTime="Mon, 30 Aug 2010 13:02:39 GMT">SctDaqConfigurationChannel-PERFECT-Aug10-01</tag> </tagList>
xmllint –format 'http://coolcherrypy.cern.ch:8080/cooldb/ATLAS_COOLPROD/ATLAS_COOLOFL_SCT/OFLP200/SCT/DAQ/Configuration/ROD/tags'
<?xml version="1.0" encoding="utf-8"?> <tagList server="ATLAS_COOLPROD" schema="ATLAS_COOLOFL_SCT" dbname="OFLP200" folder="SCT/DAQ/Configuration/ROD" version="multi"> <tag lock="locked" insertionTime="Fri, 09 Apr 2010 14:30:59 GMT">SctDaqConfigurationRod-Apr10-01</tag> <tag lock="locked" insertionTime="Thu, 05 Apr 2012 11:19:51 GMT">SctDaqConfigurationRod-Apr12-01</tag> <tag lock="locked" insertionTime="Mon, 20 Sep 2010 14:43:26 GMT">SctDaqConfigurationRod-Aug10-01</tag> <tag lock="locked" insertionTime="Tue, 15 Dec 2009 10:58:30 GMT">SctDaqConfigurationRod-Dec09</tag> <tag lock="locked" insertionTime="Tue, 06 Dec 2011 10:26:05 GMT">SctDaqConfigurationRod-Dec11-01</tag> <tag lock="unlocked" insertionTime="Thu, 09 Feb 2012 14:23:40 GMT">SctDaqConfigurationRod-MC-01</tag> <tag lock="locked" insertionTime="Thu, 09 Feb 2012 15:52:54 GMT">SctDaqConfigurationRod-MC-02</tag> <tag lock="locked" insertionTime="Thu, 28 Feb 2013 10:30:56 GMT">SctDaqConfigurationRod-MC-03</tag> <tag lock="locked" insertionTime="Mon, 01 Jul 2013 14:48:21 GMT">SctDaqConfigurationRod-MC-04</tag> <tag lock="locked" insertionTime="Tue, 30 Jul 2013 10:09:14 GMT">SctDaqConfigurationRod-MC-05</tag> <tag lock="locked" insertionTime="Tue, 05 Aug 2014 10:42:07 GMT">SctDaqConfigurationRod-MC-06</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 10:06:26 GMT">SctDaqConfigurationRod-NOMINAL-Feb09</tag> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 10:06:25 GMT">SctDaqConfigurationRod-NOMINAL-Jan09</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 10:06:25 GMT">SctDaqConfigurationRod-NOMINAL-Sept08</tag> <tag lock="unlocked" insertionTime="Mon, 09 Nov 2009 10:15:21 GMT">SctDaqConfigurationRod-Nov09</tag> <tag lock="locked" insertionTime="Mon, 15 Nov 2010 11:42:51 GMT">SctDaqConfigurationRod-Nov10-01</tag> <tag lock="locked" insertionTime="Wed, 01 Dec 2010 15:38:40 GMT">SctDaqConfigurationRod-Nov10-02</tag> <tag lock="locked" insertionTime="Tue, 31 Aug 2010 13:03:27 GMT">SctDaqConfigurationRod-PERFECT-Aug10-01</tag> </tagList>
xmllint –format 'http://coolcherrypy.cern.ch:8080/cooldb/ATLAS_COOLPROD/ATLAS_COOLOFL_SCT/OFLP200/SCT/DAQ/Configuration/RODMUR/tags' <?xml version="1.0" encoding="utf-8"?> <tagList server="ATLAS_COOLPROD" schema="ATLAS_COOLOFL_SCT" dbname="OFLP200" folder="SCT/DAQ/Configuration/RODMUR" version="multi"> <tag lock="locked" insertionTime="Fri, 09 Apr 2010 14:31:47 GMT">SctDaqConfigurationRodmur-Apr10-01</tag> <tag lock="locked" insertionTime="Thu, 05 Apr 2012 11:20:16 GMT">SctDaqConfigurationRodmur-Apr12-01</tag> <tag lock="locked" insertionTime="Mon, 20 Sep 2010 14:43:45 GMT">SctDaqConfigurationRodmur-Aug10-01</tag> <tag lock="locked" insertionTime="Tue, 15 Dec 2009 10:58:50 GMT">SctDaqConfigurationRodmur-Dec09</tag> <tag lock="locked" insertionTime="Tue, 06 Dec 2011 10:27:01 GMT">SctDaqConfigurationRodmur-Dec11-01</tag> <tag lock="unlocked" insertionTime="Thu, 09 Feb 2012 14:24:09 GMT">SctDaqConfigurationRodmur-MC-01</tag> <tag lock="locked" insertionTime="Thu, 09 Feb 2012 15:53:21 GMT">SctDaqConfigurationRodmur-MC-02</tag> <tag lock="locked" insertionTime="Thu, 28 Feb 2013 10:31:19 GMT">SctDaqConfigurationRodmur-MC-03</tag> <tag lock="locked" insertionTime="Mon, 01 Jul 2013 14:49:50 GMT">SctDaqConfigurationRodmur-MC-04</tag> <tag lock="locked" insertionTime="Tue, 30 Jul 2013 10:09:32 GMT">SctDaqConfigurationRodmur-MC-05</tag> <tag lock="locked" insertionTime="Tue, 05 Aug 2014 10:42:44 GMT">SctDaqConfigurationRodmur-MC-06</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 10:06:31 GMT">SctDaqConfigurationRodmur-NOMINAL-Feb09</tag> <tag lock="unlocked" insertionTime="Mon, 13 Jul 2009 10:06:31 GMT">SctDaqConfigurationRodmur-NOMINAL-Jan09</tag> <tag lock="locked" insertionTime="Mon, 13 Jul 2009 10:06:31 GMT">SctDaqConfigurationRodmur-NOMINAL-Sept08</tag> <tag lock="unlocked" insertionTime="Mon, 09 Nov 2009 10:16:48 GMT">SctDaqConfigurationRodmur-Nov09</tag> <tag lock="locked" insertionTime="Mon, 15 Nov 2010 11:43:17 GMT">SctDaqConfigurationRodmur-Nov10-01</tag> <tag lock="locked" insertionTime="Wed, 01 Dec 2010 15:39:09 GMT">SctDaqConfigurationRodmur-Nov10-02</tag> <tag lock="locked" insertionTime="Mon, 30 Aug 2010 13:04:13 GMT">SctDaqConfigurationRodmur-PERFECT-Aug10-01</tag> </tagList>
0-1230768000000000000 : 0-142308; ->Thu, 01 Jan 2009 00:00:00 GMT
1230768000000000000-1262304000000000000 : ->Fri, 01 Jan 2010 00:00:00 GMT 142308 - 152166
1262304000000000000-1288569600000000000 : ->Mon, 01 Nov 2010 00:00:00 GMT 15277,154471,155697,162623,167576; 152166 - 153599 1288569600000000000-1290686400000000000 : ->Thu, 25 Nov 2010 12:00:00 GMT ? not attributed 170000 1290686400000000000-1293840000000000000 : ->Sat, 01 Jan 2011 00:00:00 GMT 170002 1293840000000000000-1333588404000000000 : ->Thu, 05 Apr 2012 01:13:24 GMT 178211,180164,183003,186169,189751,193662,195847-200805;178163 - 178264 1333588404000000000-1333612447000000000 : ->Thu, 05 Apr 2012 07:54:07 GMT 200805-216432 1333612447000000000-1356998400000000000 : ->Tue, 01 Jan 2013 00:00:00 GMT 210184,212272 1356998400000000000-9223372036854775807 : 219114,219305
Definition at line 964 of file openCoraCool.cxx.
void printRecordSpec | ( | const cool::RecordSpecification & | spec | ) |
Definition at line 838 of file openCoraCool.cxx.
IovVectorMap_t read | ( | const Folder & | theFolder, |
const SelectionCriterion & | choice, | ||
const unsigned int | limit = 10 |
||
) |
CCIovVectorMap_t readCC | ( | const Folder & | theFolder, |
const SelectionCriterion & | choice, | ||
const unsigned int | limit = 10 |
||
) |
CoraCoolObject::AttrListVec readOneDatum | ( | const CoraCoolObjectPtr & | ccPtr | ) |
Definition at line 532 of file openCoraCool.cxx.
bool replaceTimestamp | ( | std::string & | metadata | ) |
Definition at line 910 of file openCoraCool.cxx.
void setRecord | ( | cool::Record & | r, |
const coral::AttributeList & | a, | ||
const std::string & | itemName | ||
) |
Definition at line 621 of file openCoraCool.cxx.
void setRecord | ( | cool::Record & | r, |
const coral::AttributeList & | a, | ||
const std::string & | itemName, | ||
const std::string & | targetName | ||
) |
IovKey_t runLumiFromTimeStamp(const IovKey_t & timeStamp){ return timeStamp; }.
Definition at line 602 of file openCoraCool.cxx.
Definition at line 860 of file openCoraCool.cxx.
std::vector<std::string> split | ( | const std::string & | s, |
char | delim | ||
) |
Definition at line 958 of file openCoraCool.cxx.
std::vector<std::string>& split | ( | const std::string & | s, |
char | delim, | ||
std::vector< std::string > & | elems | ||
) |
Definition at line 303 of file openCoraCool.cxx.
std::string transConn | ( | const std::string & | inconn | ) |
Definition at line 323 of file openCoraCool.cxx.
void writeChannel | ( | const CCIovVectorMap_t & | data, |
const Folder & | destination, | ||
const std::string & | tag | ||
) |
Definition at line 748 of file openCoraCool.cxx.
void writeChip | ( | const CCIovVectorMap_t & | data, |
const Folder & | destination, | ||
const std::string & | tag | ||
) |
Definition at line 627 of file openCoraCool.cxx.
void writeGeog | ( | const CCIovVectorMap_t & | data, |
const Folder & | destination, | ||
const std::string & | tag | ||
) |
Definition at line 667 of file openCoraCool.cxx.
void writeModule | ( | const CCIovVectorMap_t & | data, |
const Folder & | destination, | ||
const std::string & | tag | ||
) |
Definition at line 720 of file openCoraCool.cxx.
void writeMUR | ( | const CCIovVectorMap_t & | data, |
const Folder & | destination, | ||
const std::string & | tag | ||
) |
Definition at line 692 of file openCoraCool.cxx.
void writeRod | ( | const CCIovVectorMap_t & | data, |
const Folder & | destination, | ||
const std::string & | tag | ||
) |
Definition at line 781 of file openCoraCool.cxx.
void writeRodmur | ( | const CCIovVectorMap_t & | data, |
const Folder & | destination, | ||
const std::string & | tag | ||
) |
Definition at line 812 of file openCoraCool.cxx.