Difference between revisions of "Software"

From New IAC Wiki
Jump to navigation Jump to search
Line 51: Line 51:
 
=Contents of EG1 DST files=
 
=Contents of EG1 DST files=
 
{|border="3"
 
{|border="3"
!Name ||BOS bank ||Description|-
+
!Name ||BOS bank         ||Description|-
|p_id ||EVNT.ID ||Particle ID 1= electron ...|-
+
|p_id ||EVNT.ID         ||Particle ID 1= electron ...|-
 
|p_x ||EVNT.P*EVNT.dir_cos[o]||Momentum in X direction|-
 
|p_x ||EVNT.P*EVNT.dir_cos[o]||Momentum in X direction|-
 
|p_y ||EVNT.P*EVNT.dir_cos[1]||Momentum in Y direction|-
 
|p_y ||EVNT.P*EVNT.dir_cos[1]||Momentum in Y direction|-
Line 64: Line 64:
 
|chi_sqr||DCPB.Chi2||track fit|-
 
|chi_sqr||DCPB.Chi2||track fit|-
 
|cc_pe||CCPB.Nphe/10||number of photoelectrons in Cerenkov detector|-
 
|cc_pe||CCPB.Nphe/10||number of photoelectrons in Cerenkov detector|-
|cc_chi_sqr||CCPB.Chi2CC||
+
|cc_chi_sqr||CCPB.Chi2CC||?????????????|-
 
|trl1_theta||TRL1.DC1||angle on tracking layer one|-
 
|trl1_theta||TRL1.DC1||angle on tracking layer one|-
 
|trl1_phi||TRL1.DC1|| angle|-
 
|trl1_phi||TRL1.DC1|| angle|-
Line 87: Line 87:
 
|sc_cx||DCPB.SCdir_cos[0]||direction in X|-
 
|sc_cx||DCPB.SCdir_cos[0]||direction in X|-
 
|sc_cy||DCPB.SCdir_cos[1]||direction in Y|-
 
|sc_cy||DCPB.SCdir_cos[1]||direction in Y|-
|sc_cz||DCPB.SCdir_cos[2]||direction in Z|-
+
|sc_cz||DCPB.SCdir_cos[2]||direction in Z|
 
}
 
}

Revision as of 22:08, 18 July 2007

Getting the analysis software

Minimal CLAS software for EG1 analysis

download files from the JLAB CVS repository using the command

type the command below in order to tell CVS to use ssh

setenv CVS_RSH ssh

if you have an account on the JLAB computers you can do

cvs -td :ext:USERNAME@cvs.jlab.org:/group/clas/clas_cvs co packages

where USERNAME is your JLab username

I will get all packages for convenience but in the end I will remove some subdirectories which the EG1 dst reader doesn't need.

I only kept the following subdirectories under the "packages" subdirectory.
bankdefs
bos
bosbank
bosio
c_bos_io
cc
c_cern
clasbos
clasutil
cms
c_sql
CVS
fdump
fpack
fputil
include
Makefile
rtm
utilities

EG1 DST reader

The EG1 dsts reader is used to uncompress the EG1 DST data files for analysis. The DST library has at least 3 version now so you must use the correct DST library with your data file.

UNIX software

apt-get install paw apt-get install paw++ apt-get install xemacs

Getting Data files from JLAB

downloading to offsite place

running on JLAB farm

Contents of EG1 DST files

Name BOS bank - p_id EVNT.ID - p_x EVNT.P*EVNT.dir_cos[o] - p_y EVNT.P*EVNT.dir_cos[1] - p_z EVNT.P*EVNT.dir_cos[2] - v_x EVNT.vertex[0] - v_y EVNT.vertex[1] - v_z EVNT.vertex[2] - q EVNT.Charge - beta EVNT.Beta - sector DCPB.SCTR or ECPB.ScHT or LCPB.ScHT or SCPB.ScPdHT - chi_sqr DCPB.Chi2 - cc_pe CCPB.Nphe/10 - cc_chi_sqr CCPB.Chi2CC - trl1_theta TRL1.DC1 - trl1_phi TRL1.DC1 - trl1_x TRL1.DC1_pos[0] - trl1_y TRL1.DC1_pos[1] - trl1_z TRL1.DC1_pos[2] - sc_e SCPB.Edep - ec_in ECPB.Ein - ec_out ECPB.Eout - ec_tot ECPB.Etot - ec_pos_x ECPB.Position[0] - ec_pos_y ECPB.Position[1] - ec_pos_z ECPB.Position[2] - ec_m2hit ECPB.M2_hit - sc_paddle SCPB.ScPdHt - tdc_time SCPB.Time - track_length SCPB.Path - flag based on EVNT.Status and TRL1.hits - sc_x DCPB.SCplane[0] - sc_y DCPB.SCplane[1] - sc_z DCPB.SCplane[2] - sc_cx DCPB.SCdir_cos[0] - sc_cy DCPB.SCdir_cos[1] - sc_cz DCPB.SCdir_cos[2]

}