Difference between revisions of "Software"

From New IAC Wiki
Jump to navigation Jump to search
Line 98: Line 98:
 
|sector ||DCPB.SCTR or ECPB.ScHT or LCPB.ScHT or SCPB.ScPdHT ||sector
 
|sector ||DCPB.SCTR or ECPB.ScHT or LCPB.ScHT or SCPB.ScPdHT ||sector
 
|-
 
|-
|chi_sqr||DCPB.Chi2||track fit
+
|chi_sqr||DCPB.Chi2||track goodness of 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||geometrical matching angle between CC hit and nearest SC hit(in rad)
 
|-
 
|-
 
|trl1_theta||TRL1.DC1||angle on tracking layer one
 
|trl1_theta||TRL1.DC1||angle on tracking layer one
Line 108: Line 108:
 
|trl1_phi||TRL1.DC1|| angle
 
|trl1_phi||TRL1.DC1|| angle
 
|-
 
|-
|trl1_x||TRL1.DC1_pos[0]||location on layer
+
|trl1_x||TRL1.DC1_pos[0]||position at first DC layer in X
 
|-
 
|-
|trl1_y||TRL1.DC1_pos[1]||location on layer
+
|trl1_y||TRL1.DC1_pos[1]||position at first DC layer in Y
 
|-
 
|-
|trl1_z||TRL1.DC1_pos[2]||location on layer
+
|trl1_z||TRL1.DC1_pos[2]||position at first DC layer in Z
 
|-
 
|-
 
|sc_e||SCPB.Edep||energy deposited in the scintillator
 
|sc_e||SCPB.Edep||energy deposited in the scintillator
 
|-
 
|-
|ec_in||ECPB.Ein||energy deposited into inner electron calorimeter
+
|ec_in||ECPB.Ein||energy deposited into inner part of electron calorimeter
 
|-
 
|-
|ec_out||ECPB.Eout||into outer electron calorimeter
+
|ec_out||ECPB.Eout||into outer part of electron calorimeter
 
|-
 
|-
 
|ec_tot||ECPB.Etot||total energy deposited into calorimeter
 
|ec_tot||ECPB.Etot||total energy deposited into calorimeter
 
|-
 
|-
|ec_pos_x||ECPB.Position[0]||the position in electron calorimeter
+
|ec_pos_x||ECPB.Position[0]||the position in electron calorimeter in X
 
|-
 
|-
|ec_pos_y||ECPB.Position[1]||the position in electron calorimeter
+
|ec_pos_y||ECPB.Position[1]||the position in electron calorimeter in Y
 
|-
 
|-
|ec_pos_z||ECPB.Position[2]||the position in electron calorimeter
+
|ec_pos_z||ECPB.Position[2]||the position in electron calorimeter in Z
 
|-
 
|-
|ec_m2hit||ECPB.M2_hit||?????????
+
|ec_m2hit||ECPB.M2_hit||second moment hit pattern in the calorimeter
 
|-
 
|-
|sc_paddle||SCPB.ScPdHt||scintillator paddle number
+
|sc_paddle||SCPB.ScPdHt||SC paddle number
 
|-
 
|-
 
|tdc_time||SCPB.Time||flight time
 
|tdc_time||SCPB.Time||flight time
Line 138: Line 138:
 
|flag||based on EVNT.Status and TRL1.hits||If value is > 10 then 6 superlayer were used in track fit
 
|flag||based on EVNT.Status and TRL1.hits||If value is > 10 then 6 superlayer were used in track fit
 
|-
 
|-
|sc_x||DCPB.SCplane[0]||the track location at the scintillator
+
|sc_x||DCPB.SCplane[0]||intersection with SC plane in X
 
|-
 
|-
|sc_y||DCPB.SCplane[1]||the track location at the scintillator
+
|sc_y||DCPB.SCplane[1]||intersection with SC plane in Y
 
|-
 
|-
|sc_z||DCPB.SCplane[2]||the track location at the scintillator
+
|sc_z||DCPB.SCplane[2]||intersection with SC plane in Z
 
|-
 
|-
|sc_cx||DCPB.SCdir_cos[0]||direction in X
+
|sc_cx||DCPB.SCdir_cos[0]||direction cosine in X at SC plane
 
|-
 
|-
|sc_cy||DCPB.SCdir_cos[1]||direction in Y
+
|sc_cy||DCPB.SCdir_cos[1]||direction cosine in Y at SC plane
 
|-
 
|-
 
|sc_cz||DCPB.SCdir_cos[2]||direction in Z
 
|sc_cz||DCPB.SCdir_cos[2]||direction in Z
 
|
 
|
 
}
 
}

Revision as of 23:54, 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 Description
p_id EVNT.ID Particle ID 1= electron ...
1= electron
2= proton
3= neutron
4= [math]\pi^+[/math]
5= [math]\pi^-[/math]
6= [math]K^+[/math]
7= [math]K^-[/math]
8= deuteron
9= Helium 3
10= Helium 4
11= photon
12= positron
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_z EVNT.P*EVNT.dir_cos[2] Momentum along beam pipe
v_x EVNT.vertex[0] position of vertex in X
v_y EVNT.vertex[1] in Y
v_z EVNT.vertex[2] in Z
q EVNT.Charge Particle's Charge
beta EVNT.Beta Beta particle
sector DCPB.SCTR or ECPB.ScHT or LCPB.ScHT or SCPB.ScPdHT sector
chi_sqr DCPB.Chi2 track goodness of fit
cc_pe CCPB.Nphe/10 number of photoelectrons in Cerenkov detector
cc_chi_sqr CCPB.Chi2CC geometrical matching angle between CC hit and nearest SC hit(in rad)
trl1_theta TRL1.DC1 angle on tracking layer one
trl1_phi TRL1.DC1 angle
trl1_x TRL1.DC1_pos[0] position at first DC layer in X
trl1_y TRL1.DC1_pos[1] position at first DC layer in Y
trl1_z TRL1.DC1_pos[2] position at first DC layer in Z
sc_e SCPB.Edep energy deposited in the scintillator
ec_in ECPB.Ein energy deposited into inner part of electron calorimeter
ec_out ECPB.Eout into outer part of electron calorimeter
ec_tot ECPB.Etot total energy deposited into calorimeter
ec_pos_x ECPB.Position[0] the position in electron calorimeter in X
ec_pos_y ECPB.Position[1] the position in electron calorimeter in Y
ec_pos_z ECPB.Position[2] the position in electron calorimeter in Z
ec_m2hit ECPB.M2_hit second moment hit pattern in the calorimeter
sc_paddle SCPB.ScPdHt SC paddle number
tdc_time SCPB.Time flight time
track_length SCPB.Path track length
flag based on EVNT.Status and TRL1.hits If value is > 10 then 6 superlayer were used in track fit
sc_x DCPB.SCplane[0] intersection with SC plane in X
sc_y DCPB.SCplane[1] intersection with SC plane in Y
sc_z DCPB.SCplane[2] intersection with SC plane in Z
sc_cx DCPB.SCdir_cos[0] direction cosine in X at SC plane
sc_cy DCPB.SCdir_cos[1] direction cosine in Y at SC plane
sc_cz DCPB.SCdir_cos[2] direction in Z

}