User Tools

Site Tools


countnbad:count_low_noise_channels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
countnbad:count_low_noise_channels [2009/12/18 14:27] – created viktorhcountnbad:count_low_noise_channels [2010/07/09 17:33] (current) viktorh
Line 1: Line 1:
-====== How to count low noise channels ======+====== How to plot the number of open channels as function of the run number ======
    * Login as lhcb@ckm    * Login as lhcb@ckm
 +
    * <code> cd /disk/home/hep/lhcb/noise/ </code>    * <code> cd /disk/home/hep/lhcb/noise/ </code>
 +
    * use bash shell    * use bash shell
 +
    * <code> source setupRoot.sh </code>    * <code> source setupRoot.sh </code>
-   * Use the script <code> /disk/home/hep/lhcb/noise/scripts/nBrokenBonds.py </code> + 
-   * Plots will be saved in folder <code> /disk/home/hep/lhcb/noise/rootFiles/nBadChannels/ </code>+   * Go to the directory where the files (or the symbolic links) are located, e.g.: <code>lhcb@ckm:~/noise/TEST/symLinks></code>  
 + 
 +   * Use the script <code>/disk/home/hep/lhcb/noise/scripts/nBrokenBonds.py</code> E.g: <code>./../../../scripts/nBrokenBonds.py</code> If no arguments are passed to the script, the usage will be explained! 
 + 
 +   * Plots will be saved in new folder <code> lhcb@ckm:~/noise/VFS400_NOTP/rootFiles/links_ALL/nBadChannels/</code> 
 + 
 + 
 +=== How to create a selection of datafiles only === 
 +   * Create symbolic links to the datafiles in a new folder and run the script nBrokenBonds.py there. 
 +      * E.g. of folders containing links: ~/noise/symLinks. 
 +      
 +=== How to create many symbolic links  === 
 +   * Create a text file containing all the rootfilenames (e.g: ls > files_2010.txt) 
 +   * Delete filenames you do not want in the selection 
 +   * run the script createSymLinks.sh in the directory that will contain the links    
 + 
 +=== How to add data files to existing selection === 
 +To add links (to new root files) to an existing selection do: 
 + 
 +   * Copy the new root files into the folder containing the existing ones. 
 +   * Create a text file containing ALL the rootfilenames (e.g: ls > files_2010.txt) you want to select.\\ 
 +   * run the script createSymLinks.sh in the directory containing the links. New ones will be added.
  
countnbad/count_low_noise_channels.1261142822.txt.gz · Last modified: 2009/12/18 14:27 by viktorh