crab_05_50_10_deadc095_t1800_n10000.sh

Knödlseder Jürgen, 12/22/2012 09:57 PM

Download (619 Bytes)

 
1
#! /bin/bash
2

    
3
# Set parameters
4
MODEL=crab_05_50_10
5
DEADC=0.95
6
DURATION=1800
7
TRIALS=10000
8
OUTFILE=cspull_${MODEL}_deadc095_t${DURATION}_n${TRIALS}.dat
9
LOGFILE=cspull_${MODEL}_deadc095_t${DURATION}_n${TRIALS}.log
10

    
11
# Create pull distribution
12
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
13
cspull \
14
  srcmdl=${MODEL}.xml \
15
  outfile=$OUTFILE \
16
  ntrials=$TRIALS \
17
  caldb="$GAMMALIB/share/caldb/cta" \
18
  irf="kb_E_50h_v3" \
19
  ra=83.6331 \
20
  dec=22.0145 \
21
  emin=0.1 \
22
  emax=100.0 \
23
  enumbins=0 \
24
  duration=$DURATION \
25
  deadc=$DEADC \
26
  rad=5.0 \
27
  npix=200 \
28
  binsz=0.05 \
29
  debug=yes \
30
  chatter=4 > $LOGFILE