75 std::cout <<
"Option string: " <<
options << std::endl;
76 std::cout <<
"Objects per channel=" <<
m_nobj <<
" Channels=" <<
m_nchan
77 <<
" IOVs=" <<
m_niov << std::endl;
78 std::cout <<
"IOVstart=" <<
m_iov1 <<
" inc " <<
m_iovinc << std::endl;
84 }
else if (nfolder<1000) {
85 std::cout <<
"Defining multiple folders" << std::endl;
86 for (
int i=1;
i<=nfolder;++
i) {
89 std::cout <<
"Foldername " << o.str() << std::endl;
93 std::cout <<
"Attempt to define too many folders " << std::endl;
107 "Second reference will be included for each object" << std::endl;
109 "Additional rows will be added for each object" << std::endl;
110 if (
m_bulk) std::cout <<
"Writing will use bulk updates" << std::endl;
114 std::cout <<
"Initialise database for " <<
m_dbstring.substr(0,
idx) <<
124 std::cout <<
"Done the CoraCool initialisation" << std::endl;
129 std::cout <<
"Opening CORAL database" << std::endl;
132 std::cout <<
"Database connections open OK" << std::endl;
135 std::cout <<
"Problem opening CORAL database: " <<
e.what() << std::endl;
137 std::cout <<
"Done the database opening" << std::endl;
140 cool::IDatabasePtr cooldb=
m_coradb->coolDatabase();
141 const std::vector<std::string>&
folders=cooldb->listAllNodes();
142 std::cout <<
"COOL database has " <<
folders.size() <<
" folders defined"
144 for (std::vector<std::string>::const_iterator itr=
folders.begin();
145 itr!=
folders.end();++itr) std::cout << *itr << std::endl;
161 m_payloadspec.extend(
"ULongLong1",cool::StorageType::UInt63);
168 std::cout <<
"Including blob of size " <<
m_blobsize <<
" in data " <<
172 m_fkspec.extend(
"CoolKey",cool::StorageType::Int32);
176 for (std::vector<std::string>::const_iterator itr=
m_foldername.begin();
178 std::string::size_type iofs=itr->rfind(
"/");
179 if (iofs!=std::string::npos) {