• Main INDEX
  • Monthly INDEX
  • PREV
  • NEXT
    Make New Entry, Make Followup Entry

    User name adev

    Log entry time 18:03:10 on February 17, 2012

    Entry number 362214

    keyword=End_of_Run_40192
    ****************************
     Run Number: 40192
     End of Run Comment:
    Run_type=Cosmics,target_type=No Target,comment_text=DAQ checks
     
    
    can't read "map(trigger-1,0)": no such variable
        (parsing index for array "scal")
        invoked from within
    "expr $scal($map(trigger-$t,$h)..."
        invoked from within
    "set  trigger_real($t,$h)   [ expr $scal($map(trigger-$t,$h)..."
        ("foreach" body line 2)
        invoked from within
    "foreach t $scalerinfo(triglist) { 
    	    set  trigger_real($t,$h)   [ expr $scal($map(trigger-$t,$h))          ]
                if { $ps($t) != 0 } {
      	     set  trigger($t,$h)        [ expr $scal($map(trigger-$t,$h))/ ( $ps($t) )  ]
                } else {
                 set  trigger($t,$h) 0
    	    }
    	}"
        ("foreach" body line 4)
        invoked from within
    "foreach h { 0 1 -1 } {
    	set trigtot($h)      0
    	set acc_trigtot($h) 0 
    	foreach t $scalerinfo(triglist) { 
    	    set  trigger_real($t,$h)   [ expr $scal($map(trigger-$t,$h))          ]
                if { $ps($t) != 0 } {
      	     set  trigger($t,$h)        [ expr $scal($map(trigger-$t,$h))/ ( $ps($t) )  ]
                } else {
                 set  trigger($t,$h) 0
    	    }
    	}
    	set trigacc($h)  $scal($map(TS-accept,$h))
    	set clock($h)    $scal($map(clock,$h)) 
    
    # Nov 2006:  account for correlations.  
    # Every T5 is a T1,T3. 
    # Dec 2006: Every T6 is a T1,T2
    # Oct 2007: 2-DAQ no T5 or T6
    # Jan 2008: Back to 1-DAQ with T5 (but no T6)
    # Oct 2010: no correlations
    # Dec 2011: no correlations
    
    # These correlations need updating .
    #	set t3corr $trigger(3,$h)
    #        set t5corr $trigger(5,$h)
    	set t3corr 0
            set t5corr 0
    
    	foreach t $scalerinfo(triglist) { 
                set tcorr 0
    #            if { $t == 1 } {
    #               set tcorr $t5corr
    #	    } 
    #            if { $t == 3 } {
    #	       set tcorr [ expr $t5corr  ]
    #	    } 
    
    	    if { $ps($t) != 0 } {
    		set  trigtot($h) [ expr $trigtot($h) + $scal($map(trigger-$t,$h))/($ps($t)+0.0001) - $tcorr/($ps($t)+0.0001)  ]
    #		puts "T-$t hel-$h $scal($map(trigger-$t,$h))/($ps($t)+0.0001)"
    	    } else {
    		puts "Prescale for Trigger-$t disabled."
    	    }
    	}
    
    	set hvf(u1,$h)  $scal($map(bcm_u1,$h))
           	set hvf(d1,$h)  $scal($map(bcm_d1,$h))
        }"
        (procedure "halla_scaler_process" line 62)
        invoked from within
    "halla_scaler_process .mid.tex scalerinfo "
    
    ****************************
    End-of-run EPICS data for Run Number 40192 at Fri Feb 17 18:03:07 EST 2012
    
    Left Arm Top VDC Current : 1.9043
    Left Arm Bottom VDC Current : 1.66016
    Left Arm Top VDC voltage : 0.0102539
    Left Arm Bottom VDC voltage : 0.0209961
    -----
    Right Arm Top VDC Current : -2.53906
    Right Arm Bottom VDC Current : -3.51562
    Right Arm Top VDC voltage : 4
    Right Arm Bottom VDC voltage : 4
    -----
    Left Arm Q1 momentum : 0.00198082
    Left Arm Q1 power supply : 0
    Left Arm Q1 gauss meter : 0.0001824
    Left Arm Q2 gauss meter : 0.0010721
    Left Arm Q2 power supply current : -0.00028429
    Left Arm Q2 momentum : -3.41151e-07
    Left Arm Q2 power supply polarity : enabled
    Left Arm D1 power supply current : 0.0852158
    Left Arm D1 momentum : 0.00328981
    Left Arm D1 NMR : 0.51584
    Left Arm arm angle : -0.179
    Left Arm Q3 gauss meter : -0.0002527
    Left Arm Q3 power supply current : -0.000277999
    Left Arm Q3 momentum : -6.98283e-07
    Left Arm Q3 power supply polarity : enabled
    -----
    Right Arm Q1 momentum : 0.00592259
    Right Arm Q1 power supply : 0
    Right Arm Q1 gauss meter : -0.0001254
    Right Arm Q2 power supply current : 0.000556001
    Right Arm Q2 momentum : -1.46304e-06
    Right Arm Q2 gauss meter : 0.0002223
    Right Arm Q2 power supply polarity : enabled
    Right Arm D1 power supply current : 0.000155324
    Right Arm D1 momentum : 0.00408334
    Right Arm D1 NMR : 0.360557
    Right Arm arm angle : 0.197
    Right Arm Q3 power supply current : 4.8572e-05
    Right Arm Q3 momentum : 0.00293854
    Right Arm Q3 gauss meter : 0.000225
    Right Arm Q3 power supply polarity : enabled
    -----
    HacL_HPE1313A:0_Ch58 : -0.297363
    HacL_HPE1313A:0_Ch55 : 23.1934
    HacL_HPE1313A:0_Ch54 : -0.0151367
    Left Arm Angle Vernier : 0
    Left Arm Scattering Angle : -0.179
    Left VDC -DISC LVL Top : 3.89893
    Left VDC -DISC LVL Bottom : 3.97021
    Left VDC -DISC LVL Voltage1 : 4.96631
    Left VDC -DISC LVL Voltage2 : -5.05078
    -----
    Right Arm Collimator : -9.76563e-05
    HacR_HPE1313A:0_Ch58 : -0.694824
    HacR_HPE1313A:0_Ch55 : 22.3633
    HacR_HPE1313A:0_Ch54 : -1.02002
    Right Arm Angle Floor Angle : 0
    Right Arm Angle Vernier : 0
    Right Arm Scattering Angle : 0.197
    Left Septum Magnet Current : 0.0631449
    Right Septum Magnet Current : 0
    -----