Belle II Software development
PDFConstructor::InverseRaytracerDirect Struct Reference

Structure that enables defining a template function: direct photons. More...

Public Member Functions

int solve (double xD, double zD, int, double, double, const TOPTrack::AssumedEmission &assumedEmission, const InverseRaytracer::CerenkovAngle &cer, double step=0) const
 Solve inverse ray-tracing for direct photon.
 

Public Attributes

const InverseRaytracerinverseRaytracer = 0
 inverse ray-tracer
 
const SignalPDF::EPeakType type = SignalPDF::c_Direct
 PDF peak type.
 

Detailed Description

Structure that enables defining a template function: direct photons.

Definition at line 404 of file PDFConstructor.h.

Member Function Documentation

◆ solve()

int solve ( double  xD,
double  zD,
int  ,
double  ,
double  ,
const TOPTrack::AssumedEmission assumedEmission,
const InverseRaytracer::CerenkovAngle cer,
double  step = 0 
) const
inline

Solve inverse ray-tracing for direct photon.

Parameters
xDunfolded position in x of photon at detection plane (unfolding w.r.t mirror)
zDposition of detection plane
assumedEmissionphoton emission position and track angles
cersine and cosine of Cerenkov angle
stepstep for numerical derivative calculation
Returns
index of solution on success or InverseRaytracer::ErrorCodes on fail

Definition at line 417 of file PDFConstructor.h.

420 {
421 return inverseRaytracer->solveDirect(xD, zD, assumedEmission, cer, step);
422 }
int solveDirect(double xD, double zD, const TOPTrack::AssumedEmission &assumedEmission, const CerenkovAngle &cer, double step=0) const
Solve inverse ray-tracing for direct photon.
const InverseRaytracer * inverseRaytracer
inverse ray-tracer

Member Data Documentation

◆ inverseRaytracer

const InverseRaytracer* inverseRaytracer = 0

inverse ray-tracer

Definition at line 405 of file PDFConstructor.h.

◆ type

PDF peak type.

Definition at line 406 of file PDFConstructor.h.


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