Classes | Functions
CachedShowerRegeneratorOG Namespace Reference

Classes

class  CachedShowerRegenerator
 Shower unthinning. More...
 
class  LogGaussSmearing
 
class  ShowerData
 
class  StationInfo
 
class  StationPositionMatrix
 

Functions

template<typename Map , typename T >
void InsertValue (Map &map, const int sId, const T &value)
 
bool IsMuonic (const Particle &p)
 
double PlaneFrontTime (const CoordinateSystemPtr &showerCS, const Point &corePosition, const Point &position)
 Calculate time of arrival of the plane front at point position x. More...
 
double Round (const double div, const double val)
 

Function Documentation

template<typename Map , typename T >
void CachedShowerRegeneratorOG::InsertValue ( Map &  map,
const int  sId,
const T &  value 
)
inline
bool CachedShowerRegeneratorOG::IsMuonic ( const Particle p)
inline
double CachedShowerRegeneratorOG::PlaneFrontTime ( const CoordinateSystemPtr showerCS,
const Point corePosition,
const Point position 
)
inline

Calculate time of arrival of the plane front at point position x.

t_pf(x) = t_c - (x - x_c)_z / c x_c = core position t_c = core time

this is equivalent to t_pf(x) = t_c - axis.(x - x_c) / c

in the simulations, the t_c is the reference time and is equal to zero x_c = (0,0,0) in the shower coordinate system

Definition at line 150 of file CachedShowerRegeneratorOG/CachedShowerRegenerator.cc.

References utl::BasicVector< HepVector >::GetZ(), and utl::kSpeedOfLight.

Referenced by CachedShowerRegeneratorOG::CachedShowerRegenerator::InitNewShower(), and CachedShowerRegeneratorOG::CachedShowerRegenerator::Run().

double CachedShowerRegeneratorOG::Round ( const double  div,
const double  val 
)
inline

, generated on Tue Sep 26 2023.