Decoupling config option to run radiation damage simulation for planar and 3D sensors for pixel
Currently, setting doRadiationDamage
flag to True in the digitization jobs tells the code to run the radiation damage simulation for both Planar and 3D pixel sensors. However, 3D sensors are outside of the tracking acceptance but they take a significant portion of the computing time.
This MR allows to set the flag separately for Planar and 3D sensors that allows to run the radiation damage simulation for the Planar sensors for all physics analyses (and save time by not running the 3D radiation damage simulation) while having the option to run the 3D sensor radiation damage simulation for relevant pixel internal studies.
Both flags are set to False
by default to be comaptible with the previous settings.
I also took the opportunity to change the rather vague doRadiationDamage
flag to more concrete doPixelPlanarRadiationDamage
(and doPixel3DRadiationDamage
) flag.
To reproduce the behaviour of the previous JO configuration, once these changes are merged, one would need to change
digitizationFlags.doRadiationDamage.set_Value_and_Lock(True);
To
digitizationFlags.doPixelPlanarRadiationDamage.set_Value_and_Lock(True); digitizationFlags.doPixel3DRadiationDamage.set_Value_and_Lock(True);
Tagging @tadej @mbomben @stsuno @mkocian @battagl @mociduki @zmarshal
Keeping as draft to let the experts comment on the changes