Main INDEX
Monthly INDEX
PREV
NEXT
User name R. Michaels
Log entry time 06:14:11 on January27,2008
Entry number 227374
keyword=Short how-to on analysis
How to analyze the PREX detectors.
1. Login to adaql1 as "adaq" account. Type "goprex" to
go the the correct directory (and this sets $DB_DIR).
2. Type "analyzer". Without the quotes, of course.
3. In the analyzer prompt, type ".x onlana.C" (w/o quotes).
Answer which run number. Note, the number of events is controlled
in onlana.C -- see the line "run.SetLastEvent(500000);"
4. Once the analyzer finishes running, you have a tree "T"
and can execute commands like these (they are examples of macros):
.x align.C --> shows alignment
.x hapdet.C --> shows PREX detector data
.x pmom.C --> shows momentum w & w/o cuts
.x hapdet_fine.C --> more PREX plots
... etc.
5. The root files are in /adaql3/work1/happexsp/onlroot
6. Some variables:
P.hapadc1 = S0B
P.hapadc2 = S0F
P.hapadc3 = thin PREX detector
P.hapadc4 = thick PREX detector
P.hapadc5 = amplifed thin PREX detector (if plugged in)
P.hapadc6 = amplifed thick PREX det (if plugged in)
P.haptdc* = corresponding TDCs
For a list of other variable in the "Podd" analyzer:
http://hallaweb.jlab.org/root/doc/variables.html