Linear Collider Forum

Home » Software Tools » Marlin et al » LCCD: "Folder" tagging
LCCD: "Folder" tagging [message #1895] Mon, 07 December 2009 06:58 Go to previous message
Messages: 43
Registered: August 2007
Location: DESY Hamburg

I have another problem with LCCD and this is somehow a constraint in the usage:

If I make a folder in the CondDBMySQL database, for example for pedestal data for a specific run:
Then I can tag this folder for example to tag "0.40".

If I then make another folder for the next run:
I cannot tag it to "0.40" because this tag is already used - any other tag works.

So it's not really folder tagging, it more like database tagging which might offer a bit too less flexibility. Usually you would like to tag one kind of conditions for a specific run or period of time but not all conditions data at once (especially if you work with more than one prototype setup).
Also it's a bit surprising, since the function is called "DBInterface::tagFolder(...)" Wink

It is also strange that tagging works only if you use a DBInterface connection that has before been used to write conditions data. If I -after closing the old DBInterface connection- open a new one for tagging, I get an error.
This is not an extremly serious limitation, but makes it hard to separate different functions in the code to provide a clean class layout and avoid duplication...

Is LCCD/ConDBMySQL meant to work like this or is this a bug in the software?

CU, Ralf.
Read Message
Read Message
Read Message
Previous Topic:[solved] cernlib problem with ilcsoft install v01-08-01
Next Topic:ilcinstall 01-08-01 with qt and geant4
Goto Forum:

Current Time: Mon Feb 24 10:04:45 Pacific Standard Time 2020
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software