Add threhold scans analysis routines 2nd version (not .root format implemented)

Add threshold scan analysis routines 2nd version (not .root format implemented)

Draft:Add threshold scan analysis routines 2nd version

Fix plotting routin

Fix typo

Reduce arguments in plotting function
5 jobs for feature/threshold-scan-analysis in 2 minutes and 18 seconds