Belle II Software  release-05-01-25
ARICHSimulationPar Class Reference

The Class for ARICH simulation parameters. More...

#include <ARICHSimulationPar.h>

Inheritance diagram for ARICHSimulationPar:
Collaboration diagram for ARICHSimulationPar:

Public Member Functions

 ARICHSimulationPar ()
 Default constructor.
 
double getQE (double e) const
 Get QE at given energy. More...
 
double getColEff () const
 Get HAPD collection efficiency. More...
 
double getQEScaling () const
 Get QE scaling factor for photons internally reflected in HAPD window.
 
double getWindowAbsorbtion () const
 Get absorbtion probability for photons internally reflected in HAPD window.
 
double getChipNegativeCrosstalk () const
 Get factor to suppress p.e. More...
 
double getNBkgHits () const
 Get number of flat background hits/hapd/event to be added in digitizer.
 
void setQECurve (float lambdaFirst, float lambdaStep, const std::vector< float > &qe)
 Set QE curve. More...
 
void setNBkgHits (float nbkg)
 Set number of flat background hits/hapd/event to be added in digitizer. More...
 
void setQEScaling (double qescale)
 Set QE scaling factor for photons internally reflected in HAPD window. More...
 
void setWindowAbsorbtion (double abs)
 Set absorbtion probability for photons internally reflected in HAPD window. More...
 
void setChipNegativeCrosstalk (double cross)
 Set factor to suppress p.e. More...
 
void setCollectionEff (double colEff)
 Set HAPD collection efficiency. More...
 
void setPeakQE (double peak)
 Set peak QE value (for HAPD with maximal QE, at later stage HAPD dependent scaling is done) More...
 
void print () const
 print class content
 

Private Member Functions

 ClassDef (ARICHSimulationPar, 2)
 ClassDef, must be the last term before the closing {}.
 

Private Attributes

float m_qeScale = 0
 QE scale factor for photons internally reflected in HAPD window.
 
float m_windowAbsorbtion = 0
 absorbtion probability for photons internally reflected in HAPD window
 
float m_chipNegativeCrosstalk = 0
 to simulate opposite polarity crosstalk among channels on chip
 
float m_peakQE = 0
 maximal peak QE of all HAPDs
 
std::vector< float > m_qe
 quantum efficiency curve
 
float m_colEff = 0
 collection efficiency
 
float m_lambdaFirst = 0
 wavelength [nm]: first QE data point
 
float m_lambdaStep = 0
 wavelength [nm]: step
 
float m_nBkgHits = 0
 number if flat background hits/hapd/event to be added in digitizer
 

Detailed Description

The Class for ARICH simulation parameters.

This class provides ARICH paramters for simulation, such as QE vs. wavelength curve for HAPDs, parameters to describe negative polarity crosstalk of channels of APD, ...

Definition at line 34 of file ARICHSimulationPar.h.

Member Function Documentation

◆ getChipNegativeCrosstalk()

double getChipNegativeCrosstalk ( ) const
inline

Get factor to suppress p.e.

detection efficiency due to negative polarity crosstalk among chip channels

Definition at line 67 of file ARICHSimulationPar.h.

◆ getColEff()

double getColEff ( ) const
inline

Get HAPD collection efficiency.

Returns
collection efficiency

Definition at line 52 of file ARICHSimulationPar.h.

◆ getQE()

double getQE ( double  e) const

Get QE at given energy.

Parameters
ephoton energy [eV]
Returns
QE

Definition at line 19 of file ARICHSimulationPar.cc.

20 {
21  if (e < 0.001) return 0;
22  if (m_qe.size() == 0) B2ERROR("ARICHSimulationPar: QE curve not initialized!");
23  double dlam = 1240 / e - m_lambdaFirst;
24 
25  int i = int(dlam / m_lambdaStep);
26  if (i < 0) i = 0;
27  if (i > int(m_qe.size()) - 2) return 0;
28 
29  // linear interpolation
30  double qe = m_qe[i] + (m_qe[i + 1] - m_qe[i]) / m_lambdaStep * (dlam - i * m_lambdaStep);
31  return qe * m_peakQE;
32 }

◆ setChipNegativeCrosstalk()

void setChipNegativeCrosstalk ( double  cross)
inline

Set factor to suppress p.e.

detection efficiency due to negative polarity crosstalk among chip channels

Parameters
crosslevel of negative crosstalk

Definition at line 104 of file ARICHSimulationPar.h.

◆ setCollectionEff()

void setCollectionEff ( double  colEff)
inline

Set HAPD collection efficiency.

Parameters
colEffcollection efficiency

Definition at line 110 of file ARICHSimulationPar.h.

◆ setNBkgHits()

void setNBkgHits ( float  nbkg)
inline

Set number of flat background hits/hapd/event to be added in digitizer.

Parameters
numberof background hits/hapd/event

Definition at line 86 of file ARICHSimulationPar.h.

◆ setPeakQE()

void setPeakQE ( double  peak)
inline

Set peak QE value (for HAPD with maximal QE, at later stage HAPD dependent scaling is done)

Parameters
peakQE at peak

Definition at line 116 of file ARICHSimulationPar.h.

◆ setQECurve()

void setQECurve ( float  lambdaFirst,
float  lambdaStep,
const std::vector< float > &  qe 
)

Set QE curve.

Parameters
lambdaFirstcurve starting wavelength in nm
lambdaStepstep between points
qevector of QE values

Definition at line 34 of file ARICHSimulationPar.cc.

◆ setQEScaling()

void setQEScaling ( double  qescale)
inline

Set QE scaling factor for photons internally reflected in HAPD window.

Parameters
qescaleQE scaling

Definition at line 92 of file ARICHSimulationPar.h.

◆ setWindowAbsorbtion()

void setWindowAbsorbtion ( double  abs)
inline

Set absorbtion probability for photons internally reflected in HAPD window.

Parameters
absabsorbtion probability

Definition at line 98 of file ARICHSimulationPar.h.


The documentation for this class was generated from the following files:
Belle2::ARICHSimulationPar::m_lambdaFirst
float m_lambdaFirst
wavelength [nm]: first QE data point
Definition: ARICHSimulationPar.h:132
prepareAsicCrosstalkSimDB.e
e
aux.
Definition: prepareAsicCrosstalkSimDB.py:53
Belle2::ARICHSimulationPar::m_peakQE
float m_peakQE
maximal peak QE of all HAPDs
Definition: ARICHSimulationPar.h:128
Belle2::ARICHSimulationPar::m_lambdaStep
float m_lambdaStep
wavelength [nm]: step
Definition: ARICHSimulationPar.h:133
Belle2::ARICHSimulationPar::m_qe
std::vector< float > m_qe
quantum efficiency curve
Definition: ARICHSimulationPar.h:130