~vpec/maus/tof_calib_read

« back to all changes in this revision

Viewing changes to macros/laser/.svn/text-base/laser_stability.py.svn-base

  • Committer: tunnell
  • Date: 2010-09-20 10:52:02 UTC
  • Revision ID: tunnell@itchy-20100920105202-ce4w9jm59zvgnsxq
moving stuff from tucs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
execfile('src/load.py', globals()) # don't remove this!
 
2
 
 
3
#
 
4
# Example script providing the comparaison of two LASER calibration runs   
 
5
#
 
6
# SV (viret@in2p3.fr) : 20/04/09 
 
7
#
 
8
# For more info, have a look at the LASER webpage:
 
9
 
10
# http://atlas-tile-laser.web.cern.ch
 
11
 
 
12
#
 
13
# This work only with run numbers larger than 107000 (new Laser Calib format) 
 
14
#
 
15
 
 
16
# First give the run numbers you want to compare (they have to have same filter and amplitude settings)
 
17
 
 
18
run1 = 107809
 
19
run2 = 108573
 
20
 
 
21
u = Use([run1, run2])
 
22
l = ReadLaser()
 
23
s = SelectRegion('highgain') # Adapt this to your condition (Filter 6 == lowgain / Filter 8 == highgain)
 
24
x = Stability('Laser', run1, run2)
 
25
 
 
26
processors = [u, l, s, x]
 
27
 
 
28
Go(processors)
 
29
 
 
30