-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcameraplotter.sh
More file actions
executable file
·37 lines (29 loc) · 959 Bytes
/
cameraplotter.sh
File metadata and controls
executable file
·37 lines (29 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
#echo "==================================="
echo "==================================="
echo "========= CAMERA PLOTTER =========="
echo "==================================="
#echo "=== BY SAMANTHA WONG ===="
#echo "============ (C) 2022 ============="
#echo "==================================="
#echo "==================================="
echo " "
echo " "
echo " "
echo "Please enter the path to your .cvbf file"
read filepath
echo "Would you like to plot all events? (yes/no)"
read all_ev
if [ $all_ev = "no" ]
then
echo "Please enter the event(s) you would like to display in the format [event] or [event1,event2,...]"
read events
echo "Plotting Events: $events"
#g++ getCharges.cpp -o getCharges `vbfConfig --libs --ldflags`
./getCharges $filepath $events
else
#g++ getCharges.cpp -o getCharges `vbfConfig --libs --ldflags`
./getCharges $filepath "all"
fi
python3 plotcharges.py
echo "Camera plotter wishes you a nice day :)"