Difference between revisions of "User:Dalton"

From GlueXWiki
Jump to: navigation, search
(Useful commands)
Line 3: Line 3:
 
==Links==
 
==Links==
  
===Off Site===
+
===Off Site Links===
  
 
* [http://www.phys.uregina.ca/gluex/ GlueX Portal]  
 
* [http://www.phys.uregina.ca/gluex/ GlueX Portal]  
  
===On Site===
+
===On Site Links===
  
 
* [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]
Line 17: Line 17:
 
* [http://www.nist.gov/pml/data/star/ Stopping Ranges of ions]
 
* [http://www.nist.gov/pml/data/star/ Stopping Ranges of ions]
  
===Wiki===
+
===This Wiki Links===
  
 
====git====
 
====git====
Line 25: Line 25:
 
[[Guide to Using Git]]
 
[[Guide to Using Git]]
  
===Notes===
+
==Notes==
 +
 
 +
===git===
  
 
After each commit remember to  
 
After each commit remember to  
Line 33: Line 35:
 
* pull remote changes
 
* pull remote changes
  
===Useful commands===
+
====Useful commands====
  
 
* find difference with 2 versions previous
 
* find difference with 2 versions previous
Line 77: Line 79:
  
 
Plugin to do BCAL energy calibration using cosmic rays.
 
Plugin to do BCAL energy calibration using cosmic rays.
 +
 +
==cron==
 +
 +
crontab -e
 +
 +
<nowiki>
 +
SHELL=/bin/tcsh
 +
0-59 * * * *  $HOME/work/epics/cron_cratesettemps.csh > /dev/null
 +
</nowiki>
 +
 +
 +
 +
  
 
==Analysis==
 
==Analysis==

Revision as of 12:29, 5 January 2016

Mark Dalton's User Page

Links

Off Site Links

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

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

SHELL=/bin/tcsh 0-59 * * * * $HOME/work/epics/cron_cratesettemps.csh > /dev/null



Analysis

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
    • 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

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);
}