Week Six
30 June:
Alexandre cleared up a few questions. The URL database variable is used when running multiple crates or computers that will all output to the same central database. Definitely not going to be important at the moment, but possible that it could be vital if the SRS is adopted and needs to be used in a multi-station setup. Also properly mapped the JAVA_HOME and ROOTSYS variables as well (for SLC5, they are /usr/lib/jvm/jre-1.6.0-openjdk.x86_64 and /opt/root-5.34.05/bin/root respectively). Just to note MSQL_TCP_HOST should be set to the hostname of the computer that is running the MSQL database. Quartus is also simply a VME interface program, if I understood correctly, so correctly setting its associated variable shouldn't be important. Tried playing around with variable settings and am still suffering from connection problems when running the rcplatform command.
1 July:
Spoke with Adam about getting use of the second Ru-106 source. He will have to come to the EEL building to inspect the test setup and see what safety precautions need to be put in place. After speaking with Adam it appears that it should not be a problem to use the source for a few hours at a time, and won't require any significant changes to the experimental setup unless I need to take an extended run overnight or have to leave the source unattended. Adam brought the source with him to test and signal can be clearly seen from scintillator even after we have irradiated through the detector. Signal shows up as a ~10mV high-rate peak at 700V. Going to operate scintillator at 800V. At 800V signal is ~15-20mV in amplitude and can be perfectly discriminated. Adam will return tomorrow to setup source for data taking. Setup pictured in notebook. As for CODA, I am unable to run the rcplatform command now. Java appears to have a hostname confusion issue that throws a fatal error. Going to destroy and recreate the coda user account so I can remake the coda initialization scripts. Was able to complete this in 10 minutes, but now having the connection issues with the rcplatform command again.
2 July:
Jul02Ped:/HV(g):2004.3/HV(p):800/Source/1000e/15tbins/2200window/175delay
Jul02Run1:/HV(g):4154.2/HV(p):800/Source/20,000e/15tbins/2200window/175delay
Correct MSQL_TCP_HOST for this system was localhost. So CODA_DB_URL read as (jdbc:msql://localhost:8101/srscoda). Rcplatform now correctly initalizes. For future reference, start msql server (command: msqld), then start rcplatform, when this is done it should be possible to start the rcgui. Run parameters are EXPID:srscoda, Session:test0, Configuration:testSRS. The configuration designates the readout software structure you will use. Right now the setup is:
ROC1 -> ER1 -> EB1 -> test.dat
The C-code that controls the SRS will go here. This can be accessed using cedit. Make sure to start these with the command (coda_er_rc3.5 -name ER1 -type ER). Make sure it points to the srscoda database. Start ROC and EB with similar commands (i.e. coda_roc_rc3.5 -name ROC1 -type ROC). Now that CODA is running properly going to test use of TI card using test code found in tirpci folder. Need to fix Makefile issues as well.
3 July:
Jul03Ped:/HV(g):2004.8/HV(p):800/Source/5000e/12tbins/1800win/175delay
Jul03Run1:/HV(g):4150.8/HV(p):800/Source/100,000e/12tbins/1800win/175delay
Jul03Run2:/HV(g):4150.8/HV(p):800/Source/250,000e/12tbins/1800win/175delay
Coda database starts up smoothly. Should be noted that starting the event builder follows the odd and distinct syntax of (coda_eb_rc3.5 -name EB1 -type CDEB). Now have enough data with source to establish a basis for comparison. Tried compiling the WinDriver directories without success. After checking online, found complete directions for Linux users that provided a successful install. Tried compiling tirpci directory after and suffered continuous issues. First it appeared that the tirpci directory did not have access to a dependent library. After updating the library this issue disappeared.