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

    User name adev

    Log entry time 15:38:09 on February 22, 2012

    Entry number 362299

    keyword=End_of_Run_40212
    ****************************
     Run Number: 40212
     End of Run Comment:
    Run_type=Cosmics,target_type=No Target,comment_text=DAQ checks
     
    
    can't read "map(trigger,0)": no such element in array
        (parsing index for array "scal")
        invoked from within
    "expr $trigtot($h) + $scal($map(trigger,$h)..."
        invoked from within
    "set  trigtot($h) [ expr $trigtot($h) + $scal($map(trigger,$h)..."
        invoked from within
    "if { $ps($t) != 0 } {
    		set  trigtot($h) [ expr $trigtot($h) + $scal($map(trigger,$h))/($ps($t)+0.0001) - $tcorr/($ps($t)+0.0001)  ]
    #		puts "T-$t hel-$h $scal($map(trigger,$h))/($ps($t)+0.0001)"
    	    } else {
    		puts "Prescale for Trigger disabled."
    	    }"
        ("foreach" body line 10)
        invoked from within
    "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,$h))/($ps($t)+0.0001) - $tcorr/($ps($t)+0.0001)  ]
    #		puts "T-$t hel-$h $scal($map(trigger,$h))/($ps($t)+0.0001)"
    	    } else {
    		puts "Prescale for Trigger disabled."
    	    }
    	}"
        ("foreach" body line 29)
        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,$h))/($ps($t)+0.0001) - $tcorr/($ps($t)+0.0001)  ]
    #		puts "T-$t hel-$h $scal($map(trigger,$h))/($ps($t)+0.0001)"
    	    } else {
    		puts "Prescale for Trigger 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 40212 at Wed Feb 22 15:38:07 EST 2012
    
    Left Arm Top VDC Current : 5.0293
    Left Arm Bottom VDC Current : 5.32227
    Left Arm Top VDC voltage : 3.99072
    Left Arm Bottom VDC voltage : 3.99316
    -----
    Right Arm Top VDC Current : -2.34375
    Right Arm Bottom VDC Current : -0.976562
    Right Arm Top VDC voltage : 3.99805
    Right Arm Bottom VDC voltage : 3.99805
    -----
    Left Arm Q1 momentum : 0.00183531
    Left Arm Q1 power supply : 0
    Left Arm Q1 gauss meter : 0.0001917
    Left Arm Q2 gauss meter : 0.0010828
    Left Arm Q2 power supply current : -0.000244046
    Left Arm Q2 momentum : -4.40784e-07
    Left Arm Q2 power supply polarity : enabled
    Left Arm D1 power supply current : 0.0841395
    Left Arm D1 momentum : 0.00325724
    Left Arm D1 NMR : 0.158952
    Left Arm arm angle : -0.179
    Left Arm Q3 gauss meter : -0.00025767
    Left Arm Q3 power supply current : -0.00055239
    Left Arm Q3 momentum : -1.61885e-06
    Left Arm Q3 power supply polarity : enabled
    -----
    Right Arm Q1 momentum : 0.0061824
    Right Arm Q1 power supply : 0
    Right Arm Q1 gauss meter : -0.0001347
    Right Arm Q2 power supply current : 0.000710651
    Right Arm Q2 momentum : 0.00107487
    Right Arm Q2 gauss meter : 0.0002232
    Right Arm Q2 power supply polarity : enabled
    Right Arm D1 power supply current : 0.000123553
    Right Arm D1 momentum : 0.00411305
    Right Arm D1 NMR : 0.360525
    Right Arm arm angle : 0.197
    Right Arm Q3 power supply current : -9.34076e-05
    Right Arm Q3 momentum : -2.34746e-07
    Right Arm Q3 gauss meter : 0.0002341
    Right Arm Q3 power supply polarity : enabled
    -----
    HacL_HPE1313A:0_Ch58 : -0.29834
    HacL_HPE1313A:0_Ch55 : 23.2422
    HacL_HPE1313A:0_Ch54 : -0.0146484
    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.9668
    Left VDC -DISC LVL Voltage2 : -5.05029
    -----
    Right Arm Collimator : -0.000585938
    HacR_HPE1313A:0_Ch58 : -0.697266
    HacR_HPE1313A:0_Ch55 : 22.4609
    HacR_HPE1313A:0_Ch54 : -1.02148
    Right Arm Angle Floor Angle : 0
    Right Arm Angle Vernier : 0
    Right Arm Scattering Angle : 0.197
    Left Septum Magnet Current : 0.0420966
    Right Septum Magnet Current : 0
    -----