Tags:
, view all tags

Installing Musun on NPL machines.

Some installation material available online at: www.npl.illinois.edu/cgi-bin/twiki/bin/view/Main/AnalysisSoftwareInstructions

Here are some steps you should follow to install musun software from scratch to your NPL machine.

  • Java is already installed on NPL machines. But you need to install JavaCC. Crate installation folder on your home directory and copy javacc-4.0 (( from NPL:home/kizilgul/installation/ )) into your installation directory. In this directory

> tar -zxvf javacc-4.0.tar.gz

  • Add/Change these in your .bashrc file.

export MTA=$HOME/mu/src/uiuc/macros/EventTree
export MU=$HOME/mu/work
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-sun
export JJTREE_HOME=$HOME/installation/javacc-4.0/bin
export PATH=$JJTREE_HOME:$PATH

  • If you dont have CVS (( cvs checkout CVSROOT )). Then add these in your .bashrc file.

CVSROOT=(your npl login name)@login.npl.uiuc.edu:/site/npl/musun/cvsroot/
export CVSROOT
export CVS_RSH=ssh;

  • Get midas software from CVS and add these lines to your .bashrc file

> cvs co daq

export MIDAS_ROOT=$HOME/daq/midas
export MIDAS_HOME=$MIDAS_ROOT
export MIDASSYS=$MIDAS_ROOT
export MIDAS_EXPTAB=$HOME/odb/exptab
export MIDAS_EXPT_NAME=musun

  • run make in daq/midas directory

> make

  • copy master.odb from my directory --has some little changes for musun-- go to mu/odb and enter odbedit than load master.odb
> odbedit
odb > load master.odb
  • Get musun software from CVS,

> cvs co mu

  • Now go to mu/mql directory and

> mv JavaCharStream.java JavaCharStream.obsolete

> make clean

> make

  • Do these changes in mu makefile...add these lines, they are commented out in NCSA version.

CC = cc
CXX = gcc

  • Create folder in installation/md5/lib and copy everything in /home/kizilgul/installation/md5-lib

Running mu Level Analysis

Input data files (run0XXXX.mid) are processed in mischellaneous modules and Musun Event trees are created (mutreerun0XXXX.root), some histograms (murun0XXXX.root) are also created along with trees. Tree output will be used in mta analysis.

Note: Data files are originally have no '0' (zero) at the numbering, so you should add '0' manually to your files, like

> mv run6147.mid run06147.mid

I have copied some files in /data/npluser2/kizilgul/ directory

./mu -i /data/npluser2/kizilgul/run02017.mid -o /data/npluser2/kizilgul/mu_processed/murun02017.root -T /data/npluser2/kizilgul/mu_processed/tree/nutreerun02017.root -n 20 50

-i [mid file] -o [output file] -T [tree file] -n [range,not necessary]

The musun event structure is described here.

TMusunEvent Structure

TMusunEvent object stores Muons, Electrons, TPC FADC Pulses, WFD Gondola Pulses, TPC WFD pulses and Neutron pulses. TMusunEvent objects are created, sorted by incoming Muons and then saved into root trees (see TEventTreeAnalysis.cpp).

FADC Analysis

Raw FADC data is collected and processed inMFadcProcessRaw.cpp file. This file also includes the pulse finder. FDCR arrays are filled with pulses found here(with all bank samples). These arrays are then saved into trees with TMusunFadcPulse object structure (see TEventTreeAnalysis.cpp.

WFD Analysis

text here

Neutron Analysis

text here

MU Event Display

Mu Event display consist of two frames. One frame shows fadc bank with pulses and other frame shows fadc pulses on the TPC pad plane (see elog:89). Mu Event Display structure is described in elog:86.

Running mta Level Analysis

MTA analysis uses output tree of mu analysis and processes. The output file is saved in mtarun0XXXX.root format.

./mta -i /data/npluser2/kizilgul/mu_processed/tree/mutreerun06143.root -o /data/npluser2/kizilgul/mu_processed/tree/mta/mtarun06143.root

-i [input tree] -o [output file] -n [range]

The musun mta event structure is described here.

TMusunMTAEven Structure

text here

TPC Tracks

text here

Neutrons

text here

MTA Event Display

Mta Event display described here.

Edit | Attach | Watch | Print version | History: r11 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2010-02-09 - SerdarKizilgul
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback