Difference between revisions of "User:Dalton"

From GlueXWiki
Jump to: navigation, search
(Off Site Links)
 
(10 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
* [http://www.phys.uregina.ca/gluex/ GlueX Portal]
 
* [http://www.phys.uregina.ca/gluex/ GlueX Portal]
 +
* [http://www.nist.gov/pml/data/star/ Stopping Ranges of ions]
  
 
====coding====
 
====coding====
Line 14: Line 15:
  
 
* [https://logbooks.jlab.org/search/site/dalton?solrsort=ds_created%20desc&f%5B0%5D=is_uid%3A352 Dalton log entries]
 
* [https://logbooks.jlab.org/search/site/dalton?solrsort=ds_created%20desc&f%5B0%5D=is_uid%3A352 Dalton log entries]
 +
* [https://logbooks.jlab.org/search/site/elton?solrsort=ds_created%20desc&f%5B0%5D=is_uid%3A441 Elton log entries]
 
* [https://logbooks.jlab.org/book/hdbcal BCAL logbook]
 
* [https://logbooks.jlab.org/book/hdbcal BCAL logbook]
 
* [http://www.jlab.org/Hall-D/software/HDSoftware_Documentation/ doxygen generated on-line documentation]
 
* [http://www.jlab.org/Hall-D/software/HDSoftware_Documentation/ doxygen generated on-line documentation]
Line 19: Line 21:
 
* [https://halldweb.jlab.org/SP/HallD_Racks Hall D Rack Layouts]
 
* [https://halldweb.jlab.org/SP/HallD_Racks Hall D Rack Layouts]
  
* [http://www.nist.gov/pml/data/star/ Stopping Ranges of ions]
+
* [https://www.jlab.org/Hall-D/software/HDSoftware_Documentation/particle_type_8h.html particle_type.h]
 +
 
 +
* [https://halldweb.jlab.org/cgi-bin/data_monitoring/monitoring/runBrowser.py Run Brower (all plots, same run)]
 +
* [https://halldweb.jlab.org/cgi-bin/data_monitoring/monitoring/plotBrowser.py Plot browser (single plot, many runs)]
 +
* [https://halldweb.jlab.org/cgi-bin/data_monitoring/monitoring/versionBrowser.py Version Browser (single plot and run, multiple analysis versions)]
  
 
===This Wiki Links===
 
===This Wiki Links===
Line 38: Line 44:
 
* revert local master
 
* revert local master
 
* pull remote changes
 
* pull remote changes
 +
 +
Inverses
 +
*add <-> reset
  
 
====Useful commands====
 
====Useful commands====
Line 98: Line 107:
  
 
==Analysis==
 
==Analysis==
 +
 +
 +
=== ω ===
 +
[https://halldweb.jlab.org/wiki-private/index.php/Exclusive_omega_production_low_energy_results]
  
 
=== Epics ===
 
=== Epics ===
 +
  
 
* Graphical Viewer  MyaViewer
 
* Graphical Viewer  MyaViewer
Line 106: Line 120:
 
** myData : All changes in channel values (like myget)
 
** myData : All changes in channel values (like myget)
 
** mySampler : Interpolated values at regular intervals
 
** mySampler : Interpolated values at regular intervals
 +
*** mySampler -b "2016-02-13 12:00:00" -s 1m -n 5760 IPM5C11.YPOS IPM5C11B.YPOS bpu_mean_y AC:inner:position:y >> position_Y.txt
 
** myStats : Statistics for a particular channel
 
** myStats : Statistics for a particular channel
 
*** myStats -P -b'2015-12-06 00:15' -e^5m -lvmebcal1:sens1Temp,vmebcal1:sens3Temp,vmebcal1:sens5Temp,vmebcal1:sens6Temp,vmebcal1:sens6Temp,vmebcal1:sens8Temp
 
*** myStats -P -b'2015-12-06 00:15' -e^5m -lvmebcal1:sens1Temp,vmebcal1:sens3Temp,vmebcal1:sens5Temp,vmebcal1:sens6Temp,vmebcal1:sens6Temp,vmebcal1:sens8Temp
 +
*** myStats -P -b'2016-02-14 13:09' -e'2016-02-14 13:18' -lMQPAD00M,IPMAD00C.XPOS,IPMAD00C.YPOS,IPM5C11B.XPOS,IPM5C11B.YPOS,IPM5C11.XPOS,IPM5C11.YPOS
 +
* MyaViewer -signal "IPMAD00C.XPOS IPMAD00C.YPOS  MQPAD00M" -type Strip
 +
* Possibly useful from offsite??
 +
** [https://epicsweb.jlab.org/wave epicsweb.jlab.org/wave]
 +
** [https://epicsweb.jlab.org/myquery/ epicsweb.jlab.org/myquery/]
  
 
===BCAL Attenuation Length and Gain Ratios===
 
===BCAL Attenuation Length and Gain Ratios===
Line 157: Line 177:
 
}
 
}
 
</nowiki>
 
</nowiki>
 +
 +
==Cailbration==
 +
 +
===GlueX Calibration output===
 +
 +
location
 +
 +
/volatile/halld/home/gxproj3/calib_jobs/
 +
 +
 +
===FADC Calibration===
 +
 +
cd ~/work/DAQ/new/daq_dev_vers/daq/vme/src/epics/
 +
 +
master configuration files at
 +
 +
/gluonfs1/home/hdops/CDAQ/daq_dev_v0.31/daq/config/hd_all
 +
 +
parameters found at
 +
 +
/gluex/CALIB/ALL/fadc250/default

Latest revision as of 16:03, 6 April 2021

Mark Dalton's User Page

Links

Off Site Links

coding

On Site Links

This Wiki Links

git

Instructions for Working with GlueX Git Repositories

Guide to Using Git

Notes

git

After each commit remember to

  • push to origin
  • issue pull request
  • revert local master
  • pull remote changes

Inverses

  • add <-> reset

Useful commands

  • find difference with 2 versions previous
    • git diff HEAD~2
  • If you've made 10 local commits, push changes to origin, return to 10 versions previous and pull most recent changes
    • EITHER git push origin master:dalton_new_branch_name
      • OR git branch new_local_branch_name
    • git reset --hard HEAD~10
    • git pull
  • deleta a brach from github
    • git push origin master:dalton_new_branch_name

sim-recon Plugins

DAQTree

DAQTree plugin

IntegralWidthvsNumSamps

  • Intended to work with mode 8 LED data (waveforms).
  • For each channel, will integrate the signal varying the start and stop sample relative to the threshold crossing.
    • Find the relative width for each configuration of integral and find the minimum width.
    • Do this for case with and without pedestal subtraction.
    • log 3345807
  • Also used for comparing signals end-to-end to investigate LED width


F250_mode8_pedestal

BCAL_attenlength_gainratio

Plugin to determine the attenuation length and gain ratio for the BCAL channels

  • For each channel will
    • Fill a histogram of log integral ration versus position
    • Fit a line to the histogram
    • Extract the attenuation length and gain ratio from fit
  • Log entries

bcal_calib_cosmic_cdc

Plugin to do BCAL energy calibration using cosmic rays.

cron

crontab -e

0-59 * * * *  $HOME/work/epics/cron_cratesettemps_BCALFCAL.sh > /dev/null
0-59 * * * *  $HOME/work/epics/cron_cratesettemps_FDCCDC.sh > /dev/null



Analysis

ω

[1]

Epics

  • Graphical Viewer MyaViewer
  • Text access
    • myget : sequenc of channel events for 1 channel
    • myData : All changes in channel values (like myget)
    • mySampler : Interpolated values at regular intervals
      • mySampler -b "2016-02-13 12:00:00" -s 1m -n 5760 IPM5C11.YPOS IPM5C11B.YPOS bpu_mean_y AC:inner:position:y >> position_Y.txt
    • myStats : Statistics for a particular channel
      • myStats -P -b'2015-12-06 00:15' -e^5m -lvmebcal1:sens1Temp,vmebcal1:sens3Temp,vmebcal1:sens5Temp,vmebcal1:sens6Temp,vmebcal1:sens6Temp,vmebcal1:sens8Temp
      • myStats -P -b'2016-02-14 13:09' -e'2016-02-14 13:18' -lMQPAD00M,IPMAD00C.XPOS,IPMAD00C.YPOS,IPM5C11B.XPOS,IPM5C11B.YPOS,IPM5C11.XPOS,IPM5C11.YPOS
  • MyaViewer -signal "IPMAD00C.XPOS IPMAD00C.YPOS MQPAD00M" -type Strip
  • Possibly useful from offsite??

BCAL Attenuation Length and Gain Ratios

  • Analyze data with plugin BCAL_attenlength_gainratio

Root

Plotting Style

.rootrc

Rint.History .root.history
Rint.Logon /home/dalton/rootlogon.C

rootlogon.C


int rootlogon()
{
	printf(".rootrc forced running of ~/rootlogon.C\n");
	gROOT->SetStyle("Plain");

	gStyle->SetPadRightMargin(0.05);
	gStyle->SetPadLeftMargin(0.15);
	gStyle->SetPadBottomMargin(0.12);
	gStyle->SetPadTopMargin(0.12);

	gStyle->SetTitleSize(0.06,"xyz");
	gStyle->SetTitleSize(0.07,"h");
	gStyle->SetLabelSize(0.06,"xyz");
	gStyle->SetTitleX(0);
	gStyle->SetTitleAlign(13);
	gStyle->SetNdivisions(505,"xy");

	gStyle->SetTitleOffset(0.9, "X");
	gStyle->SetTitleOffset(1.1, "Y");

	gStyle->SetStatH(0.20);
	gStyle->SetStatW(0.30);
	gStyle->SetStatX(0.99);
	gStyle->SetStatY(0.99);

	gStyle->SetOptStat(0);
	gStyle->SetOptFit(0);
}

Cailbration

GlueX Calibration output

location

/volatile/halld/home/gxproj3/calib_jobs/


FADC Calibration

cd ~/work/DAQ/new/daq_dev_vers/daq/vme/src/epics/

master configuration files at

/gluonfs1/home/hdops/CDAQ/daq_dev_v0.31/daq/config/hd_all

parameters found at

/gluex/CALIB/ALL/fadc250/default