#include <RadioGeometryUtilities.h>
Public Member Functions | |
double | GetHeightInShowerPlane (const double x, const double y) const |
utl::TraceV3D | GetTraceFromShowerPlaneVxB (const utl::TraceV3D &trace) const |
utl::TraceV3D | GetTraceInShowerPlaneVxB (const utl::TraceV3D &trace) const |
utl::Point | GetVectorFromShowerPlaneVxB (const double x, const double y, const double z, const bool verticalZero) const |
in case of positions, the positions has to be relative to the core positions!!! More... | |
utl::Point | GetVectorFromShowerPlaneVxB (const double x, const double y) const |
utl::Point | GetVectorFromShowerPlaneVxB (const double x, const double y, const double z) const |
void | GetVectorInShowerPlaneVxB (double &x, double &y, double &z, const utl::Point &point) const |
in case of positions, the positions has to be relative to the core positions!!! More... | |
void | GetVectorInShowerPlaneVxB (double &x, double &y, double &z, const TVector3 &vector) const |
RadioGeometryUtilities (const utl::Vector &showeraxis, const utl::CoordinateSystemPtr cs, const utl::Vector &magneticField) | |
Static Public Member Functions | |
static double | GetAngleToEFieldExpectation (const utl::Vector &measuredEField, const utl::Point &core, const utl::Vector &showeraxis, const utl::Point &stationPosition, const utl::Vector &vMagField, const double chargeExcessStrength) |
static double | GetAngleToEFieldExpectation2D (const utl::Vector &measuredEField, const utl::Point &core, const utl::Vector &showeraxis, const utl::Point &stationPosition, const utl::Vector &vMagField, const double chargeExcessStrength, const utl::CoordinateSystemPtr localCS) |
static double | GetAngleToLorentzVector (const utl::Vector &measuredEField, const utl::Vector &showeraxis, const utl::Vector &vMagField) |
static utl::Vector | GetChargeExcessVector (const utl::Point &core, const utl::Vector &showeraxis, const utl::Point &stationPosition) |
returns the charge excess vector normalized to unity More... | |
static const Point | GetCoreAtObservationLevel (const Point &core, const Vector &showerAxis, const CoordinateSystemPtr cs, const double altitudeObsLvl) |
static double | GetDistanceCorrectionEarlyLateEffect (const utl::Point &showerCore, const utl::Point &stationPosition, const utl::Point &showerMax, const utl::Vector &showerAxis) |
static double | GetDistanceCorrectionEarlyLateEffect (const double distanceXmax, const double Z_vxB) |
static double | GetDistanceToAxis (const utl::Vector &ShowerAxis, const utl::Point &CorePosition, const utl::Point &AntennaPosition) |
computes the distance from the antenna position to the shower "line" defined by the core position and the shower axis More... | |
static double | GetEarlyLateCorrectionFactor (const utl::Point &showerCore, const utl::Point &stationPosition, const utl::Point &showerMax, const utl::Vector &showerAxis) |
static double | GetEarlyLateCorrectionFactor (const double distanceXmax, const double Z_vxB) |
static double | GetEnergyFluenceCorrectionEarlyLateEffect (const utl::Point &showerCore, const utl::Point &stationPosition, const utl::Point &showerMax, const utl::Vector &showerAxis) |
static double | GetEnergyFluenceCorrectionEarlyLateEffect (const double distanceXmax, const double Z_vxB) |
static utl::Vector | GetExpectedEFieldVector (const utl::Point &core, const utl::Vector &showeraxis, const utl::Point &stationPosition, const utl::Vector &vMagField, const double chargeExcessStrength) |
static utl::Vector | GetLorentzVector (const utl::Vector &showeraxis, const utl::Vector &vMagField) |
returns the Lorentz force vector normalized to length = 1 for maximal emission (showeraxis vertical to magnetic field). Thus, sin(alpha) = length(lorentz vector). More... | |
static double | GetSignalCorrectionFactor (const utl::Point &core, const utl::Vector &showeraxis, const utl::Point &stationPosition, const utl::Vector &vMagField, const double chargeExcessStrength) |
Private Attributes | |
const utl::CoordinateSystemPtr | fcs |
boost::numeric::ublas::matrix < double > | fInverseTransformationMatrix |
const utl::Vector | fMagneticField |
boost::numeric::ublas::matrix < double > | fTransformationMatrix |
Definition at line 23 of file RadioGeometryUtilities.h.
RadioGeometryUtilities::RadioGeometryUtilities | ( | const utl::Vector & | showeraxis, |
const utl::CoordinateSystemPtr | cs, | ||
const utl::Vector & | magneticField | ||
) |
Definition at line 29 of file RadioGeometryUtilities.cc.
References utl::Cross(), fInverseTransformationMatrix, fTransformationMatrix, utl::BasicVector< HepVector >::GetX(), utl::BasicVector< HepVector >::GetY(), utl::BasicVector< HepVector >::GetZ(), and utl::Normalized().
|
static |
Definition at line 135 of file RadioGeometryUtilities.cc.
References utl::Angle(), and GetExpectedEFieldVector().
Referenced by RdStationPolarizationRejector::RdStationPolarizationRejector::Run().
|
static |
Definition at line 306 of file RadioGeometryUtilities.cc.
References utl::Cross(), GetExpectedEFieldVector(), utl::BasicVector< HepVector >::GetX(), utl::BasicVector< HepVector >::GetY(), utl::BasicVector< HepVector >::GetZ(), utl::NormalizeAngleMinusPiPi(), and utl::Normalized().
Referenced by RdLDFFitter::RdLDFFitter::GetAnglesToEFieldExpectation(), and RdLDFFitter::LDFLikelihoodFunction::GetLikelihoodPolarisation().
|
static |
Definition at line 90 of file RadioGeometryUtilities.cc.
References utl::Angle(), and GetLorentzVector().
|
static |
returns the charge excess vector normalized to unity
Definition at line 70 of file RadioGeometryUtilities.cc.
References utl::Normalized().
Referenced by GetExpectedEFieldVector(), and GetSignalCorrectionFactor().
|
static |
Definition at line 151 of file RadioGeometryUtilities.cc.
References utl::ReferenceEllipsoid::eWGS84, utl::ReferenceEllipsoid::Get(), utl::Vector::GetMag2(), INFO, utl::Intersection(), utl::m, utl::TransformerConstructor< Policy >::Translation(), and WARNING.
|
inlinestatic |
Definition at line 69 of file RadioGeometryUtilities.h.
References GetEarlyLateCorrectionFactor().
|
inlinestatic |
Definition at line 75 of file RadioGeometryUtilities.h.
References GetEarlyLateCorrectionFactor().
|
static |
computes the distance from the antenna position to the shower "line" defined by the core position and the shower axis
Definition at line 100 of file RadioGeometryUtilities.cc.
References utl::Distance().
Referenced by RdLDFFitter::LDFLikelihoodFunction::GetChi2LDFModel1(), RdLDFFitter::LDFLikelihoodFunction::GetScintillatorLDFLikelihood(), RdLDFFitter::RdLDFFitter::PreLDFFit(), RdLDFFitter::RdLDFFitter::PreScintillatorLDFFit(), RdTopDownStationSelector::RdTopDownStationSelector::Run(), RdClusterFinder::RdClusterFinder::Run(), RdStationPolarizationRejector::RdStationPolarizationRejector::Run(), RdLDFChargeExcessCorrector::RdLDFChargeExcessCorrector::Run(), RdCheckFootprint::RdCheckFootprint::Run(), RdHyperbolicWavefrontFit::RdHyperbolicWavefrontFit::Run(), and RdLDFMultiFitter::RdLDFMultiFitter::Run().
|
static |
|
inlinestatic |
Definition at line 55 of file RadioGeometryUtilities.h.
|
inlinestatic |
Definition at line 59 of file RadioGeometryUtilities.h.
References GetEarlyLateCorrectionFactor(), and utl::Sqr().
|
inlinestatic |
Definition at line 65 of file RadioGeometryUtilities.h.
References GetEarlyLateCorrectionFactor(), and utl::Sqr().
|
static |
Definition at line 123 of file RadioGeometryUtilities.cc.
References GetChargeExcessVector(), and GetLorentzVector().
Referenced by GetAngleToEFieldExpectation(), GetAngleToEFieldExpectation2D(), and RdLDFFitter::RdLDFFitter::PlotGoodnessOfFit().
double RadioGeometryUtilities::GetHeightInShowerPlane | ( | const double | x, |
const double | y | ||
) | const |
Definition at line 298 of file RadioGeometryUtilities.cc.
References fTransformationMatrix.
Referenced by GetVectorFromShowerPlaneVxB().
|
static |
returns the Lorentz force vector normalized to length = 1 for maximal emission (showeraxis vertical to magnetic field). Thus, sin(alpha) = length(lorentz vector).
returns the Lorentz force vector normalized to length = 1 for maximal emission (showeraxis vertical to magnetic field). Thus, sin(alpha) = length(lorentz vector).
Definition at line 83 of file RadioGeometryUtilities.cc.
References utl::Cross(), and utl::Normalized().
Referenced by RdLDFFitter::RdLDFFitter::GetAnglesToLorentzVector(), GetAngleToLorentzVector(), GetExpectedEFieldVector(), GetSignalCorrectionFactor(), and RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::Run().
|
static |
Definition at line 110 of file RadioGeometryUtilities.cc.
References GetChargeExcessVector(), and GetLorentzVector().
Referenced by RdLDFFitter::LDFLikelihoodFunction::operator()().
TraceV3D RadioGeometryUtilities::GetTraceFromShowerPlaneVxB | ( | const utl::TraceV3D & | trace | ) | const |
Definition at line 247 of file RadioGeometryUtilities.cc.
References fInverseTransformationMatrix, utl::Trace< T >::GetBinning(), utl::Trace< T >::GetSize(), utl::Trace< T >::PushBack(), and utl::Trace< T >::SetBinning().
TraceV3D RadioGeometryUtilities::GetTraceInShowerPlaneVxB | ( | const utl::TraceV3D & | trace | ) | const |
Definition at line 219 of file RadioGeometryUtilities.cc.
References fTransformationMatrix, utl::Trace< T >::GetBinning(), utl::Trace< T >::GetSize(), utl::Trace< T >::PushBack(), and utl::Trace< T >::SetBinning().
Referenced by otoa::RdFiller::FillRadioStations(), and RdStationSignalReconstructor::RdStationSignalReconstructor::Run().
Point RadioGeometryUtilities::GetVectorFromShowerPlaneVxB | ( | const double | x, |
const double | y, | ||
const double | z, | ||
const bool | verticalZero | ||
) | const |
in case of positions, the positions has to be relative to the core positions!!!
Definition at line 267 of file RadioGeometryUtilities.cc.
References fcs, and fInverseTransformationMatrix.
Referenced by GetVectorFromShowerPlaneVxB(), RdHASLDFFitter::RdHASLDFFitter::Run(), Rd2dLDFFitter::Rd2dLDFFitter::Run(), and RdGeoCeLDFFitter::RdGeoCeLDFFitter::Run().
Point RadioGeometryUtilities::GetVectorFromShowerPlaneVxB | ( | const double | x, |
const double | y | ||
) | const |
Definition at line 284 of file RadioGeometryUtilities.cc.
References fcs, fInverseTransformationMatrix, and GetHeightInShowerPlane().
|
inline |
Definition at line 108 of file RadioGeometryUtilities.h.
References GetVectorFromShowerPlaneVxB().
void RadioGeometryUtilities::GetVectorInShowerPlaneVxB | ( | double & | x, |
double & | y, | ||
double & | z, | ||
const utl::Point & | point | ||
) | const |
in case of positions, the positions has to be relative to the core positions!!!
Definition at line 189 of file RadioGeometryUtilities.cc.
References fcs, fTransformationMatrix, utl::BasicVector< HepVector >::GetX(), utl::BasicVector< HepVector >::GetY(), and utl::BasicVector< HepVector >::GetZ().
Referenced by RdGlobalFit::RdGlobalFitMinimizationCriterion::calcShowerCoordinates(), RdStationPolarizationRejector::RdStationPolarizationRejector::GetCoreErrorEllipsevxBvxvxB(), RdREASSimPreparatorNG::RdREASSimPreparatorNG::GetEarlyLateCorrectedAxisDistance(), RdStationPolarizationRejector::RdStationPolarizationRejector::GetEfieldInShowerPlane(), RdStationPolarizationRejector::RdStationPolarizationRejector::GetStationPositionvxBvxvxB(), RdHASLDFFitter::LDFFitFunction::operator()(), RdHASLDFFitter::RdHASLDFFitter::Run(), Rd2dLDFFitter::Rd2dLDFFitter::Run(), RdLDFChargeExcessCorrector::RdLDFChargeExcessCorrector::Run(), RdStationSignalInterpolator::RdStationSignalInterpolator::Run(), and RdGeoCeLDFFitter::RdGeoCeLDFFitter::Run().
void RadioGeometryUtilities::GetVectorInShowerPlaneVxB | ( | double & | x, |
double & | y, | ||
double & | z, | ||
const TVector3 & | vector | ||
) | const |
Definition at line 204 of file RadioGeometryUtilities.cc.
References fTransformationMatrix.
|
private |
Definition at line 114 of file RadioGeometryUtilities.h.
Referenced by GetVectorFromShowerPlaneVxB(), and GetVectorInShowerPlaneVxB().
|
private |
Definition at line 117 of file RadioGeometryUtilities.h.
Referenced by GetTraceFromShowerPlaneVxB(), GetVectorFromShowerPlaneVxB(), and RadioGeometryUtilities().
|
private |
Definition at line 115 of file RadioGeometryUtilities.h.
|
private |
Definition at line 116 of file RadioGeometryUtilities.h.
Referenced by GetHeightInShowerPlane(), GetTraceInShowerPlaneVxB(), GetVectorInShowerPlaneVxB(), and RadioGeometryUtilities().