MarlinTPC
1.2.0
|
#include <PhotoelectricDistortionsCalculator.h>
Public Member Functions | |
PhotoelectricDistortionsCalculator (const std::vector< tpcconddata::TPCDistortionMeasurement * > &map, bool moduleInterpolation=false) | |
gear::Vector2D | getEstimatedShift2D (const CLHEP::Hep3Vector &measuredPosition) |
void | setMaxDistance (double dist) |
This class can be used to calculate field distortions measured with the system of photodots on the TPC cathode. It considers the information of the true photodot position on the cathode and the reconstructed photodot position on the pad plane. With this information a given measured point can be converted into a "true" point inverting the distortions. Keep in mind the measured distortion are integrated over the whole TPC volume. So if you have a measured point close to the anode the result might be wrong. In detail the grid of points is used to construct elements with four corners. Next the element containing the point is searched for. In this element the distortions are linearly shaped using the information at the corners of the element. Finally the shift needed to move the given point to the estimated position without distortions is given.