Belle II Software  release-05-02-19
TOPNominalQE Class Reference

Nominal quantum efficiency of PMT. More...

#include <TOPNominalQE.h>

Inheritance diagram for TOPNominalQE:
Collaboration diagram for TOPNominalQE:

Public Member Functions

 TOPNominalQE ()
 Default constructor.
 
 TOPNominalQE (float lambdaFirst, float lambdaStep, float CE, const std::vector< float > &qe, const std::string &name="TOPNominalQE")
 Full constructor. More...
 
void set (float lambdaFirst, float lambdaStep, float CE, const std::vector< float > &qe, const std::string &name)
 Sets the object. More...
 
void clear ()
 Clears the object.
 
bool isEmpty () const
 Checks the status. More...
 
const std::vector< float > & getQE () const
 Returns quantum efficiency data points. More...
 
double getQE (double lambda) const
 Returns quantum efficiency at given photon wavelength using linear interpolation. More...
 
double getEfficiency (double lambda) const
 Returns quantum times collection efficiency at given photon wavelength using linear interpolation. More...
 
double getLambdaFirst () const
 Returns wavelenght of the first data point. More...
 
double getLambdaLast () const
 Returns wavelenght of the last data point. More...
 
double getLambdaStep () const
 Returns wavelenght step. More...
 
double getCE () const
 Returns collection efficiency. More...
 
bool isConsistent () const override
 Check for consistency of data members. More...
 
void print (const std::string &title="Nominal quantum efficiency") const override
 Print the content of the class. More...
 
void setName (const std::string &name)
 Sets object name. More...
 
const std::string & getName () const
 Returns object name. More...
 
virtual void printSurface (const GeoOpticalSurface &surface) const
 Print the content of optical surface. More...
 
double getReflectivity (const GeoOpticalSurface &surface, double energy) const
 Returns reflectivity of optical surface at given photon energy. More...
 

Protected Member Functions

void printUnderlined (const std::string &title) const
 Print the content of the class. More...
 
 ClassDef (TOPGeoBase, 1)
 ClassDef.
 

Protected Attributes

std::string m_name
 geometry object name
 

Static Protected Attributes

static double s_unit = Unit::cm
 conversion unit for length
 
static std::string s_unitName
 conversion unit name
 

Private Member Functions

 ClassDefOverride (TOPNominalQE, 1)
 ClassDef.
 

Private Attributes

float m_lambdaFirst = 0
 wavelength of the first data point [nm]
 
float m_lambdaStep = 0
 wavelength step [nm]
 
float m_CE = 0
 collection efficiency
 
std::vector< float > m_QE
 QE data points.
 

Detailed Description

Nominal quantum efficiency of PMT.

Definition at line 33 of file TOPNominalQE.h.

Constructor & Destructor Documentation

◆ TOPNominalQE()

TOPNominalQE ( float  lambdaFirst,
float  lambdaStep,
float  CE,
const std::vector< float > &  qe,
const std::string &  name = "TOPNominalQE" 
)
inline

Full constructor.

Parameters
lambdaFirstwavelenght of the first data point [nm]
lambdaStepwavelength step [nm]
CEcollection efficiency
qequantum efficiency data points
nameobject name

Definition at line 50 of file TOPNominalQE.h.

Member Function Documentation

◆ getCE()

double getCE ( ) const
inline

Returns collection efficiency.

Returns
collection efficiency

Definition at line 139 of file TOPNominalQE.h.

◆ getEfficiency()

double getEfficiency ( double  lambda) const
inline

Returns quantum times collection efficiency at given photon wavelength using linear interpolation.

Parameters
lambdaphoton wavelength in [nm]
Returns
quantum efficiency

Definition at line 112 of file TOPNominalQE.h.

◆ getLambdaFirst()

double getLambdaFirst ( ) const
inline

Returns wavelenght of the first data point.

Returns
wavelength in [nm]

Definition at line 118 of file TOPNominalQE.h.

◆ getLambdaLast()

double getLambdaLast ( ) const
inline

Returns wavelenght of the last data point.

Returns
wavelength in [nm]

Definition at line 124 of file TOPNominalQE.h.

◆ getLambdaStep()

double getLambdaStep ( ) const
inline

Returns wavelenght step.

Returns
wavelength step in [nm]

Definition at line 133 of file TOPNominalQE.h.

◆ getName()

const std::string& getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 61 of file TOPGeoBase.h.

◆ getQE()

const std::vector<float>& getQE ( ) const
inline

Returns quantum efficiency data points.

Returns
quantum efficiency data points

Definition at line 97 of file TOPNominalQE.h.

◆ isEmpty()

bool isEmpty ( ) const
inline

Checks the status.

Returns
true if QE data points are empty

Definition at line 91 of file TOPNominalQE.h.

◆ set()

void set ( float  lambdaFirst,
float  lambdaStep,
float  CE,
const std::vector< float > &  qe,
const std::string &  name 
)
inline

Sets the object.

Parameters
lambdaFirstwavelenght of the first data point [nm]
lambdaStepwavelength step [nm]
CEcollection efficiency
qequantum efficiency data points
nameobject name

Definition at line 64 of file TOPNominalQE.h.

◆ setName()

void setName ( const std::string &  name)
inlineinherited

Sets object name.

Parameters
nameobject name

Definition at line 55 of file TOPGeoBase.h.


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