Difference: PeterWinterShrubProcessing (7 vs. 8)

Revision 82009-04-20 - PeterWinter

Line: 1 to 1
 
META TOPICPARENT name="PeterWinterAnalysis"
-- PeterWinter - 16 Feb 2009
Line: 15 to 15
 

Transfer to NPL

Conversion to lifetime histograms

Changed:
<
<
  1. In order to create histograms, I have a script on NPL at ~/jobscripts/MakeHistogramExe.pl. If you run it, it requires thre input parameters:
MakeHistogramExe.pl input_directory data_set_name prefix where
>
>
  1. In order to create histograms, I have a script on NPL at ~/jobscripts/MakeHistogramExe.pl. If you run it, it requires thre input parameters:
    MakeHistogramExe.pl input_directory data_set_name prefix where
 
    • input_directory: Is the directory, where your shrub files are
    • data_set_name: It's the name of the current data_set
Changed:
<
<
    • prefix: Is the beginning of your shrub file names before the run number, i.e. if your shrubs are Pixel_34536-36776.root, then prefix="Pixel_"
If you run this script, it will loop over all the root files with this prefix and create a HistogramCreation_$data_set_name.exe file. You might need to adapt the script since it now expects shrub file names with a range of run numbers, i.e. Pixel_34536-36776.root rather than Pixel_34536.root! You should also edit the output directory in this MakeHistogramExe.pl to match your needs.
  1. You can now launch the HistogramCreation_$data_set_name.exe files from the step before. It will simply call several times ROOT wth the macro CreateHistogramsFromTreeWithLoop.C on the according shrub files. The CreateHistogramsFromTreeWithLoop.C will mainly produce various TH3 histogams with the axis:
>
>
    • prefix: Is the beginning of your shrub file names before the run number, i.e. if your shrubs are Pixel_34536-36776.root, then prefix="Pixel_"
      If you run this script, it will loop over all the root files with this prefix and create a HistogramCreation _$data_set_name.pl file. You might need to adapt the script since it now expects shrub file names with a range of run numbers, i.e. Pixel_34536-36776.root rather than Pixel_34536.root! You should also edit the output directory in this MakeHistogramExe.pl to match your needs.
  1. You can now launch the HistCreate_$data_set_name.pl files from the step before. This script expects a single argument indicating which of the root files that were found in the step above to run, i.e. 0=first ROOT file, 1=second ROOT file etc.
    Launching can be done with a small condor job. Use the launch_condor example setup file from CVS and change necessary directories/paths in there to adapt to your needs.
    The HistCreate_$data_set_name.pl will then call a ROOT script with appropriate arguments. This CreateHistogramsFromTreeWithLoop.C will mainly produce various TH3 histogams with the axis:
 
    • x-axis: Time dt (electron-muon)
Changed:
<
<
    • y-axis: Some parameter of your choice like gondola number, nContEH, extraEL
>
>
    • y-axis: Some parameter of your choice like gondola number, nContEH, extraEL (Depending on what you want to do, you need to create other histograms with the y-axis being adapted to the parameter of interest.)
 
    • z-axis: TPC subvolume number
Deleted:
<
<
Depending on what you want to do, you need to create other histograms with the y-axis being adapted to the parameter of interest.

(Condor job later?)

 

Fitting the data using the class TAllScans

Added:
>
>

Parameter scan for nContEH, nExtraEL

Gondola scan

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback