List of all members | Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes
CachedShowerRegeneratorOG::StationInfo Class Reference

#include "utl/StationInfo.h"

Public Member Functions

void Dump () const
 
const sdet::StationGetDetStation () const
 
sevt::StationGetEvtStation () 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
 

Detailed Description

Author
Darko Veberic
Hans Dembinski
Date
21 Aug 2008

Definition at line 21 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

Constructor & Destructor Documentation

CachedShowerRegeneratorOG::StationInfo::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 
)
inline

Definition at line 23 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References SetPhiRange().

Member Function Documentation

static constexpr double CachedShowerRegeneratorOG::StationInfo::AbsShift ( const double  eps,
const double  a,
const double  b 
)
inlinestaticprivate

Definition at line 88 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References RdGeoCeLDFFitter::b, and eps.

void CachedShowerRegeneratorOG::StationInfo::Dump ( ) const
const sdet::Station& CachedShowerRegeneratorOG::StationInfo::GetDetStation ( ) const
inline

Definition at line 48 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fDetStation.

sevt::Station& CachedShowerRegeneratorOG::StationInfo::GetEvtStation ( ) const
inline

Definition at line 50 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fEvtStation.

double CachedShowerRegeneratorOG::StationInfo::GetLnSqrR1 ( ) const
inline

Definition at line 60 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fLnSqrR1.

double CachedShowerRegeneratorOG::StationInfo::GetLnSqrR2 ( ) const
inline

Definition at line 62 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fLnSqrR2.

double CachedShowerRegeneratorOG::StationInfo::GetPhi1 ( ) const
inline

Definition at line 54 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fPhi1.

double CachedShowerRegeneratorOG::StationInfo::GetPhi2 ( ) const
inline

Definition at line 56 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fPhi2.

double CachedShowerRegeneratorOG::StationInfo::GetR ( ) const
inline

Definition at line 58 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fR.

double CachedShowerRegeneratorOG::StationInfo::GetResamplingArea ( ) const
inline

Definition at line 52 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fResamplingArea.

CachedShowerRegeneratorOG::StationInfo::if ( fPhi1  ,
fPhi2   
)
inlineprivate

Definition at line 99 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fPhi2, and utl::kTwoPi.

bool CachedShowerRegeneratorOG::StationInfo::IsInArea ( const double  phi,
const double  lnSqrR 
) const
inline
static constexpr bool CachedShowerRegeneratorOG::StationInfo::IsInInterval ( const double  x,
const double  a,
const double  b 
)
inlinestaticprivate
return CachedShowerRegeneratorOG::StationInfo::IsInInterval ( phi  ,
AbsShift(-scale, p1, p2 ,
AbsShift(scale, p1, p2  
)
private
return CachedShowerRegeneratorOG::StationInfo::IsInInterval ( lnSqrR  ,
lnSqrR12.  first,
lnSqrR12.  second 
)
private
bool CachedShowerRegeneratorOG::StationInfo::IsLnSqrRInRange ( const double  lnSqrR) const
inlineprivate

Definition at line 108 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fLnSqrR1, fLnSqrR2, and IsInInterval().

Referenced by IsInArea().

bool CachedShowerRegeneratorOG::StationInfo::IsPhiInRange ( const double  phi) const
inlineprivate

Definition at line 85 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fPhi1, fPhi2, and IsInInterval().

Referenced by IsInArea().

return CachedShowerRegeneratorOG::StationInfo::IsPhiInScaledRange ( ,
phi   
)
static std::pair<double, double> CachedShowerRegeneratorOG::StationInfo::RelShift ( const double  eps,
const double  a,
const double  b 
)
inlinestaticprivate

Definition at line 113 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References eps.

void CachedShowerRegeneratorOG::StationInfo::SetPhiRange ( const double  phi,
const double  dphi 
)
inlineprivate

Definition at line 68 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

References fPhi1, fPhi2, and utl::kPi.

Referenced by StationInfo().

Member Data Documentation

bool CachedShowerRegeneratorOG::StationInfo::const
Initial value:
{
const double s = std::sqrt(scale)

Definition at line 43 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

const sdet::Station* const CachedShowerRegeneratorOG::StationInfo::fDetStation
private

Definition at line 132 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

Referenced by GetDetStation().

sevt::Station* const CachedShowerRegeneratorOG::StationInfo::fEvtStation
private

Definition at line 133 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

Referenced by GetEvtStation().

double CachedShowerRegeneratorOG::StationInfo::fLnSqrR1 = 0
private
double CachedShowerRegeneratorOG::StationInfo::fLnSqrR2 = 0
private
double CachedShowerRegeneratorOG::StationInfo::fPhi1 = 0
private
double CachedShowerRegeneratorOG::StationInfo::fPhi2 = 0
private
double CachedShowerRegeneratorOG::StationInfo::fR = 0
private

Definition at line 136 of file CachedShowerRegeneratorOG/StationPositionMatrix.h.

Referenced by GetR().

double CachedShowerRegeneratorOG::StationInfo::fResamplingArea = 0
private
return CachedShowerRegeneratorOG::StationInfo::lnSqrR
const auto CachedShowerRegeneratorOG::StationInfo::lnSqrR12 = RelShift(scale, fLnSqrR1, fLnSqrR2)
private
double CachedShowerRegeneratorOG::StationInfo::p1 = fPhi1
private
double CachedShowerRegeneratorOG::StationInfo::p2 = fPhi2
private

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

, generated on Tue Sep 26 2023.