Difference between revisions of "User:Dalton"

From GlueXWiki
Jump to: navigation, search
(git)
(Useful commands)
Line 25: Line 25:
 
[[Guide to Using Git]]
 
[[Guide to Using Git]]
  
===Useful commands===
+
===Notes===
  
 +
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
 
* find difference with 2 versions previous
 
** git diff HEAD~2
 
** 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
 
* 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:new_branch_name
+
** EITHER git push origin master:dalton_new_branch_name
 
*** OR git branch new_local_branch_name
 
*** OR git branch new_local_branch_name
 
** git reset --hard HEAD~10
 
** git reset --hard HEAD~10
 
** git pull
 
** git pull
 +
* deleta a brach from github
 +
** git push origin master:dalton_new_branch_name
  
 
==sim-recon Plugins==
 
==sim-recon Plugins==

Revision as of 12:25, 17 December 2015

Mark Dalton's User Page

Links

Off Site

On Site

Wiki

git

Instructions for Working with GlueX Git Repositories

Guide to Using Git

Notes

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.

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