MarlinTPC  1.2.0
Public Member Functions | List of all members
marlintpc::PhotoelectricDistortionsCalculator Class Reference

#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)
 

Detailed Description

Author
K. Zenker, DESY

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.

Remarks
This shift is given in local coordinates c0, c1 of the module!
Note
I use points in 3 dimensions because maybe one could also do something on the z position sometime...

The documentation for this class was generated from the following files: