Jpp
15.0.2
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JMarkov
JBeaconSimulator.sh
Go to the documentation of this file.
1
#!/bin/bash
2
3
#
4
# \author mjongen
5
#
6
# compile
7
make JBeaconSimulator
8
if
[ !
"$?"
==
"0"
]
9
then
10
echo
"Unsuccesful compilation"
11
exit
1
12
fi
13
14
PMT
=0
15
OPENING_ANGLE=2
16
FLOOR=2
17
18
# run JBeaconSimulator for PMT${PMT} on the source DOM with a large opening angle
19
# we run both tracking and MCMCM
20
21
echo
"MCMC"
22
./JBeaconSimulator -
N
10000 -
a
$ARCA14DET -
o
out_MCMC.root -s
"1 1"
-t
"1 ${FLOOR} ${PMT}"
-opening-angle ${OPENING_ANGLE} -m 3 -
write
-paths -stepsizes
"8 5 4"
-target-step-size-deg 1 -tangential-step-size-deg 0.1
23
#-stepsizes
"0.3 0.5 1 2 3"
24
25
#echo "tracker"
26
#./JBeaconSimulator -N 50000000 -tracker -a $ARCA14DET -o out_tracker.root -s "1 1" -t "1 ${FLOOR} ${PMT}" -opening-angle ${OPENING_ANGLE} #-write-paths
27
28
./JMarkovPathReader -
f
out_MCMC_PMT${
PMT
}.paths
29
./JMarkovPathReader -
f
out_tracker_PMT${
PMT
}.paths
30
31
# then we open the resulting files to check if they give similar results
32
root
-l out_tracker_PMT${
PMT
}.root out_MCMC_PMT${
PMT
}.root out_tracker_PMT${
PMT
}.paths.root out_MCMC_PMT${
PMT
}.paths.root ob.C
f
then JMuonPostfit f
Definition:
JMuonPostfit.sh:118
JDATABASE::PBS::PMT
static const JPBS_t PMT(3, 4, 2, 3)
PBS of photo-multiplier tube (PMT)
root
then JPlot1D f $WORKDIR postfit[prefit\] root
Definition:
JMuonPostfit.sh:141
N
then JShowerPostfit f $INPUT_FILE o $OUTPUT_FILE N
Definition:
JShowerPostfit.sh:95
exit
exit
Definition:
JPizza.sh:36
echo
then echo
Definition:
JDOMDAQDriver.sh:56
o
do $DIR JTransitTime o
Definition:
JTransitTime.sh:44
then
then
Definition:
examples/JDataFilter/JDataFilter.sh:87
a
then JCalibrateToT a
Definition:
JTuneHV.sh:116
write
bool write(const Vec &v, std::ostream &os)
Write a Vec(tor) to a stream.
Definition:
io_ascii.hh:154
Generated by
1.8.5