Belle II Software  release-08-01-10
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 24 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 57 of file ARICHSimulationPar.h.

57 {return (double)m_chipNegativeCrosstalk;}
float m_chipNegativeCrosstalk
to simulate opposite polarity crosstalk among channels on chip

◆ getColEff()

double getColEff ( ) const
inline

Get HAPD collection efficiency.

Returns
collection efficiency

Definition at line 42 of file ARICHSimulationPar.h.

◆ getQE()

double getQE ( double  e) const

Get QE at given energy.

Parameters
ephoton energy [eV]
Returns
QE

Definition at line 17 of file ARICHSimulationPar.cc.

18 {
19  if (e < 0.001) return 0;
20  if (m_qe.size() == 0) B2ERROR("ARICHSimulationPar: QE curve not initialized!");
21  double dlam = 1240 / e - m_lambdaFirst;
22 
23  int i = int(dlam / m_lambdaStep);
24  if (i < 0) i = 0;
25  if (i > int(m_qe.size()) - 2) return 0;
26 
27  // linear interpolation
28  double qe = m_qe[i] + (m_qe[i + 1] - m_qe[i]) / m_lambdaStep * (dlam - i * m_lambdaStep);
29  return qe * m_peakQE;
30 }
float m_peakQE
maximal peak QE of all HAPDs
std::vector< float > m_qe
quantum efficiency curve
float m_lambdaStep
wavelength [nm]: step
float m_lambdaFirst
wavelength [nm]: first QE data point

◆ 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 94 of file ARICHSimulationPar.h.

◆ setCollectionEff()

void setCollectionEff ( double  colEff)
inline

Set HAPD collection efficiency.

Parameters
colEffcollection efficiency

Definition at line 100 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 76 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 106 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 32 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 82 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 88 of file ARICHSimulationPar.h.


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