Belle II Software development
ECLDigitWaveformParametersForMC Class Reference

DB object to store photon, hadron and diode shape parameters used in simulations. More...

#include <ECLDigitWaveformParametersForMC.h>

Inheritance diagram for ECLDigitWaveformParametersForMC:

Public Member Functions

 ECLDigitWaveformParametersForMC ()
 Default constructor.
 
const float * getPhotonParameters () const
 Get array of photon template parameters.
 
const float * getHadronParameters () const
 Get array of hadron template parameters.
 
const float * getDiodeParameters () const
 Get array of diode template parameters.
 
void setTemplateParameters (const float photonInput[11], const float hadronInput[11], const float diodeInput[11])
 Set photon, hadron and diode template parameters.
 
 ~ECLDigitWaveformParametersForMC ()
 Destructor.
 

Private Member Functions

 ClassDef (ECLDigitWaveformParametersForMC, 1)
 ClassDef.
 

Private Attributes

float m_PhotonPars [11]
 photon parameters for MC
 
float m_HadronPars [11]
 hadron parameters for MC
 
float m_DiodePars [11]
 diode parameters for MC
 

Detailed Description

DB object to store photon, hadron and diode shape parameters used in simulations.

All crystals use same parameters in simulation.

Definition at line 24 of file ECLDigitWaveformParametersForMC.h.

Constructor & Destructor Documentation

◆ ECLDigitWaveformParametersForMC()

Default constructor.

Definition at line 30 of file ECLDigitWaveformParametersForMC.h.

31 {
32 for (int i = 0; i < 11; i++) {
33 m_PhotonPars[i] = 0.;
34 m_HadronPars[i] = 0.;
35 m_DiodePars[i] = 0.;
36 }
37
38 };

◆ ~ECLDigitWaveformParametersForMC()

Destructor.

Definition at line 64 of file ECLDigitWaveformParametersForMC.h.

64{};

Member Function Documentation

◆ getDiodeParameters()

const float * getDiodeParameters ( ) const
inline

Get array of diode template parameters.

11 entries.

Definition at line 47 of file ECLDigitWaveformParametersForMC.h.

47{return m_DiodePars;};

◆ getHadronParameters()

const float * getHadronParameters ( ) const
inline

Get array of hadron template parameters.

11 entries.

Definition at line 44 of file ECLDigitWaveformParametersForMC.h.

44{return m_HadronPars;};

◆ getPhotonParameters()

const float * getPhotonParameters ( ) const
inline

Get array of photon template parameters.

11 entries.

Definition at line 41 of file ECLDigitWaveformParametersForMC.h.

41{return m_PhotonPars;};

◆ setTemplateParameters()

void setTemplateParameters ( const float  photonInput[11],
const float  hadronInput[11],
const float  diodeInput[11] 
)
inline

Set photon, hadron and diode template parameters.

11 entries per template. One photon, hadron and diode template.

Definition at line 50 of file ECLDigitWaveformParametersForMC.h.

53 {
54 for (int i = 0; i < 11; i++) {
55 m_PhotonPars[i] = photonInput[i];
56 m_HadronPars[i] = hadronInput[i];
57 m_DiodePars[i] = diodeInput[i];
58 }
59 };

Member Data Documentation

◆ m_DiodePars

float m_DiodePars[11]
private

diode parameters for MC

Definition at line 70 of file ECLDigitWaveformParametersForMC.h.

◆ m_HadronPars

float m_HadronPars[11]
private

hadron parameters for MC

Definition at line 69 of file ECLDigitWaveformParametersForMC.h.

◆ m_PhotonPars

float m_PhotonPars[11]
private

photon parameters for MC

Definition at line 68 of file ECLDigitWaveformParametersForMC.h.


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