Jpp
17.3.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
JDATABASE::PBS::PMT
static const JPBS_t PMT(3, 4, 2, 3)
PBS of photo-multiplier tube (PMT)
f
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
Definition:
JDataQuality.sh:76
N
then JShowerPostfit f $INPUT_FILE o $OUTPUT_FILE N
Definition:
JShowerPostfit.sh:95
exit
exit
Definition:
JPizza.sh:36
o
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
Definition:
compare-detector.sh:31
echo
then echo
Definition:
JDOMDAQDriver.sh:56
a
then JCalibrateToT a
Definition:
JTuneHV.sh:116
root
do JPlot2D f $WORKDIR detector root
Definition:
JCompareDetector.sh:97
then
then
Definition:
examples/JDataFilter/JDataFilter.sh:87
write
bool write(const Vec &v, std::ostream &os)
Write a Vec(tor) to a stream.
Definition:
io_ascii.hh:155
Generated by
1.8.5