Filling of cluster ToT plots in clustering modules when no calibration is present
When a cluster is created, it is assumed that the ToT values of the pixels are in electrons. However, if no calibration file has been provided in the event loader then this is not the case and the pixel ToT is still in the base ToT units. This is the case for both clustering modules: Clustering4D
and ClusteringSpatial
.
We should clean this up so plots are not filled incorrectly. In clustering it can be checked if a calibration file has been provided, and if not then either a) the plots are not filled or b) the plots are filled in the appropriate scale for the base units.
In my opinion b) is more elegant but I am not sure how to impelment this is the best way. It needs to be checked if this is a problem in other modules, such as DUTAnalysis
.