Difference: VetraRootScripts (2 vs. 3)

Revision 32009-01-09 - DavidPennicard

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

Vetra ROOT Scripts

Line: 16 to 16
  The script sorts the n timebins taken during MIP tests into the correct order, and tags each sample with the time it occurred. The script also adds a BadStrip flag to the data. Within the script, there is an array where you can list the bad strips on the detector, and any hit on these strips will have BadStrip=1, making it easy to exclude these from analysis. Note that the set of bad strips is currently set up to deal with a particular 3D strip detector – it should be changed to match whatever detector you’re using!
Changed:
<
<
The syntax is below. The argument WindowDelay specifies the delay applied to the 5ns trigger acceptance window, in order to work out the timing.
>
>
The syntax you use to run the script is below. The first argument is the root file containing the NTuple data, in inverted commas. The second argument WindowDelay is a number, and should be set to match the delay applied to the 5ns trigger acceptance window. (The second argument is just used to calculate the time at which each sample was taken.)
 
Changed:
<
<
sort(char rootFile[], int WindowDelay)
>
>
sort("NTupleFileName.root",!WindowDelay)

e.g. sort("NTuple_3Ddetector_5samples_20nsdelay",20)

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