lucabaldini / hexsample

Solid-state hybrid detectors with hexagonal sampling.
https://lucabaldini.github.io/hexsample/
GNU General Public License v3.0
2 stars 0 forks source link

DigiOutputFiles created without readoutmode attribute #56

Open chiaratomaiuolo opened 2 months ago

chiaratomaiuolo commented 2 months ago

In this moment, in the class DigiOutputFile* (where * indicates all the 3 possible readout modes) the attribute readoutmode is not initialised in the file header, instead, this attribute is copied in the header in hxsim.py through the readout_args variable, that define which HexagonalReadout* to use. The correct way is initialising immediately the attribute without writing it twice in the file header.