Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

tbhayward/Clas12_DC_alignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/*
 * author Timothy B. Hayward
 * 2018
 * CLAS (12) Collaboration Service Work 
 * (with Torri Roark and Tyler Viducic, supervised by Mac Mestayer)
 */


Currently using 3 groovy scripts:

elastic_peak.groovy

Calculates the W^2 elastic scattering peak of the hipo files in a given directory. Intended to be used with run group A run 2391 (2.2 GeV beam, LH2 target). Loads in the REC::Particle data base and picks out any events with a reconstructed electron. Calculates W^2 from the reconstructed electron with the highest momentum. 

Arguments: 
0 - directory with hipo files to analyze (must be given), 
1 - number of files to analyze (if not given assumes all), 
2 - minimum bin in W^2 (GeV^2) (if not given assumes 0.65 GeV^2), 
3 - maximum bin W^2 (GeV^2) (if not given assumes 1.2 GeV^2), 
4 - number of bins (if not given assumes 250)

---

residuals.groovy
Arguments: 
0 - directory with hipo files to analyze (must be given), 
1 - number of files to analyze (if not given assumes all), 
2 - minimum theta of particle track to allow (if not given, assumes 0 degrees)
3 - maximum theta of particle track to allow (if not given, assumes 90 degrees)
4 - int 1 (sector vs superlayer plots) or int 2 (sector vs layer plots)

---

update_alignment_table.groovy 
Arguments:

About

CLAS 12 DC Alignment Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors