Pandora
Pandora source code navigator
|
LArRotationalTransformationPlugin class. More...
#include "LArRotationalTransformationPlugin.h"
Public Member Functions | |
LArRotationalTransformationPlugin () | |
Default constructor. | |
virtual double | UVtoW (const double u, const double v) const |
Transform from (U,V) to W position. | |
virtual double | VWtoU (const double v, const double w) const |
Transform from (V,W) to U position. | |
virtual double | WUtoV (const double w, const double u) const |
Transform from (W,U) to V position. | |
virtual double | UVtoY (const double u, const double v) const |
Transform from (U,V) to Y position. | |
virtual double | UVtoZ (const double u, const double v) const |
Transform from (U,V) to Z position. | |
virtual double | UWtoY (const double u, const double w) const |
Transform from (U,W) to Y position. | |
virtual double | UWtoZ (const double u, const double w) const |
Transform from (U,W) to Z position. | |
virtual double | VWtoY (const double v, const double w) const |
Transform from (V,W) to Y position. | |
virtual double | VWtoZ (const double v, const double w) const |
Transform from (V,W) to Z position. | |
virtual double | YZtoU (const double y, const double z) const |
Transform from (Y,Z) to U position. | |
virtual double | YZtoV (const double y, const double z) const |
Transform from (Y,Z) to V position. | |
virtual double | YZtoW (const double y, const double z) const |
Transform from (Y,Z) to W position. | |
virtual void | GetMinChiSquaredYZ (const double u, const double v, const double w, const double sigmaU, const double sigmaV, const double sigmaW, double &y, double &z, double &chiSquared) const |
Get the y, z position that yields the minimum chi squared value with respect to specified u, v and w coordinates. | |
virtual void | GetMinChiSquaredYZ (const double u, const double v, const double w, const double sigmaU, const double sigmaV, const double sigmaW, const double uFit, const double vFit, const double wFit, const double sigmaFit, double &y, double &z, double &chiSquared) const |
Get the y, z position that yields the minimum chi squared value with respect to specified u, v and w coordinates and a provided fit to an overall trajectory in 3D. | |
const std::string & | GetType () const |
Get the type. | |
const std::string & | GetInstanceName () const |
Get the instance name. | |
const Pandora & | GetPandora () const |
Get the associated pandora instance. | |
Protected Member Functions | |
virtual StatusCode | Reset () |
Perform any operations when pandora is reset, typically at the end of each event. | |
StatusCode | RegisterDetails (const Pandora *const pPandora, const std::string &type, const std::string &instanceName) |
Register i) the pandora instance that will run the process and ii) the process type. | |
Protected Attributes | |
const Pandora * | m_pPandora |
The pandora object that will run the process. | |
std::string | m_type |
The process type. | |
std::string | m_instanceName |
The process instance name. | |
Private Member Functions | |
pandora::StatusCode | Initialize () |
Perform any operations that must occur after reading settings, but before running the process. | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Read the algorithm settings. | |
Private Attributes | |
double | m_thetaU |
inclination of U wires (radians) | |
double | m_thetaV |
inclination of V wires (radians) | |
double | m_thetaW |
inclination of W wires (radians) | |
double | m_sinU |
sin(thetaU) | |
double | m_sinV |
sin(thetaV) | |
double | m_sinW |
sin(thetaW) | |
double | m_cosU |
cos(thetaU) | |
double | m_cosV |
cos(thetaV) | |
double | m_cosW |
cos(thetaW) | |
double | m_sinVminusU |
sin(thetaV - thetaU) | |
double | m_sinWminusV |
sin(thetaW - thetaV) | |
double | m_sinUminusW |
sin(thetaU - thetaW) | |
double | m_maxAngularDiscrepancyU |
Maximum allowed difference between u wire angles between LArTPCs. | |
double | m_maxAngularDiscrepancyV |
Maximum allowed difference between v wire angles between LArTPCs. | |
double | m_maxAngularDiscrepancyW |
Maximum allowed difference between w wire angles between LArTPCs. | |
double | m_maxSigmaDiscrepancy |
Maximum allowed difference between like wire sigma values between LArTPCs. | |
LArRotationalTransformationPlugin class.
Definition at line 19 of file LArRotationalTransformationPlugin.h.
lar_content::LArRotationalTransformationPlugin::LArRotationalTransformationPlugin | ( | ) |
Default constructor.
Definition at line 28 of file LArRotationalTransformationPlugin.cc.
|
inlineinherited |
|
virtual |
Get the y, z position that yields the minimum chi squared value with respect to specified u, v and w coordinates and a provided fit to an overall trajectory in 3D.
u | the u coordinate |
v | the v coordinate |
w | the w coordinate |
sigmaU | the uncertainty in the u coordinate |
sigmaV | the uncertainty in the v coordinate |
sigmaW | the uncertainty in the w coordinate |
uFit | the u coordinate from a fit to an overall trajectory |
vFit | the v coordinate from a fit to an overall trajectory |
wFit | the w coordinate from a fit to an overall trajectory |
sigmaFit | the uncertainty in coordinates extracted from the fit to an overall trajectory |
y | to receive the y coordinate |
z | to receive the z coordinate |
chiSquared | to receive the chi squared value |
Implements pandora::LArTransformationPlugin.
Definition at line 166 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Get the y, z position that yields the minimum chi squared value with respect to specified u, v and w coordinates.
u | the u coordinate |
v | the v coordinate |
w | the w coordinate |
sigmaU | the uncertainty in the u coordinate |
sigmaV | the uncertainty in the v coordinate |
sigmaW | the uncertainty in the w coordinate |
y | to receive the y coordinate |
z | to receive the z coordinate |
chiSquared | to receive the chi squared value |
Implements pandora::LArTransformationPlugin.
Definition at line 134 of file LArRotationalTransformationPlugin.cc.
|
inlineinherited |
|
inlineinherited |
|
privatevirtual |
Perform any operations that must occur after reading settings, but before running the process.
Reimplemented from pandora::Process.
Definition at line 275 of file LArRotationalTransformationPlugin.cc.
|
privatevirtual |
Read the algorithm settings.
xmlHandle | the relevant xml handle |
Implements pandora::Process.
Definition at line 330 of file LArRotationalTransformationPlugin.cc.
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
pPandora | address of the pandora object that will run the process |
type | the process type |
instanceName | the process instance name |
Definition at line 146 of file Process.h.
|
inlineprotectedvirtualinherited |
Perform any operations when pandora is reset, typically at the end of each event.
Reimplemented in lar_content::MasterAlgorithm, lar_content::PostProcessingAlgorithm, and lar_content::PreProcessingAlgorithm.
Definition at line 133 of file Process.h.
|
virtual |
Transform from (U,V) to W position.
U | the U position |
V | the V position |
Implements pandora::LArTransformationPlugin.
Definition at line 50 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (U,V) to Y position.
U | the U position |
V | the V position |
Implements pandora::LArTransformationPlugin.
Definition at line 71 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (U,V) to Z position.
U | the U position |
V | the V position |
Implements pandora::LArTransformationPlugin.
Definition at line 78 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (U,W) to Y position.
U | the U position |
W | the W position |
Implements pandora::LArTransformationPlugin.
Definition at line 85 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (U,W) to Z position.
U | the U position |
W | the W position |
Implements pandora::LArTransformationPlugin.
Definition at line 92 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (V,W) to U position.
V | the V position |
W | the W position |
Implements pandora::LArTransformationPlugin.
Definition at line 57 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (V,W) to Y position.
V | the V position |
W | the W position |
Implements pandora::LArTransformationPlugin.
Definition at line 99 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (V,W) to Z position.
V | the V position |
W | the W position |
Implements pandora::LArTransformationPlugin.
Definition at line 106 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (W,U) to V position.
W | the W position |
U | the U position |
Implements pandora::LArTransformationPlugin.
Definition at line 64 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (Y,Z) to U position.
Y | the Y position |
Z | the Z position |
Implements pandora::LArTransformationPlugin.
Definition at line 113 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (Y,Z) to V position.
Y | the Y position |
Z | the Z position |
Implements pandora::LArTransformationPlugin.
Definition at line 120 of file LArRotationalTransformationPlugin.cc.
|
virtual |
Transform from (Y,Z) to W position.
Y | the Y position |
Z | the Z position |
Implements pandora::LArTransformationPlugin.
Definition at line 127 of file LArRotationalTransformationPlugin.cc.
|
private |
cos(thetaU)
Definition at line 58 of file LArRotationalTransformationPlugin.h.
|
private |
cos(thetaV)
Definition at line 59 of file LArRotationalTransformationPlugin.h.
|
private |
cos(thetaW)
Definition at line 60 of file LArRotationalTransformationPlugin.h.
|
protectedinherited |
|
private |
Maximum allowed difference between u wire angles between LArTPCs.
Definition at line 65 of file LArRotationalTransformationPlugin.h.
|
private |
Maximum allowed difference between v wire angles between LArTPCs.
Definition at line 66 of file LArRotationalTransformationPlugin.h.
|
private |
Maximum allowed difference between w wire angles between LArTPCs.
Definition at line 67 of file LArRotationalTransformationPlugin.h.
|
private |
Maximum allowed difference between like wire sigma values between LArTPCs.
Definition at line 68 of file LArRotationalTransformationPlugin.h.
|
protectedinherited |
|
private |
sin(thetaU)
Definition at line 55 of file LArRotationalTransformationPlugin.h.
|
private |
sin(thetaU - thetaW)
Definition at line 63 of file LArRotationalTransformationPlugin.h.
|
private |
sin(thetaV)
Definition at line 56 of file LArRotationalTransformationPlugin.h.
|
private |
sin(thetaV - thetaU)
Definition at line 61 of file LArRotationalTransformationPlugin.h.
|
private |
sin(thetaW)
Definition at line 57 of file LArRotationalTransformationPlugin.h.
|
private |
sin(thetaW - thetaV)
Definition at line 62 of file LArRotationalTransformationPlugin.h.
|
private |
inclination of U wires (radians)
Definition at line 51 of file LArRotationalTransformationPlugin.h.
|
private |
inclination of V wires (radians)
Definition at line 52 of file LArRotationalTransformationPlugin.h.
|
private |
inclination of W wires (radians)
Definition at line 53 of file LArRotationalTransformationPlugin.h.
|
protectedinherited |