450 likes | 676 Views
20120208 Local Meeting. BongHwi Lim. Index. Simple Amp Test Try to Setup Indico. Simple AMP Test. Goal : to make sure every Amp Factor is similar Sub Goal : to learn how to measure electric signal by using CAMAC DAQ. Phillips 16ch 778. Phillips Scientific 417. Phillips 16ch 7166.
E N D
20120208Local Meeting • BongHwi Lim
Index • Simple Amp Test • Try to Setup Indico
Simple AMP Test • Goal : to make sure every Amp Factor is similar • Sub Goal : to learn how to measure electric signal by using CAMAC DAQ
Phillips 16ch 778 Phillips Scientific 417 Phillips 16ch 7166 Phillips N455 Pulser Gate Coins Q D C 1.0m LEMO 1.0m LEMO Amp (x30) 0.23m LEMO Phillips 5010 Signal Att(x0.1) Delay 1.0m LEMO 1.0m LEMO 1.0m LEMO Simple Amp Test • Composition 0.23m LEMO x2
Output Rise and Falltimes Typically 1.5nSec Risetime, 5nSec Falltime. • Repetition Rate Typically 10 KHz • Amplitude Typically -800mVolts for resistive loads of 50 ohms to 10K ohms. Simple Amp Test • PHILLIPS SCIENTIFICNIM POCKET PULSER MODEL 417
Attenuation Accuracy • Attenuation Range and Steps: Position 1 2 3 4 5 6 7 8 9 10 11 12 ± 0.5% of setting. Gain .10 .20 .30 .40 .50 .60 .70 .80 .90 1.00 Open Off • Impedance 50 ohms ±1%; for all positions except 11. • Frequency Range DC to 1000MHz. (3db point) Simple Amp Test • PHILLIPS SCIENTIFIC ROTARY ATTENUATOR MODEL 5010
Simple Amp Test • PHILLIPS SCIENTIFIC Variable Gain Amplifier MODEL 778 • Gain Continuously variable from 2 to 50 via a front panel potentiometer; Non-Inverting • Stability Better than ±10 μV/℃, Referred to the input, and ±0.02%/℃above 1 MHz • Bandwidth DC to 200 MHz minimum, 3db point; 1 Volt output excursion. • Input to Output Delay Less than 1.8 nSec, 5.0 nSec maximum
Simple Amp Test • CAEN Model N 455 QUAD COINCIDENCE LOGIC UNIT • Input : • Fast NIM logic level (logical 0 = 0 to -50mv ; logical 1 = -600mv to -800mv ; 50 Ω impedeance) • Minimum width : 3 ns (FWHM) • Input protection : +400 mv, -5.6 V • Output : • Shaped OUT: • Current source type. • Fast NIM logic level(logical 0 = +1 mA to -1 mA; logical 1 = -12mA to -18mA ; 50 Ω Impedance) • Width : selectable, via front panel timmer, in a range from 4ns to 650 ns • OVP OUT
Simple Amp Test NOTE! Unused Outputs require a 50 Ω termination
Simple Amp Test • Delay • 90 ns • 20 ns • 10 ns combinationing this, we make various delay Here!
Simple Amp Test • Complete Circuit Test
Simple Amp Test • PHILLIPS SCIENTIFIC 16 CHANNEL CHARGE ADC CAMAC MODEL 7166 • Common GATE Input Common to all channels; 20nSec to 10µSec; GATE should precede the charge input by 20nSec minimum; no charge dependence on position of analog event within gate, other than the normal pedestal vs. gate effect. CAMAC CONTROLLER
Simple Amp Test • DAQ LEAD bin macro pro version2.1 ... /home/hipex/DAQ/CAMAC U D P mkdir experiment at20120202 test ... ... CAMAC
Simple Amp Test • DAQ Setting bin d2root.c macro pro version2.1 ... ... Copy data log macro root at20120202 test ... ... ... experiment
Simple Amp Test • DAQ Setting bin macro pro version2.1 ... ... bin online src comment setup run_daq at20120202 test ... ... ... experiment Order setup->run_daq
at20120202 test ... ... ... experiment Simple Amp Test • Setup /home/hipex/CAMAC/bin/version2.1/bin $ ./setup insert data file path : at20120202 input number of station : 1 input 1st station : 5 input number of channel : 1 input 1st channel : 0
Simple Amp Test • Run DAQ /home/hipex/CAMAC/bin/version2.1/bin $ ./run_daq Experiment Name : at20120202 Comment : first amp test of ch.1 Run Number : 101 Entry or Time (Entry[def.] : 0, Time : 1) : 0 # of events : 10000 Repetition : 1
Simple Amp Test • Check the data /home/hipex/CAMAC/experiment/at20120202/data run_101.dat
at20120202 test ... ... ... experiment Simple Amp Test • Convert to ROOT file /home/hipex/CAMAC/experiment/at20120202/macro $ root d2root.c ***************************************** * W E L C O M E t o R O O T * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ root[0] processing d2root.c. . . runnumber : 101 Input file path(Exp. name) : at20120202 Number of data : 1 I convert file : /home/hipex/DAQ/CAMAC/experiment/at20120202/root /run_101.root converter : Real Time = 26.21 seconds Cpu Time = 0 . 53 seconds
Simple Amp Test • Data view
Try to Setup Indico • Choose Setup Form 1. For Administrators 2. Latest Version 0.98 3. OS : Ubuntu11.10 http://indico-software.org/wiki/Documentation
Try to Setup Indico • Before starting In this version v0.98, Indico runs on mod_wsgi, using the apache httpd server. • Python 2.6+ • Apache httpd 2.2+ • Mod_wsgi 3.3 (by installing libapache2-mod-wsgi) • Setuptools 0.6 - older version of python ( ≦ 2.4)
Try to Setup Indico • Install Python 2.7 Already installed in Ubuntu11.10
Try to Setup Indico • Install Python 2.7 How to Check? $ python Exit : Ctrl+D
Try to Setup Indico • Install Apache 2.2.1 • Download source file • Compile and install $ tar -xf httpd~.tar.gz $ cd httpd~ $ ./ configure $ make $ make install http://httpd.apache.org/download.cgi#apache22
$ cd /usr/local/apache2/conf $ sudo vi httpd.conf Edit ServerName Try to Setup Indico • Configure Apache 2.2.1 • edit httpd.conf
Try to Setup Indico • Execute Apache and Check $ cd /usr/local/apache2/bin $ sudo ./apachectl start apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName Web Browser
Try to Setup Indico • Setup Mod_wsgi • Download source file • Unpack mod_wsgi-3.3.tar.gz • Try to Compile http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-3.3.tar.gz $ ./configure Error : Cannot find input file : Makefile.in • libapache2-mod-wsgi • apache2-prefork-dev • apache2-threaded-dev $ sudo apt-get install $ ./configure $ make $ make install
Try to Setup Indico • Install Setuptools 0.6c11 • Download egg file http://pypi.python.org/pypi/setuptools#downloads $ sudo sh setup setuptools-0.6c11-py2.7.egg
Try to Setup Indico • Prepare the dependencies
Try to Setup Indico • libxml2 and libxslt $ sudo apt-get install libxml2-dev libxslt1-dev
$ sudo python setup.py install $ sudo python setup.py install $ sudo python setup.py tests $ sudo python setup.py test $ sudo python setup.py test $ sudo python setup.py install Try to Setup Indico • Etc • PIL • ReportLab • ZODB 3 • jstools • pytz • zope.index • zope.interface • simplejson • suds • lxml • zc.queue • python-dateutil • pypdf • Mako 0.4.1+ • Indico extras jstools0.5.tar.gz->http://linux.softpedia.com/progDownload/JSTools-Download-48472.html
Try to Setup Indico • Install Indico $ cd $ sudo easy_install indico Automatically download and install indico-0.98-rc1-py2.7.egg
Try to Setup Indico • Install Indico $ sudo indico_initial_setup ~ ~ [/opt/indico] : ↵ ~ What do you want to do [ c / a ] : c ~ Do you want to creat a new database now [ Y / n} : Y ~ install the database [/opt/indico/db] : ↵ c to copy default value a to abort copy default value Initial setup of Indico (Setup directory and copy default value and setup DB)
Try to Setup Indico • Start DB $ cd $ sudo zdaemon -C /opt/indico/etc/zdctl.conf start . . . . . . . daemon process started, pid=3023
Try to Setup Indico • HTTP Mode Setup $ sudo gedit /etc/apache2/sites-available/indico
Try to Setup Indico • Start Indico $ sudo a2enmod wsgi $ sudo a2ensite indico $ sudo apache2ctl restart And Enter the site http://localhost/indico/index.py by Web browser
Try to Setup Indico • Failed....