Project

General

Profile

Actions

Task #550

open

Rewrite libsbsdig

Added by Eric Fuchey over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Start date:
08/28/2020
Due date:
% Done:

40%

Estimated time:
(Total: 0.00 h)
Spent time:
101.00 h (Total: 141.00 h)
Responsible:
Eric Fuchey

Description

libsbsdig needs to be rewritten for simplicity and speed.
Key features: * Instead of a library to be called by a script, it becomes a standalone program taking a few arguments for input, thus becoming much easier to use. * The program will just use the tree from the G4SBS input file, and expand it to add ADC and TDC values.
The structure of the program is exposed on the attached file. This structure is of course not definitive, but the idea is to deviate from this structure as little as possible.
(Note: the enemy is not the number of classes in itself, but useless intermediate classes layered in between the core classes).

First caveats: * so far, the program is still using the feature of background superimposition to signal from actual background files. * while the class hierarchy should be left lightweight, it is also preferable not to overextend the main itself, so some of the work will have to be made in separate functions, preferably in separate auxilliary files.


Files

libsbsdig_newstructure.pdf (70.1 KB) libsbsdig_newstructure.pdf new structure for libsbsdig Eric Fuchey, 08/19/2020 12:36 AM

Subtasks 2 (2 open0 closed)

Feature #572: Add randomized background hits as an alternate of superimposing background filesIn ProgressEric Fuchey08/28/2020

Actions
Task #600: sbsdig_lw completionIn Progress11/06/2020

Actions
Actions

Also available in: Atom PDF