#include "utl/StationInfo.h"
Public Member Functions | |
void | Dump () const |
const sdet::Station & | GetDetStation () const |
sevt::Station & | GetEvtStation () const |
double | GetLnSqrR1 () const |
double | GetLnSqrR2 () const |
double | GetPhi1 () const |
double | GetPhi2 () const |
double | GetR () const |
double | GetResamplingArea () const |
bool | IsInArea (const double phi, const double lnSqrR) const |
return | IsPhiInScaledRange (s, phi)&&IsLnSqrRInScaledRange(s |
StationInfo (const sdet::Station &dStation, sevt::Station &eStation, const double phi, const double dphi, const double r, const double lnSqrR1, const double lnSqrR2, const double area) | |
Public Attributes | |
bool | const |
return | lnSqrR |
Private Member Functions | |
if (fPhi1 > fPhi2) | |
return | IsInInterval (phi, AbsShift(-scale, p1, p2), AbsShift(scale, p1, p2)) |
return | IsInInterval (lnSqrR, lnSqrR12.first, lnSqrR12.second) |
bool | IsLnSqrRInRange (const double lnSqrR) const |
bool | IsPhiInRange (const double phi) const |
void | SetPhiRange (const double phi, const double dphi) |
Static Private Member Functions | |
static constexpr double | AbsShift (const double eps, const double a, const double b) |
static constexpr bool | IsInInterval (const double x, const double a, const double b) |
static std::pair< double, double > | RelShift (const double eps, const double a, const double b) |
Private Attributes | |
const sdet::Station *const | fDetStation |
sevt::Station *const | fEvtStation |
double | fLnSqrR1 = 0 |
double | fLnSqrR2 = 0 |
double | fPhi1 = 0 |
double | fPhi2 = 0 |
double | fR = 0 |
double | fResamplingArea = 0 |
const auto | lnSqrR12 = RelShift(scale, fLnSqrR1, fLnSqrR2) |
double | p1 = fPhi1 |
double | p2 = fPhi2 |
Definition at line 21 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
|
inline |
Definition at line 23 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References SetPhiRange().
|
inlinestaticprivate |
Definition at line 88 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References RdGeoCeLDFFitter::b, and eps.
void CachedShowerRegeneratorOG::StationInfo::Dump | ( | ) | const |
Definition at line 11 of file CachedShowerRegeneratorOG/StationPositionMatrix.cc.
|
inline |
Definition at line 48 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fDetStation.
|
inline |
Definition at line 50 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fEvtStation.
|
inline |
Definition at line 60 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fLnSqrR1.
|
inline |
Definition at line 62 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fLnSqrR2.
|
inline |
Definition at line 54 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fPhi1.
|
inline |
Definition at line 56 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fPhi2.
|
inline |
Definition at line 58 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fR.
|
inline |
Definition at line 52 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fResamplingArea.
Definition at line 99 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fPhi2, and utl::kTwoPi.
|
inline |
Definition at line 37 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References IsLnSqrRInRange(), and IsPhiInRange().
|
inlinestaticprivate |
Definition at line 82 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References RdGeoCeLDFFitter::b.
Referenced by IsLnSqrRInRange(), and IsPhiInRange().
|
private |
|
private |
|
inlineprivate |
Definition at line 108 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fLnSqrR1, fLnSqrR2, and IsInInterval().
Referenced by IsInArea().
|
inlineprivate |
Definition at line 85 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fPhi1, fPhi2, and IsInInterval().
Referenced by IsInArea().
return CachedShowerRegeneratorOG::StationInfo::IsPhiInScaledRange | ( | s | , |
phi | |||
) |
|
inlinestaticprivate |
Definition at line 113 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References eps.
|
inlineprivate |
Definition at line 68 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
References fPhi1, fPhi2, and utl::kPi.
Referenced by StationInfo().
bool CachedShowerRegeneratorOG::StationInfo::const |
Definition at line 43 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
|
private |
Definition at line 132 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
Referenced by GetDetStation().
|
private |
Definition at line 133 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
Referenced by GetEvtStation().
|
private |
Definition at line 137 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
Referenced by GetLnSqrR1(), and IsLnSqrRInRange().
|
private |
Definition at line 138 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
Referenced by GetLnSqrR2(), and IsLnSqrRInRange().
|
private |
Definition at line 134 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
Referenced by GetPhi1(), IsPhiInRange(), and SetPhiRange().
|
private |
Definition at line 135 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
Referenced by GetPhi2(), if(), IsPhiInRange(), and SetPhiRange().
|
private |
Definition at line 136 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
Referenced by GetR().
|
private |
Definition at line 139 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
Referenced by GetResamplingArea().
return CachedShowerRegeneratorOG::StationInfo::lnSqrR |
Definition at line 45 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
|
private |
Definition at line 128 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
|
private |
Definition at line 97 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.
|
private |
Definition at line 98 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.