Open emx77 opened 8 years ago
I did some more debugging and it seems the problem is related to the calculation of the relative position of the energy deposition w.r.t. the pixel.
If I replace the following line in AllPixTrackerSD.cc:
// correctedPos = correctedPos - centerOfPixel - m_relativePosOfSD; correctedPos = correctedPos - centerOfPixel;
I get sensible digitization results again.
it would be useful if someone could cross check this piece of code to see it really does what is should do.
Kind regards, Erik.
Dear all,
I am testing the version after the geometry changes, with the timepix digitization for some reason I get no or only a small number of digitized hits with small charge.
The energy depositions seem correct to me. The sensor volume use to be centred around Z=0 now its shifted so may be this is a problem for the digitization. Can some one check this?
Cheers, Erik.