User Tools

Site Tools


itk:extracting_channels_from_root_files

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
itk:extracting_channels_from_root_files [2016/09/15 19:47]
asc
itk:extracting_channels_from_root_files [2016/09/15 20:04] (current)
mbeydler
Line 1: Line 1:
 ====== Extracting channels from ROOT files ====== ====== Extracting channels from ROOT files ======
  
-Overview: This script ({{:itk:testanalysis.py|testanalysis.py}}) allows the user to print a list of problematic channels after running a test. The user inputs the ROOT file from the test, the specific histogram they would like to analyze, and must input the maximum number of hits possible in the channels. +Overview: This script ({{:itk:channelextraction.py|}}) allows the user to print a list of problematic channels after running a test. The user inputs the ROOT file from the test, the specific histogram they would like to analyze, and must input the maximum number of hits possible in the channels. 
  
 Instructions: Instructions:
   * Download the package using the command    * Download the package using the command 
 <code bash> <code bash>
-wget https://atlaswww.hep.anl.gov/asc/wikidoc/lib/exe/fetch.php?media=itk:testanalysis.py -O TestAnalysis.py+wget https://atlaswww.hep.anl.gov/asc/wikidoc/lib/exe/fetch.php?media=itk:channelextraction.py -O ChannelExtraction.py
 </code> </code>
   * Once you have the package, make sure that you have already installed ROOT or can open the ROOT file from your test.   * Once you have the package, make sure that you have already installed ROOT or can open the ROOT file from your test.
-  * Open the script ''vim (or emacs/whatever text editor you use) TestAnalysis.py''.+  * Open the script ''vim (or emacs/whatever text editor you use) ChannelExtraction.py''.
   * Input your ROOT file that contains the histogram from the test, the name of the histogram, and the maximum number of hits possible in all of the channels.   * Input your ROOT file that contains the histogram from the test, the name of the histogram, and the maximum number of hits possible in all of the channels.
   * Save script.   * Save script.
-  * Run script using ''python TestAnalysis.py'' +  * Run script using ''python ChannelExtraction.py'' 
   * The information will be printed to the command line.   * The information will be printed to the command line.
  
itk/extracting_channels_from_root_files.1473968852.txt.gz ยท Last modified: 2016/09/15 19:47 by asc