Radial model ctors
DetectorModel
class base constructor should not require input of pixel_size
and number_of_pixels
parameters, because the current geometry might not be working with pixels at all (ie. use strips instead). If these parameters are not passed by a user in the model configuration file, the parameters will get filled with zeros (this can still be okay if you are not working with pixels). However, the derived pixel detector class constructors (HybridPixelDetectorModel
and MonolithicPixelDetectorModel
) throw an exception if these parameters are zero to ensure proper values are used.