Index of /~deng/data/Dec16_08

      Name                    Last modified       Size  Description

[DIR] Parent Directory 11-Nov-2009 15:33 -

Dec 15, 2008  Xiaoyan Deng

PVDIS analysis for scaler part:

The main codes:

PVDIS_main1.C  -->  Main code for analysis

To compile type "make".

**********************************************

To find the right directory:

go to apar@adaql5
then: cd pvdis/ana/deng/forthtry

*********************************************

To find the latest run number, type:  (In the same directory above)

ls  -lt adaql1/data2/parity/parity08_5* | head


**********************************************

To analyze the data:

./newrun 50627 ---> runs pvdis on run 50627

--or--
./newrun 50627 1000  ---> analyzes the first 1000 events of run 50627

The result is in the root file: pvdis.root  (copied to rootfiles/pvdis_50509.root 
since pvdis.root is over-written in the next analysis)

*********************************************

To show the histograms of asymmetries:

root pvdis.root

--then, under root, type:

.x get_asym_electnar.cc    (show asymmetries from E1NA to E8NA)
.x get_asym_electwid.cc    (show asymmetries from E1WA to E8WA)
.x get_asym_pionnar.cc     (show asymmetries from P1NA to P8NA)
.x get_asym_pionwid.cc     (show asymmetries from P1WA to P8WA)
.x get_asym_shower.cc      (show asymmetries from TS1H to TS8H)
.x get_asym_preshower.cc   (show asymmetries from PS1H to PS8H)


*********************************************


To show the histograms of rates:

root pvdis.root

--then, under root, type:

.x get_rate_electnar.cc    (show rates from E1NA to E8NA and BCM)
.x get_rate_electwid.cc    (show rates from E1WA to E8WA and BCM)
.x get_rate_pionnar.cc     (show rates from P1NA to P8NA and BCM)
.x get_rate_pionwid.cc     (show rates from P1WA to P8WA and BCM)
.x get_rate_shower.cc      (show rates from TS1H to TS8H and BCM)
.x get_rate_preshower.cc   (show rates from PS1H to PS8H and BCM)