IAC NaI Detectors
General info on IAC NaI detector
[[1]]
Crystal size
NaI crystal sizes: 3”x3”
PMT base configureation
IAC NAI_0
analysis commands
/home/daq/CODA/CODAreader/UsingROOTnEVIO/Oleksiy/evio2nt -fr2177.dat > /dev/null
mv r2177 r2177.root
root r2177.root
TH1F * Hist1=new TH1F("Hist1","Hist1",4096,-0.5,4095.5);
ntuple->Draw("ADC1 >> Hist1")
Detector and Parts
Big pulse due to scope 1 M ohm scope resistance
Pulses in the following to detectors are huge due to we used wrong scope resistance of 1 M ohm.
IAC NAI_1
Without Mu material:
HV = 700 V
With Mu material:
HV = 700 V
IAC_NAI_2
With Mu material
HV = 700 V
Tests with 50 Ohm Scope Resistance
All the following tests are done under 700 V.
IAC NAI_1 with Base #1
Detector # 1 with Base #1:
IAC NAI_2 with Base #2
Detector # 2 with Base #2:
IAC NAI_3 with Base #3
Detector # 3 with Base #3:
IAC NAI_4 with Base #4
Detector # 4 with Base #4:
Calibration
Starting CODA
Starting
Do it at 7 different terminal.
Need to do command on all of them:
source CODA/setup
1st Terminal
msqld
2nd Terminal
telnet roc1
Check if connected by "ls" command, see if you can see libraries there.
load 2 Libraries:
ld < v775Lib.o
ld < v792Lib.o
telnet: connect to address 10.1.1.2: Connection refused
Turn off Firewall
As super users execute:
/sbin/service iptables stop
telnet: connect to address 10.1.1.2: No route to host
Restart roc1, first by turning off small pushing button, then by red button on the top.
Sorry, session limit reached. Connection closed by foreign host
Restart.
3rd Terminal
et_start -v -s 70000 -n 200
4th Terminal
rcServer
5th Terminal
coda_eb -i -s DAQ -n eb1 -t CDEB
6th Terminal
coda_er -i -s DAQ -n LDS_ER -t ROC
7th Terminal
runcontrol
1st Attempt - Failed
1.msqld
~ >source CODA/setup
~ >msqld
mSQL Server 1.0.16coda starting ...
Can't start server : IP Bind : Address already in use
~ >
Ignore
telnet roc1
~ >source CODA/setup
~ >telnet roc1
Trying 10.1.1.2...
telnet: connect to address 10.1.1.2: No route to host
~ >
Restart roc1, first by turning off small pushing button, then by red button on the top.
et_start
~ >cource CODA/setup
cource: Command not found.
~ >source CODA/setup
~ >et_start -v -s 70000 -n 200
et_start: asking for 70000 byte events.
et_start: asking for 200 events.
et_start: starting ET system /tmp/et_sys_DAQ
et ERROR: et_system_start, ET system process already exists!
et_start: error in starting ET system
~ >rm /tmp/et_sys_DAQ
~ >et_start -v -s 70000 -n 200
et_start: asking for 70000 byte events.
et_start: asking for 200 events.
et_start: starting ET system /tmp/et_sys_DAQ
need to delete the old memory file /tmp/et_sys_DAQ
rcServer
~ >source CODA/setup
~ >rcServer
Listening for UDP on port 2052
sh: cmlog_activate: command not found
run control up and running!!
daLogMsg: run control up and running!!
coda_eb
~ >source CODA/setup
~ >coda_eb -i -s DAQ -n eb1 -t CDEB
CODA 2.5,Name : eb1, Type CDEB Id : 0
sh: cmlog_activate: command not found
"eb1" state now "booted"
daLogMsg: "eb1" state now "booted"
DAQ::eb1>
coda_er
~ >source CODA/setup
~ >coda_er -i -s DAQ -n LDS_ER -t ROC
CODA 2.5,Name : LDS_ER, Type ER Id : 0
sh: cmlog_activate: command not found
"LDS_ER" state now "booted"
daLogMsg: "LDS_ER" state now "booted"
DAQ::LDS_ER>
runcontrol
~ >source CODA/setup
~ >runcontrol
sh: uncompress: command not found
sh: uncompress: command not found
Run Control Interface
1st Attempt
Then Run control interface appears.
1. Press "Connect"
2. Press "Configure" (on the top middle)
Then "Run Type Configuration" appears
3. Select "SIS3610", Press "OK"
4. Press "Configure" again.
5. Select "V792_ADC", Press "OK"
6 Press "Download"
Followings are the messeges
INFO : runNumber is now: 2569
INFO : Run number is 2569
INFO : Parsing SIS3610 configuration
INFO : activate component roc1
INFO : activate component eb1
INFO : activate component LDS_ER
INFO : activate component coda_0
INFO : Parsing SIS3610 finished
WARN : No data count limit
WARN : No event count limit
INFO : transition Configure succeeded.
INFO : runNumber is now: 2569
INFO : Run number is 2569
INFO : Configuration V792_ADC is already in use.
INFO : Parsing V792_ADC configuration
INFO : activate component roc1
INFO : activate component eb1
INFO : activate component LDS_ER
INFO : activate component coda_0
INFO : Parsing V792_ADC finished
WARN : No data count limit
WARN : No event count limit
INFO : transition Configure succeeded.
INFO : Connecting to LDS_ER on host daq1.physics.isu.edu
INFO : booted ok
INFO : Connecting to eb1 on host daq1.physics.isu.edu
INFO : booted ok
INFO : Connecting to roc1 on host roc1
Then it stopped.
2nd Attempt
Then Run control interface appears.
1. Press "Connect"
2. Press "Configure" (on the top middle)
Then "Run Type Configuration" appears
3. Select "SIS3610", Press "OK"
4. Press "Configure" again.
5. Select "V792_ADC", Press "OK"
6 Press "Start Run"
INFO : Parsing V792_ADC finished
WARN : No data count limit
WARN : No event count limit
INFO : transition Configure succeeded.
INFO : Connecting to LDS_ER on host daq1.physics.isu.edu
INFO : booted ok
INFO : Connecting to eb1 on host daq1.physics.isu.edu
INFO : booted ok
INFO : Connecting to roc1 on host roc1
Then it stopped again.
3rd Attempt
Then Run control interface appears.
1. Press "Connect"
2. Press "Configure" (on the top middle)
Then "Run Type Configuration" appears
3. Select "V792_ADC", Press "OK"
4. Press "Start Run"
INFO : transition Configure succeeded.
INFO : Connecting to LDS_ER on host daq1.physics.isu.edu
INFO : booted ok
INFO : Connecting to eb1 on host daq1.physics.isu.edu
INFO : booted ok
INFO : Connecting to roc1 on host roc1
Then it stopped.
Second Attempt to Start CODA
msqld
~ >source CODA/setup
~ >msqld
mSQL Server 1.0.16coda starting ...
Can't start server : IP Bind : Address already in use
Need to kill the process
ps -aux | grep msqld
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ daq 7724 0.0 0.0 2216 828 ? S Sep26 0:00 msqld daq 23620 0.0 0.0 3912 684 pts/0 R+ 14:12 0:00 grep msqld
~ >kill -9 7724
~ >msqld
mSQL Server 1.0.16coda starting ...
setjmp returned 0
Checking Authority to use databases in /usr/local/coda/common/rcdb
loading administration ACL msql.acl
admin ACL loaded
loading ACL for database LDS.back
Warning : Couldn't open ACL file: No such file or directory
database LDS.back ACL loaded.
loading ACL for database LDS
Warning : Couldn't open ACL file: No such file or directory
database LDS ACL loaded.
loading ACL for database LDS.back1
Warning : Couldn't open ACL file: No such file or directory
database LDS.back1 ACL loaded.
ACL load done
telnet roc1
~ >source CODA/setup
~ >telnet roc1
Trying 10.1.1.2...
Connected to roc1.
Escape character is '^]'.
->
et_start
~ >source CODA/setup
~ >et_start -v -s 70000 -n 200
et_start: asking for 70000 byte events.
et_start: asking for 200 events.
et_start: starting ET system /tmp/et_sys_DAQ
et ERROR: et_system_start, ET system process already exists!
et_start: error in starting ET system
~ >rm /tmp/et_sys_DAQ
~ >et_start -v -s 70000 -n 200
et_start: asking for 70000 byte events.
et_start: asking for 200 events.
et_start: starting ET system /tmp/et_sys_DAQ
rcServer
~ >source CODA/setup
~ >ps -aux | grep rcServer
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
daq 23886 0.0 0.0 3912 692 pts/20 S+ 14:39 0:00 grep rcServer
~ >rcServer
Warning: RunControl Server: DAQ may be running already
Info: RunControl Server DAQ is not running on port 2052
Listening for UDP on port 2052
sh: cmlog_activate: command not found
run control up and running!!
daLogMsg: run control up and running!!
tried to kill them
~ >source CODA/setup
~ >ps -aux | grep rcServer
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
daq 23969 0.0 0.0 3912 696 pts/20 S+ 14:43 0:00 grep rcServer
~ >kill -9 23969
23969: No such process
~ >ps -aux | grep rcServer
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
daq 23972 0.0 0.0 3912 692 pts/20 S+ 14:43 0:00 grep rcServer
~ >kill 23969
23969: No such process
~ >kill -9 23972
23972: No such process
~ >ps -aux | grep rcServer
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
daq 23976 0.0 0.0 3912 696 pts/20 S+ 14:44 0:00 grep rcServer
~ >kill -9 23976
23976: No such process
~ >ps -aux | grep rcServer
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
daq 23978 0.0 0.0 3912 696 pts/20 S+ 14:44 0:00 grep rcServer
~ >kill -9 23978
23978: No such process
~ >ps -aux | grep rcServer
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
daq 23980 0.0 0.0 3912 716 pts/20 R+ 14:44 0:00 grep rcServer
~ >kill -9 23980
23980: No such process
~ >ps -aux | grep rcServer
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
~ >ps -aux | grep rcServer
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
~ >rcServer
Warning: RunControl Server: DAQ may be running already
Info: RunControl Server DAQ is not running on port 2052
Listening for UDP on port 2052
sh: cmlog_activate: command not found
run control up and running!!
daLogMsg: run control up and running!!
coda_eb
~ >cource CODA/setup
cource: Command not found.
~ >source CODA/setup
~ >coda_eb -i -s DAQ -n eb1 -t CDEB
CODA 2.5,Name : eb1, Type CDEB Id : 0
sh: cmlog_activate: command not found
"eb1" state now "booted"
daLogMsg: "eb1" state now "booted"
DAQ::eb1>
coda_er
~ >source CODA/setup
~ >coda_er -i -s DAQ -n LDS_ER -t ROC
CODA 2.5,Name : LDS_ER, Type ER Id : 0
sh: cmlog_activate: command not found
"LDS_ER" state now "booted"
daLogMsg: "LDS_ER" state now "booted"
DAQ::LDS_ER>
runcontrol
~ >source CODA/setup
~ > runcontrol
Run Control Interface
1. connect
2. Configure
3. Select V792_ADC
4. at "REad From" select "roc1"
5. Configure
6. Download
Then stopped.
Dr. Forest looked all the terminals and said all of them are resdponding except roc1
He restarted roc1, Then followings are what he had done
~ >source CODA/setup
~ >msqld
mSQL Server 1.0.16coda starting ...
Can't start server : IP Bind : Address already in use
~ >telnet roc1
Trying 10.1.1.2...
Connected to roc1.
Escape character is '^]'.
-> -> -> -> telnet> ^[[A^[[B
?Invalid command
telnet> quit
Connection closed.
~ >telnet roc1
Trying 10.1.1.2...
Connected to roc1.
Escape character is '^]'.
telnetd: This system *IN USE* via telnet.
shell restarted.
-> shell restarted.
-> reboot
telnet> quit
Connection closed.
~ >telnet roc1
Trying 10.1.1.2...
^]^] ~ >ping roc1
PING roc1.physics.isu.edu (10.1.1.2) 56(84) bytes of data.
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=1 Destination Host Unreachable
--- roc1.physics.isu.edu ping statistics ---
4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 2999ms
~ >ping roc1
PING roc1.physics.isu.edu (10.1.1.2) 56(84) bytes of data.
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=3 Destination Host Unreachable
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=4 Destination Host Unreachable
--- roc1.physics.isu.edu ping statistics ---
7 packets transmitted, 0 received, +2 errors, 100% packet loss, time 5998ms
, pipe 2
~ >ping roc1
PING roc1.physics.isu.edu (10.1.1.2) 56(84) bytes of data.
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=2 Destination Host Unreachable
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=3 Destination Host Unreachable
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=4 Destination Host Unreachable
--- roc1.physics.isu.edu ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3999ms
, pipe 3
~ >ping roc1
PING roc1.physics.isu.edu (10.1.1.2) 56(84) bytes of data.
--- roc1.physics.isu.edu ping statistics ---
13 packets transmitted, 0 received, 100% packet loss, time 11998ms
~ >who
daq tty1 2011-09-25 19:20
daq pts/0 2011-10-14 14:22 (:0.0)
daq pts/1 2011-10-14 14:20 (:0.0)
daq pts/3 2011-10-14 14:22 (:0.0)
daq pts/7 2011-09-28 16:58 (winnebago.iac.isu.edu)
daq pts/8 2011-10-05 09:38 (:0.0)
daq pts/9 2011-10-10 10:17 (:0.0)
daq pts/10 2011-10-05 10:05 (:0.0)
daq pts/11 2011-10-05 11:33 (:0.0)
daq pts/12 2011-10-05 11:20 (:0.0)
daq pts/13 2011-10-07 13:55 (:0.0)
daq pts/14 2011-10-10 12:47 (134.50.3.21)
daq pts/15 2011-10-12 10:58 (134.50.203.192)
daq pts/16 2011-10-10 10:33 (:0.0)
daq pts/17 2011-10-12 12:28 (134.50.203.192)
daq pts/18 2011-10-10 10:50 (:0.0)
daq pts/20 2011-10-14 14:42 (:0.0)
daq pts/21 2011-10-14 14:47 (:0.0)
daq pts/22 2011-10-14 14:49 (:0.0)
daq pts/23 2011-10-14 14:49 (:0.0)
daq pts/24 2011-10-14 15:03 (:0.0)
daq pts/25 2011-10-14 15:14 (:0.0)
daq pts/26 2011-10-14 15:16 (:0.0)
daq pts/27 2011-10-14 15:17 (:0.0)
daq pts/28 2011-10-14 15:18 (:0.0)
daq pts/29 2011-10-14 15:26 (:0.0)
daq pts/30 2011-10-14 15:42 (:0.0)
~ >ping roc1
PING roc1.physics.isu.edu (10.1.1.2) 56(84) bytes of data.
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=10 Destination Host Unreachable
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=10 Destination Host Unreachable
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=10 Destination Host Unreachable
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=10 Destination Host Unreachable
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=10 Destination Host Unreachable
From localdaq.physics.isu.edu (10.1.1.1) icmp_seq=10 Destination Host Unreachable
--- roc1.physics.isu.edu ping statistics ---
19 packets transmitted, 0 received, +6 errors, 100% packet loss, time 17998ms
, pipe 3
~ >ping roc1
PING roc1.physics.isu.edu (10.1.1.2) 56(84) bytes of data.
64 bytes from roc1.physics.isu.edu (10.1.1.2): icmp_seq=1 ttl=64 time=0.125 ms
64 bytes from roc1.physics.isu.edu (10.1.1.2): icmp_seq=2 ttl=64 time=0.277 ms
64 bytes from roc1.physics.isu.edu (10.1.1.2): icmp_seq=3 ttl=64 time=0.199 ms
64 bytes from roc1.physics.isu.edu (10.1.1.2): icmp_seq=4 ttl=64 time=0.086 ms
64 bytes from roc1.physics.isu.edu (10.1.1.2): icmp_seq=5 ttl=64 time=0.225 ms
--- roc1.physics.isu.edu ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.086/0.182/0.277/0.069 ms
~ >telnet roc1
Trying 10.1.1.2...
Connected to roc1.
Escape character is '^]'.
-> ls
.
..
1
bin1.bin
dmaPLib.o
fadcLib.o
fadcMolLib.o
faSetProcMode
GEMReadout_31MHz_Rev4_1_Test.rbf
GEMReadout_32Mhz_Rev4.rbf
GEMReadout_40Mhz_Rev4_1.rbf
GEMReadout_40Mhz_Rev4.rbf
GEMReadout_NoPLL_Rev4.rbf
sis3610Lib.o
universeDma.h
universeDma.o
universeDma.o.5100
universeDma.o.vw54
usrTempeDma.o
v1495Lib.o
v260_bak.o
v260Lib.o
v775Lib.o
v775Lib.o.bak
v792_dmaLib.o
v792Lib.o
v792Lib.o.bak
value = 0 = 0x0
-> ld < v775Lib.o
Undefined symbol: sysVmeDmaSend (binding 1 type 0)
Undefined symbol: sysVmeDmaDone (binding 1 type 0)
ld error: Module contains undefined symbol(s) and may be unusable.
value = 0 = 0x0
-> ld < v792Lib.o
Undefined symbol: sysVmeDmaSend (binding 1 type 0)
Undefined symbol: sysVmeDmaDone (binding 1 type 0)
ld error: Module contains undefined symbol(s) and may be unusable.
value = 0 = 0x0
->
Then he looked at runcontrol and said he has no other solution than to restart daq computer (local host) for error "Cannot open broadcast Handler"
~ >runcontrol
sh: uncompress: command not found
sh: uncompress: command not found
Warning: RunControl Server: DAQ may be running already
Info: RunControl Server DAQ is not running on port 2052
Cannot open broadcast Handler
Cannot open broadcast Handler
Cannot open broadcast Handler
Cannot open broadcast Handler
But Tamuna is transferring data, so I am going to do it later.
Third Attempt to Start CODA
msqld
~ >source CODA/setup
~ >msqld
mSQL Server 1.0.16coda starting ...
setjmp returned 0
Checking Authority to use databases in /usr/local/coda/common/rcdb
loading administration ACL msql.acl
admin ACL loaded
loading ACL for database LDS.back
Warning : Couldn't open ACL file: No such file or directory
database LDS.back ACL loaded.
loading ACL for database LDS
Warning : Couldn't open ACL file: No such file or directory
database LDS ACL loaded.
loading ACL for database LDS.back1
Warning : Couldn't open ACL file: No such file or directory
database LDS.back1 ACL loaded.
ACL load done
telnet roc1
~ >source CODA/setup
~ >telnet roc1
Trying 10.1.1.2...
Connected to roc1.
Escape character is '^]'.
->
et_start
~ >source CODA/setup
~ >et_start -v -s 70000 -n 200
et_start: asking for 70000 byte events.
et_start: asking for 200 events.
et_start: starting ET system /tmp/et_sys_DAQ
Segmentation fault
~ >
rcServer
~ >source CODA/setup
~ >rcServer
Listening for UDP on port 2052
sh: cmlog_activate: command not found
run control up and running!!
daLogMsg: run control up and running!!
coda_eb
~ >source CODA/setup
~ >coda_eb -i -s DAQ -n eb1 -t CDEB
CODA 2.5,Name : eb1, Type CDEB Id : 0
sh: cmlog_activate: command not found
"eb1" state now "booted"
daLogMsg: "eb1" state now "booted"
DAQ::eb1>
coda_er
~ >source CODA/setup
~ >coda_er -i -s DAQ -n LDS_ER -t ROC
CODA 2.5,Name : LDS_ER, Type ER Id : 0
sh: cmlog_activate: command not found
"LDS_ER" state now "booted"
daLogMsg: "LDS_ER" state now "booted"
DAQ::LDS_ER>
runcontrol
~ >source CODA/setup
~ >runcontrol
sh: uncompress: command not found
sh: uncompress: command not found
Runcotrol User interface
Connect
Configure
SIS3610
Download
Then, dead
Dr. Forest fixed with restarted daq machine
4th Trial
Error art telnet roc1
~ >telnet roc1
Trying 10.1.1.2...
telnet: connect to address 10.1.1.2: No route to host
Firewall of daq is on. If Firewall is on, ROC won't be able to read data from daq. Need to turn it off after log in as super user:
~ >su
Password:
[root@daq1 daq]# /sbin/service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
[root@daq1 daq]#
5th Trial
After running runcontrol, runcontrol is dead
Download configuration to ROC
- Click COnfigure in the Runcontrol GUI
- select V775_TDC from the pull down menu
- click the download button in the runcontrol GUI
You should see message appears on several of the open windows. You should see information in the ROC window. If you see error messages check that you loaded the libraries with the commands -> ld <v792Lib.o -> ld < v775Lib.o
Data Analysis with ROOTSYS
1st trial
Creating Histogram
~/data >~/CODA/CODAreader/UsingROOTnEVIO/Oleksiy/evio2nt -fr2581.dat > /dev/null
home/daq/CODA/CODAreader/UsingROOTnEVIO/Oleksiy/evio2nt: error while loading shared libraries: libet.so: cannot open shared object file: No such file or directory
Changing Name
~/data >mv r2581 r2581.root
Starting ROOTSYS
~/data >root r2581.root
I forgot source CODA
2nd Trial - Successful trial
source ~/CODA/setup
Monitoring data old way
~/CODA/CODAreader/UsingROOTnEVIO/Oleksiy/evio2nt -fr2581.dat > /dev/null
mv r2581 r2581.root
root r2581.root
Create histogram for data to see it in finer binning:
TH1F *Hist1=new TH1F("Hist1","Hist1",4600,0.5,4600.5)
ntuple->Draw("ADC2 >> Hist1")
Monitoring data on line
~/CODA/CODAreader/UsingROOTnEVIO/Oleksiy/Monitor/hsimple -dev 1 -chan 1
Detector Test
Det1
Co60 test 1
Co60 activity: 954.1 nCi
Channel 0 appears to be noisy compared to channel 1 and 2. Perhaps Channel 31 has a software problem?
Na22 test 1
Na22 activity: 1196 nCi
2621 | Na22 | 6 min 17 s | 1090 | 2 / ADC3 |
Cosmic test 1
2622 | Cosmic | 2 h 13 min 4 s | 1090 | 2 / ADC3 |
Det2
Co60 test 2
Co60 activity: 954.1 nCi
2623 | Cosmic | 2 min 25 s | 902 | 2 / ADC3 | |
2624 | Cosmic | min s | 1000 | 2 / ADC3 | |
262 | Cosmic | min s | 2 / ADC3 | ||
262 | Cosmic | min s | 2 / ADC3 | ||
262 | Cosmic | min s | 2 / ADC3 | ||
262 | Cosmic | min s | 2 / ADC3 | ||
262 | Cosmic | min s | 2 / ADC3 |