Belle II Software development
InverseRaytracer::CerenkovAngle Struct Reference

Sine and cosine of Cerenkov angle. More...

#include <InverseRaytracer.h>

Public Member Functions

 CerenkovAngle ()
 Default constructor.
 
 CerenkovAngle (double cosTheta)
 Constructor from cosine of Cerenkov angle.
 

Public Attributes

double cosThc = 0
 cosine of Cerenkov angle
 
double sinThc = 0
 sine of Cerenkov angle
 

Detailed Description

Sine and cosine of Cerenkov angle.

Definition at line 45 of file InverseRaytracer.h.

Constructor & Destructor Documentation

◆ CerenkovAngle() [1/2]

CerenkovAngle ( )
inline

Default constructor.

Definition at line 52 of file InverseRaytracer.h.

53 {}

◆ CerenkovAngle() [2/2]

CerenkovAngle ( double  cosTheta)
explicit

Constructor from cosine of Cerenkov angle.

Parameters
cosThetacosine of Cerenkov angle

Definition at line 23 of file InverseRaytracer.cc.

23 :
24 cosThc(cosTheta), sinThc(sqrt(1 - cosTheta * cosTheta))
25 {}
double sqrt(double a)
sqrt for double
Definition: beamHelpers.h:28
double cosThc
cosine of Cerenkov angle

Member Data Documentation

◆ cosThc

double cosThc = 0

cosine of Cerenkov angle

Definition at line 46 of file InverseRaytracer.h.

◆ sinThc

double sinThc = 0

sine of Cerenkov angle

Definition at line 47 of file InverseRaytracer.h.


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