180 likes | 310 Views
The trkNavigator plugin. 22/10/2003 - CERN - DataBase meeting Simone Paoletti INFN - Sez. Firenze. Two are the same. The trkNavigator Java client : a stand-alone java application which connects to the tracker DB in Lyon and retrieves information via the relay application
E N D
The trkNavigator plugin 22/10/2003 - CERN - DataBase meeting Simone Paoletti INFN - Sez. Firenze
Two are the same ... • The trkNavigator Java client: a stand-alone java application which connects to the tracker DB in Lyon and retrieves information via the relay application • the trkNavigator plugin (since 22 Sept.): an extension to the BigBrowser: same functionality of the Java client, same interface. • Faster access to the trakcer DB • Integrated into the BigBrowser (one tool) • need to have BigBrowser installed and to log into the database. S. Paoletti: trkNavigator
What it does • trkNavigatorretrieves single tracker object information from the tracker database, allowing to: • ) select one sample of objects (sensors, hybrids, modules, apvs) according to ID (part of ID, qualification result …) • i) show: • basic object information (type, description, location, last action performed, status, failures/repairs ...) • the objects contained, according to the OBJECT_ASSEMBLY table • the main qualification tests performed • ii) Browse tests according to their composite structure S. Paoletti: trkNavigator
Why It is an analysis-oriented tool: • Browse the DB on a “per object” basis • keep ID typings at a minimum • make full test information available, following the DB table structure • general: • any object appearing in the OBJECT_ASSEMBLY table will be shown • any test described in the ACTION_DESCRIPTION table may be inserted • Plots: • either scatter plots or histos (rebinnable) • plot interface based on JAS. May adjust appearance (Axis, labels, binning,…) • may be exported to text files (easy to import into excel) S. Paoletti: trkNavigator
Installation Download and install instructions and manual at: http://hep.fi.infn.it/CMS/testres/trkNavigator Plugin: Download trkNav_BigBrowser.zip (trkNav_BigBrowser.tar.gz) inside the directory where BigBrowser is installed. Unpack it: will add dbmod.jar inside the “lib” directory, will replace jas.jar with a newer version, will install the trkNavigator.class inside the “plugin” directory. Add $INST_DIR/lib/dbmod.jar to the CLASSPATH Execute BigBrowser: trkNavigator will be accessible from the "plugin" menu. Stand-alone application Just need JRE installed (http://java.sun.com); include dbmod.jar, jas,jar xercesImpl.jar in the classpath and run “java dbmod/DBModules” Please test it and send me feedback/comments S. Paoletti: trkNavigator
The BigBrowser script rem Set the installation directoryset INST_DIR=set LD_LIBRARY_PATH=%LD_LIBRARY_PATH%;%INST_DIR%\jdk1.3\jre\binecho offecho " _____ _ ____ ____ "echo " |_ _| __ __ _ ___| | _____ _ __| _ \| __ ) "echo " | || '__/ _' |/ __| |/ / _ \ '__| | | | _ \ "echo " | || | | (_| | (__| < __/ | | |_| | |_) |"echo " |_||_| \__,_|\___|_|\_\___|_| |____/|____/ "echo ""echo "Starting ..."echo on %INST_DIR%\jdk1.3\jre\bin\javaw -classpath "%INST_DIR%\lib\classes12.zip;%INST_DIR%\lib\jas.jar;%INST_DIR%\lib\hep.jar;%INST_DIR%\lib\jbcl.jar;%INST_DIR%\lib\mail.jar;%INST_DIR%\lib\xerces.jar;%INST_DIR%\lib\Plot2D1.2.jar;%INST_DIR%\lib\cmstrk.jar;%INST_DIR%\lib\dbmod.jar" BigBrowser %INST_DIR% S. Paoletti: trkNavigator
How it works ... S. Paoletti: trkNavigator
1) Select here the kind of object defining the sample 2) type here the ID or part of the ID (or nothing at all !) 3) Press the search button 4) Choose one object The object information is displayed here Contained objects Composite tests for this object 5) click on any of the red links to the tests … (only composite actions here) S. Paoletti: trkNavigator
Composite Action Basic test information Links to base-actions available here Test result value Green links to plot interfaces S. Paoletti: trkNavigator
Basic Action: measurements are shown in blue (units are shown within “[ ]”, if present in the ACTION_DESCRIPTION table). By clicking on blue links the mesurement content is printed in the output area at the bottom of the screen (may select into the clipboard) S. Paoletti: trkNavigator
Color codes Red links: bring either to Tests or to other tracker objects (when you click it, something else is shown) Blue links: print the raw data for one measurement into the output area at the bottom of the interface (may be useful when data is too long to be shown on the table: in this case the “click to print” is shown iside the table). Green links: make the relative plot appear in a separate frame. S. Paoletti: trkNavigator
Tests • “??” means that the application did not jet try to look for that test in the database • “:0:” means that the application did find the test in the DB and the test result is shown • “(none)” means that the test is not registered in the DB • “(running)” means that the test has running status, so the test result is not yet defined • Information related to module validation and long-term tests is presently searched in the “Test” database instead of the “Production” database. • By default only tests with “reference” status are shown. • This can be changed by enhancing the depth of the test searches via the “Customization” button. In any case, the application will show the most recent test with the higher priority (in the order: reference > running > valid) existing in the database. S. Paoletti: trkNavigator
Plot interface Use the “WriteData” button to write plot data into ASCII format (may later import it inside excel) File plot.txt inside the directory where the application is running. Use these to over-impose this plot to another one S. Paoletti: trkNavigator
Hybrid Information S. Paoletti: trkNavigator
Sensor information S. Paoletti: trkNavigator
Sensor Batch Allows to access PQC information S. Paoletti: trkNavigator
Conclusions • trkNavigator is an analysis tool which allows to retrieve single-object information from the tracker DB • it is a “general” tool: the information is displayed according to the DB table structure for any object • no special “customization” of the information is performed • it is both: • a stand-alone tool which connets to the tracker DB through the relay application • an extension (plugin) to the BigBrowser S. Paoletti: trkNavigator