Main Page: Difference between revisions
Line 36: | Line 36: | ||
:[[new exp template]] | :[[new exp template]] | ||
==Proposed directory / data file structure== | |||
New experiments will be placed in ~/experiments/inflXX_zAA (infl12_n16) folder on diag1. Inside folder will have: compass, BoxScore, screenshots, and data directories. BoxScore will be a git repo with current branch = exp name ->infl12_n16. Data will have links to data inside both compass and BoxScore. Data files will have labels (mostly using BoxScore) inflXX__zAA_MonDay_###.root, i.e. infl12_n16_Oct25_0.root | New experiments will be placed in ~/experiments/inflXX_zAA (infl12_n16) folder on diag1. Inside folder will have: compass, BoxScore, screenshots, and data directories. BoxScore will be a git repo with current branch = exp name ->infl12_n16. Data will have links to data inside both compass and BoxScore. Data files will have labels (mostly using BoxScore) inflXX__zAA_MonDay_###.root, i.e. infl12_n16_Oct25_0.root | ||
~/experiments/inflXX_zAA | ~/experiments/inflXX_zAA | ||
/compass --> for all things compass | |||
/BoxScore --> (github branch) | /BoxScore --> (github branch) | ||
/screenshots --> for any figures | /screenshots --> for any figures | ||
/data --> place for data instead of inside BoxScore / compass.... | |||
All data and compass will be backed up on diag3. On diag3 there will also be an experiments folder but only the screenshots will be filled most likely. | All data and compass will be backed up on diag3. On diag3 there will also be an experiments folder but only the screenshots will be filled most likely. |
Revision as of 16:24, October 20, 2019
Landing Page for the ATLAS In-Flight Beam Wiki
The goal of this wiki is to have access to detector (locations, status, etc.), electronics, hardware, software, targets, and misc, information pertaining to in-flight beam production. The actual data collection and analysis information can be found on the ELOG.
Tools for In-Flight Beam Tuning
- Detailed Steps for Tuning In-Flight Beams (still work in progress)
Experiment List
- infl1 - 19O commissioning [Jul / Aug 18]
- infl2 - 16C development [Aug / Oct 18]
- infl3 - 30P development [Oct 18]
- infl4 - 16C delivered to MUSIC / SPS [Dec 2018, Feb 2019]
- infl5 - 30P delivered to Gretina/FMA/GODDESS [Feb/March 2019]
- infl6 - 12B delivery to HELIOS [Apr/May 2019]
- infl7 - 8Li delivery to HELIOS [May/June 2019]
- infl8 - 29Al,31Si development [June 2019]
- infl9 - 31Si to HELIOS ATLAS 1830 Wilson [June 2019]
- infl10 - 22Mg development for SPS [July 2019]
- infl11 - 29Al delivery to HELIOS [July 2019]
- infl12 - 16m,gN delivery to HELIOS [October 2019]
Proposed directory / data file structure
New experiments will be placed in ~/experiments/inflXX_zAA (infl12_n16) folder on diag1. Inside folder will have: compass, BoxScore, screenshots, and data directories. BoxScore will be a git repo with current branch = exp name ->infl12_n16. Data will have links to data inside both compass and BoxScore. Data files will have labels (mostly using BoxScore) inflXX__zAA_MonDay_###.root, i.e. infl12_n16_Oct25_0.root
~/experiments/inflXX_zAA /compass --> for all things compass /BoxScore --> (github branch) /screenshots --> for any figures /data --> place for data instead of inside BoxScore / compass....
All data and compass will be backed up on diag3. On diag3 there will also be an experiments folder but only the screenshots will be filled most likely.
Hardware Information
Computers
- diag1, diag2, diag3, all on onenet running UBUNTU 18
Digitizers
- dig1, dig2
If you are either not familiar with the MediaWiki collaboration platform or have never edited this wiki before, please visit the Help page. In order to edit this wiki you must first log in.
BoxScore
BoxScore is a custom made cpp program for "almost" real-time monitoring.
github : https://github.com/goluckyryan/RealTimeReading
program required libaray
CAENComm.h
CAENVMElib.h
CAENDigitizer.h
cern root
program arugments
/BoxScore boardID Location (save_file_name) | |-- exit |-- cross |-- ZD (zero-degree)
The boardID can be checked by running DetectDigitizer
program running flow
The source code is src/BoxScore.c
- When started, it read the current date and time from the system, and format the default save_file_name.
- Based on which Location, it will make a ChannelMask and set the dE and E channels.
- Read the generalSetting.txt
- Read setting_X.txt for Channel X setting
- Open digitizer and setting digitizer from the setting
- Make root file for saving the data and histogram, Make Canvas for display
- Readout Loop
- check keyboard is hit, get keyboard hit
- if start acquisition
- retrieve data from the digitizer
- every 1 sec (the time period can be set at generalSetting.txt), sorting event based on timestamp, and build event
- if stop acquisition
- if cut creator is needed, the acquisition will be stop and load the program CutCreator
- if clear histogram
- if quit
Algorithm of event building
Grafana + InfluxDB
Current setting on June 14, 2019
When BoxScore is running at diag1, it will push the totalRate and (if any) cuts rates to the InfluxDB service at diag1 using
void WriteToDataBase(TString databaseName, TString seriesName, TString tag, float value){ TString databaseStr; databaseStr.Form("influx -execute \'insert %s,%s value=%f\' -database=%s", seriesName.Data(), tag.Data(), value, databaseName.Data()); system(databaseStr.Data()); }
The databaseName = RAISOR_exit
The seriseName = totalRate / cut1 / cut2 .... etc
The tag = exit / cross / ZD
InfluxDB
InfluxDB server is hosted at diag1.
InfluxDB server can be access via port 8086.
If the InfluxDB server is not started, it can be started by
sudo service influxdb start
Grafana
The Grafana server is hosted at diag3.
The Grafana webpage can be access using any browser
http://diag3.onenet:3000
The login user name is admin, password is the same as diag3 login.
if the server not started (for example, the webpage is not loaded but connection to diag3 is ok.) it can be started by
sudo service grafana-server start