Save the old constants
Wednesday November 09, 2005 - 13:16
Log on the Solaris
$solon solon5% sethv
Open the SessionManager
solon5% SessionManager x Couldn't bind to the Password server Thursday November 10, 2005 - 14:49 + Add OSAGENT in setup.sh
Open the Detector Map and save
CLEO-c Session Manager: GUI-> Online -> BDLBrowser : BDL Name: HVDetectorMap : Synchronize -> Current + Tag : HVNormal Tools -> Write Constants to File : ~xs32/work/CLEO/service/hv/dat/HVDetectorMap.txt
Open the ChannelProperty and save
$solon solon5% sethv solon5% SessionManager : GUI-> Online -> BDLBrowser : BDL Name: HVChannelProperties : Synchronize -> Current + Tag : HVNormal: x Not found. Use the current instead Tools -> Write Constants to File : ~xs32/work/CLEO/service/hv/dat/HVChannelProperties.txt
Revise the old one to make new
Rules for the change
- Creat scripts
The easiest usage is : Save the two text file as HVDetectorMap.txt and HVChannelProperties.txt Then $ ~xs32/share/script/python/HVDetectorMap.py $ ~xs32/share/script/python/HVChannelProperties.py
HVDetectorMap.py 2.0 released (Monday November 21, 2005 - 22:28)
HVChannelProperties.py 2.0 passed the test. (Wednesday November 23, 2005 - 15:53)
Remember to use them as:
$ cdhv $ cd dat $ HVDetectorMap.py --t1 41 --t2 42 $ HVChannelProperties.py
Pulled out East slot 6
Tuesday November 29, 2005 - 10:10
Pulled out East slot 6.
Jumped from
37 | to | 40 |
38 | to | 41 |
39 | to | 42 |
Make new constants:
$ cdhv $ cd dat $ HVDetectorMap.py -b 37 -t 40 -f HVDetectorMap.txt -o HVDetectorMap_new.txt $ cp HVDetectorMap_new.txt a.txt $ HVDetectorMap.py -b 38 -t 41 -f a.txt -o a.txt $ diff HVDetectorMap_new.txt a.txt They are different and: $ HVDetectorMap.py -b 38 -t 41 -f a.txt -o b.txt $ diff a.txt b.txt
They are the same. So, the output and input can be the same. Now we can do the whole job this way:
$ HVDetectorMap.py -b 37 -t 40 $ HVDetectorMap.py -b 38 -t 41 -f New_HVDetectorMap.txt -o New_HVDetectorMap.txt $ HVDetectorMap.py -b 39 -t 42 -f New_HVDetectorMap.txt -o New_HVDetectorMap.txt
Load the New_HVDetectorMap constants:
$solon sethv SessionManager: GUI-> Online -> BDLBrowser : BDL Name : HVDetectorMap Tools -> Read Constants from File (New_HVDetectorMap.txt) Write Normal Tag HVNormal (1.13)
Get the current HVChannelProperties for RUN, FILL, and OFF:
SessionManager: GUI-> Online -> BDLBrowser : BDL Name : HVChannelProperties Versino Tools -> getTags(unranged) -> RUN -> 140 Tools -> Write Constants to File ~xs32/work/CLEO/service/hv/dat/RUN.txt Versino Tools -> getTags(unranged) -> FILL -> 139 Tools -> Write Constants to File ~xs32/work/CLEO/service/hv/dat/FILL.txt Versino Tools -> getTags(unranged) -> OFF -> 138 Tools -> Write Constants to File ~xs32/work/CLEO/service/hv/dat/OFF.txt
Modify the HVChannelProperties file:
$ HVChannelProperties.py -f RUN.txt -o RUN_new.txt $ HVChannelProperties.py -f FILL.txt -o FILL_new.txt $ HVChannelProperties.py -f OFF.txt -o OFF_new.txt
Update the HVChannelProperties in SessionManager:
SessionManager: GUI-> Online -> BDLBrowser : BDL Name : HVChannelProperties Tools -> Read Constants from File (RUN_new.txt) Write Normal Tag: RUN (1.142) Tools -> Read Constants from File (FILL_new.txt) Write Normal Tag: FILL (1.143) Tools -> Read Constants from File (OFF_new.txt) Write Normal Tag: OFF (1.144) BDL Name: HVStateSettings: Synchronize->Current: RunMinor: 142 FillMinor: 143 OffMinor: 144 Write-> Normal: Tag: HVNormal
Powering slot 7 from slot 6
Tuesday December 06, 2005 - 09:23
Description:
From looking at the patch panel layout, we were going to be powering slot 7 from slot 6. This means jumpering L34 to L45, L35 to L46 and L35 to L47. We'll have to be careful in the rewriting the the HVDetectorMap since there are three chamber channels to each supply channel in layers 34-36 while there are four to each for layers 45-47. I think your script should be able to take care of that, but I wanted to point it out to you. L34-36 have 23 sectors each, with 3 chamber channels to each of the supply channels except that the last supply in each bulk (S6.1.7, S6.1.15, S6.1.23) powers only two chamber channels (L34S22-23, L3522-23, L36S22-23).
Process:
Look at the DetectorMap: base: L34, HVPitWest 13 (000 111 222 ... 666 77) <- Channel 12 (0 0 ... 0) <- Bulk target: L45, HVPitWest 15 (0000 1111 ... 6666 7) <- Channel 14 (0 0 ... 0) <- Bulk Have to treat them section by section. Try it in script HVDetectorMap.py: Class SubMap: # self.groupChannelNumber = 0 Change: TargetMap.update(BaseMap)
Fix the problem of L37/17 tripping.
When Layer 37/17 trips the HV GUI still says layer 37/17-18-19-20 and layer 40/17-18-19-20. Need to change the mapping.
- L37 S18-20 powered by S4S1.12 / S4S0.1
1. Save the current HVDetectorMap into :
~xs32/work/CLEO/service/hv/dat/HVDetectorMap_1.14.txt
lnx618$ solon solon5% sethv solon5% SessionManage GUI-> Online -> BDLBrowser : BDL Name: HVDetectorMap : Synchronize -> Current Tools -> Write Constants to File : ~xs32/work/CLEO/service/hv/dat/HVDetectorMap_1.14.txt
2. Find DR AnodeLayer, 37
- Channel S4S1.12 -> lun = 4*2+1 = 9, chn = 12 798 DR AnodeLayer,37,Sector,18 HVPitEast 11 4 -> 9 12 799 DR AnodeLayer,37,Sector,19 HVPitEast 11 4 -> 9 12 800 DR AnodeLayer,37,Sector,20 HVPitEast 11 4 -> 9 12 - Bulk S4S0.1 -> lun = 4*2+0 = 8, bkn = 1 1809 DR AnodeLayer,37,Sector,18 HVPitEast 10 0 -> 8 1 1810 DR AnodeLayer,37,Sector,19 HVPitEast 10 0 -> 8 1 1811 DR AnodeLayer,37,Sector,20 HVPitEast 10 0 -> 8 1
Use the new script to handle the change the HVDetector Map
1. Get the "HVDetectorMap_1.14.txt"
lnx618$ solon solon5% sethv solon5% SessionManager GUI-> Online -> BDLBrowser : BDL Name: HVDetectorMap : Synchronize -> Current Tools -> Write Constants to File : ~xs32/work/CLEO/service/hv/dat/HVDetectorMap_1.14.txt
2. Save the current configuragtoin file CLEO-c ELog - 215076 into "HVDetectorMap_1.14_ref.txt"
3. Creat the new Map file "HVDetectorMap_1.14_new.txt"
~xs32/local/bin/SetMap -f HVDetectorMap_1.14.txt
4. Upload the new file, creat the Tag HVNormal (v1.15)
$solon solon5% sethv solon5% SessionManager : GUI-> Online -> BDLBrowser : BDL Name: HVDetectorMap : Tools -> Read Constants from File : ~xs32/work/CLEO/service/hv/dat/HVDetectorMap_1.14_new.txt Write Normal Tag HVNormal (1.15)
Update all the Tags to reflect the change in layer 2
Tags updated :
- HVNormal
- HVDRMUOnly
- HVDROnly
- HVMUOnly
- HVNoMU
- HVNoZD
The detailed procedure can be seen in Log 20060310.