VERITAS-Observatory / EventDisplay_v4

A reconstruction and analysis pipeline for VERITAS.
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Time dependent IPR graphs for NN cleaning #230

Open GernotMaier opened 1 year ago

GernotMaier commented 1 year ago

Development for the implementation of time-dependent IPR graph generation to be used for the NN cleaning. This should allow to take into account changing NSB conditions during a run and use always the optimal cleaning levels.

Plans:

(development is on hold for now and will continue later)

GernotMaier commented 1 year ago

@mariakherlakian - note that the current code seg faults when running pedestal calculations:

Telescope (type) 1
     total number of pedestal events: 1024
     writing  high  gain pedestals to
        /lustre/fs23/group/veritas/users/maierg/analysis/Results/v490/NN/test/Calibration/Tel_1/64080.ped
        /lustre/fs23/group/veritas/users/maierg/analysis/Results/v490/NN/test/Calibration/Tel_1/64080.ped.root
     filling pedestal tree for telescope 1 (telescope type 1)
     number of time slices for pedestals in telescope 1: 6

 *** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00002b4d64d794fc in waitpid () from /lib64/libc.so.6
#1  0x00002b4d64cf6fb2 in do_system () from /lib64/libc.so.6
#2  0x00002b4d5ebd4d84 in TUnixSystem::StackTrace() () from /afs/ifh.de/group/cta/cta/software/root/root-6.24.06_build/lib/libCore.so
#3  0x00002b4d5ebd69fa in TUnixSystem::DispatchSignals(ESignals) () from /afs/ifh.de/group/cta/cta/software/root/root-6.24.06_build/lib/libCore.so
#4  <signal handler called>
#5  0x0000000000520360 in VCalibrator::writePeds (this=0x2881f70, iLowGain=false, iPedestalCalculator=iPedestalCalculator
entry=0x28ed500, iWriteAsciiFile=true, fIPRCalculator=0x29a2670) at src/VCalibrator.cpp:522
#6  0x0000000000520aef in VCalibrator::terminate (this=<optimized out>, iP=iP
entry=0x28ed500, fIPRCalculator=<optimized out>) at src/VCalibrator.cpp:1616
#7  0x000000000056e8ec in VEventLoop::shutdown (this=this
entry=0x7ffcb7e96660) at src/VEventLoop.cpp:829
#8  0x000000000045b5ae in main (argc=11, argv=0x7ffcb7e96fa8) at src/evndisp.cpp:66
===========================================================

The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum https://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at https://root.cern.ch/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5  0x0000000000520360 in VCalibrator::writePeds (this=0x2881f70, iLowGain=false, iPedestalCalculator=iPedestalCalculator
entry=0x28ed500, iWriteAsciiFile=true, fIPRCalculator=0x29a2670) at src/VCalibrator.cpp:522
#6  0x0000000000520aef in VCalibrator::terminate (this=<optimized out>, iP=iP
entry=0x28ed500, fIPRCalculator=<optimized out>) at src/VCalibrator.cpp:1616
#7  0x000000000056e8ec in VEventLoop::shutdown (this=this
entry=0x7ffcb7e96660) at src/VEventLoop.cpp:829
#8  0x000000000045b5ae in main (argc=11, argv=0x7ffcb7e96fa8) at src/evndisp.cpp:66
===========================================================