plot_eff.py crashes after attempting to find a branch that does not exist in its input file, which is the output of the latency scan script ultraLatency.py. So, there is an inconsistency between plot_eff.py and ultraLatency.py
Types of issue
[x] Bug report (report an issue with the code)
[ ] Feature request (request for change which adds functionality)
Current Behavior
[gemuser@gem904qc8daq gemdaq]$ ls -lh /data/bigdisk/GEM-Data-Taking/GE11_QC8//GE11-VII-S-CERN-0002/latency/trk//2018.07.04.22.07/LatencyScanData.root
-rw-r-----. 1 gemuser gemuser 13K Jul 5 06:50 /data/bigdisk/GEM-Data-Taking/GE11_QC8//GE11-VII-S-CERN-0002/latency/trk//2018.07.04.22.07/LatencyScanData.root
[gemuser@gem904qc8daq gemdaq]$ cat listOfScanDates.txt
ChamberName scandate VT_{1}
GE11-VII-S-CERN-0002 2018.07.04.22.07 0
[gemuser@gem904qc8daq gemdaq]$ plot_eff.py --infilename=listOfScanDates.txt --vfatList=12,13 --latSig=33 --print
Error in <TTreeFormula::Compile>: Bad numerical expression : "lat"
/data/bigdisk/GEM-Data-Taking/GE11_QC8//GE11-VII-S-CERN-0002/latency/trk//2018.07.04.22.07/LatencyScanData.root does not seem to exist
the branch or expression 'lat' is not present or valid
Possible Solution (for bugs)
Change the name of the branch that plot_eff.py searches for from 'lat' to 'latency'
plot_eff.py crashes after attempting to find a branch that does not exist in its input file, which is the output of the latency scan script ultraLatency.py. So, there is an inconsistency between plot_eff.py and ultraLatency.py
Types of issue
Current Behavior
Possible Solution (for bugs)
Change the name of the branch that plot_eff.py searches for from 'lat' to 'latency'
Your Environment
I am working as gemuser on gem904qc8daq