Belle II Software  release-08-01-10
ECLDigitWaveformParameters Class Reference

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

#include <ECLDigitWaveformParameters.h>

Inheritance diagram for ECLDigitWaveformParameters:
Collaboration diagram for ECLDigitWaveformParameters:

Public Member Functions

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

Private Member Functions

 ClassDef (ECLDigitWaveformParameters, 2)
 ClassDef.
 

Private Attributes

float m_PhotonPars [ECLElementNumbers::c_NCrystals][11]
 photon parameters all crystals
 
float m_HadronPars [ECLElementNumbers::c_NCrystals][11]
 hadron parameters all crystals
 
float m_DiodePars [ECLElementNumbers::c_NCrystals][11]
 diode parameters all crystals
 

Detailed Description

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

Definition at line 24 of file ECLDigitWaveformParameters.h.

Member Function Documentation

◆ getDiodeParameters()

const float* getDiodeParameters ( int  cellID) const
inline

Get array of diode template parameters.

11 entries per crystal.

Definition at line 50 of file ECLDigitWaveformParameters.h.

50 {return m_DiodePars[cellID - 1];};
float m_DiodePars[ECLElementNumbers::c_NCrystals][11]
diode parameters all crystals

◆ getHadronParameters()

const float* getHadronParameters ( int  cellID) const
inline

Get array of hadron template parameters.

11 entries per crystal.

Definition at line 47 of file ECLDigitWaveformParameters.h.

◆ getPhotonParameters()

const float* getPhotonParameters ( int  cellID) const
inline

Get array of photon template parameters.

11 entries per crystal.

Definition at line 44 of file ECLDigitWaveformParameters.h.

◆ setTemplateParameters()

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

Set photon, hadron and diode template parameters for crystal.

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

Definition at line 53 of file ECLDigitWaveformParameters.h.


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