Difference: RichSoftwareConditions (1 vs. 4)

Revision 42015-08-12 - AntonisPapanestis

Line: 1 to 1
 
META TOPICPARENT name="RichSoftwareCalib"

Extracting information from the reconstruction databases

Line: 6 to 6
  Information from these databases can be extracted by either looking at the xml files using the CondDBBrowser or by using the Detector Element classes (C++) used by the reconstruction. The detector elements can be easily accessed using python. Each major RICH component has an associated detector element which can provide infomation about itself. The information can be accessed either using function calls, or by setting the output to debug in which case the detector element prints out information when it is initialised. The detector elements are stored in xml in a directory tree like structure, and in order to access them a location must be provided.
Changed:
<
<
The information a detector element can provide can be found by eithet inspecting the python class (using the dir(object) function) or by consulting the doxygen documentation. A good place to start is the doxygen documenation for Brunel. Available classes are:
>
>
The information a detector element can provide can be found by eithet inspecting the python class (using the dir(object) function) or by consulting the doxygen documentation. A good place to start is the doxygen documenation for Brunel. Available classes are:
 
  • DeRich1
  • DeRich2
  • DeRichHPDPanel

Revision 32010-04-20 - AntonisPapanestis

Line: 1 to 1
 
META TOPICPARENT name="RichSoftwareCalib"

Extracting information from the reconstruction databases

Line: 28 to 28
  -- AntonisPapanestis - 11-Mar-2010
Changed:
<
<
META FILEATTACHMENT attachment="HPD_DBInfo.py.txt" attr="" comment="Python script to extract HPD alignment and QE from LHCBCOND" date="1268327828" name="HPD_DBInfo.py.txt" path="HPD_DBInfo.py" size="3062" stream="HPD_DBInfo.py" tmpFilename="/usr/tmp/CGItemp17212" user="papanest" version="1"
>
>
META FILEATTACHMENT attachment="HPD_DBInfo.py.txt" attr="" comment="Python script to extract HPD alignment and QE from LHCBCOND" date="1271770886" name="HPD_DBInfo.py.txt" path="HPD_DBInfo.py" size="2857" stream="HPD_DBInfo.py" tmpFilename="/usr/tmp/CGItemp58622" user="papanest" version="2"
 
META FILEATTACHMENT attachment="RichInfo.py.txt" attr="" comment="Mirror and HPD location info" date="1268327898" name="RichInfo.py.txt" path="RichInfo.py" size="2035" stream="RichInfo.py" tmpFilename="/usr/tmp/CGItemp22181" user="papanest" version="1"

Revision 22010-03-11 - AntonisPapanestis

Line: 1 to 1
 
META TOPICPARENT name="RichSoftwareCalib"

Extracting information from the reconstruction databases

Changed:
<
<
Information used by the reconstruction is stored in four databases. DDDB is the detector description database, which is "static". Changes are only supported with the use of tags. LHCBCOND and SIMCOND are the Condtions databases used for real and simulated data. The support tags as well as intervals of validity (IOV), so the conditions can change in time. ONLINE is the conditions database where data from hardware sensors are stored. It supports IOV but no tags.
>
>
Information used by the reconstruction is stored in four databases. DDDB is the detector description database, which is "static". Changes are only supported with the use of tags. LHCBCOND and SIMCOND are the Condtions databases used for real and simulated data. They support tags as well as intervals of validity (IOV), so the conditions can change in time. ONLINE is the conditions database where data from hardware sensors are stored. It supports IOV but no tags.
  Information from these databases can be extracted by either looking at the xml files using the CondDBBrowser or by using the Detector Element classes (C++) used by the reconstruction. The detector elements can be easily accessed using python. Each major RICH component has an associated detector element which can provide infomation about itself. The information can be accessed either using function calls, or by setting the output to debug in which case the detector element prints out information when it is initialised. The detector elements are stored in xml in a directory tree like structure, and in order to access them a location must be provided.

Revision 12010-03-11 - AntonisPapanestis

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="RichSoftwareCalib"

Extracting information from the reconstruction databases

Information used by the reconstruction is stored in four databases. DDDB is the detector description database, which is "static". Changes are only supported with the use of tags. LHCBCOND and SIMCOND are the Condtions databases used for real and simulated data. The support tags as well as intervals of validity (IOV), so the conditions can change in time. ONLINE is the conditions database where data from hardware sensors are stored. It supports IOV but no tags.

Information from these databases can be extracted by either looking at the xml files using the CondDBBrowser or by using the Detector Element classes (C++) used by the reconstruction. The detector elements can be easily accessed using python. Each major RICH component has an associated detector element which can provide infomation about itself. The information can be accessed either using function calls, or by setting the output to debug in which case the detector element prints out information when it is initialised. The detector elements are stored in xml in a directory tree like structure, and in order to access them a location must be provided.

The information a detector element can provide can be found by eithet inspecting the python class (using the dir(object) function) or by consulting the doxygen documentation. A good place to start is the doxygen documenation for Brunel. Available classes are:

  • DeRichSystem
  • DeRich1
  • DeRich2
  • DeRichHPDPanel
  • DeRichHPD
  • DeRich(Sph)/(Sec)Mirror
  • DeRichGasRadiator
  • DeRichAerogelRadiator
and various base classes.

There are two example python scripts attached. To use them save them on lxplus (or plus at the pit) and rename them removing the .txt (the twiki added this automaticaly for security reasons). Type:

# SetupProject LHCb
# python -i fileName.py
Have a look in the files, there are useful comments. Even if you don't know python they are easy to understand and edit. To exit from python type Ctrl-D

-- AntonisPapanestis - 11-Mar-2010

META FILEATTACHMENT attachment="HPD_DBInfo.py.txt" attr="" comment="Python script to extract HPD alignment and QE from LHCBCOND" date="1268327828" name="HPD_DBInfo.py.txt" path="HPD_DBInfo.py" size="3062" stream="HPD_DBInfo.py" tmpFilename="/usr/tmp/CGItemp17212" user="papanest" version="1"
META FILEATTACHMENT attachment="RichInfo.py.txt" attr="" comment="Mirror and HPD location info" date="1268327898" name="RichInfo.py.txt" path="RichInfo.py" size="2035" stream="RichInfo.py" tmpFilename="/usr/tmp/CGItemp22181" user="papanest" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback