![]() |
Belle II Software development
|
FAM module. More...
#include <TrgEclFAMFit.h>
Public Member Functions | |
| TrgEclFAMFit () | |
| Constructor. | |
| virtual | ~TrgEclFAMFit () |
| Destructor. | |
| void | setup (int) |
| setup fam module | |
| void | save (int) |
| save fitting result into tables | |
| void | FAMFit01 (const std::vector< std::vector< double > > &, const std::vector< std::vector< double > > &) |
| function for fitting | |
| void | FAMFit02 (std::vector< std::vector< double > >, const std::vector< std::vector< double > > &) |
| function for backup 1 | |
| void | FAMFit03 (const std::vector< std::vector< double > > &, const std::vector< std::vector< double > > &) |
| function for backup2 | |
| void | setBeamBkgTagFlag (int beambkgtagflag) |
| set Beam Background Tag flag | |
| void | setAnaTagFlag (int anatagflag) |
| set flag for saving analysis table | |
| void | setThreshold (const std::array< int, c_NTC > &tcethreshold) |
| set Threshold | |
| void | setBeamBkgTag () |
| set Beam Background Tag | |
| void | clear () |
| Clear vectors. | |
Private Attributes | |
| std::array< std::vector< double >, c_NTC > | m_TCFitEnergy |
| fit energy | |
| std::array< std::vector< double >, c_NTC > | m_TCFitTiming |
| fit timing | |
| std::array< std::vector< int >, c_NTC > | m_BeamBkgInfo |
| fit timing | |
| std::array< std::vector< double >, c_NTC > | m_TCRawEnergy |
| Raw energy. | |
| std::array< std::vector< double >, c_NTC > | m_TCRawTiming |
| Raw timing. | |
| TrgEclMapping * | m_TCMap |
| Object of TC Mapping. | |
| TrgEclDataBase * | m_DataBase |
| Object of DataBase. | |
| std::array< std::array< double, c_nFitSample >, 20 > | m_CoeffSigPDF0 |
| Coeffisients of signal PDF0. | |
| std::array< std::array< double, c_nFitSample >, 20 > | m_CoeffSigPDF1 |
| Coeffisients of signal PDF1. | |
| std::array< std::array< double, c_nFitSample >, 20 > | m_CoeffNoise31 |
| Coeffisients of noise 1. | |
| std::array< std::array< double, c_nFitSample >, 20 > | m_CoeffNoise32 |
| Coeffisient of noise 2. | |
| std::array< std::array< double, c_nFitSample >, 20 > | m_CoeffNoise33 |
| Coeffisient of noise 3. | |
| int | m_BeamBkgTag = 0 |
| Add beambkg. | |
| int | m_AnaTag = 0 |
| Fill Analysis table. | |
| std::array< int, c_NTC > | m_TCEThreshold |
| Threshold (MeV) | |
| int | m_EventId = 0 |
| Fill Analysis table. | |
Static Private Attributes | |
| static constexpr int | c_NTC = 576 |
| Number of ECL TriggerCells (TC) | |
| static constexpr int | c_nFitSample = 12 |
| Number of fit samples. | |
FAM module.
Definition at line 24 of file TrgEclFAMFit.h.
| TrgEclFAMFit | ( | ) |
Constructor.
Definition at line 27 of file TrgEclFAMFit.cc.
|
virtual |
Destructor.
Definition at line 37 of file TrgEclFAMFit.cc.
| void clear | ( | ) |
Clear vectors.
Definition at line 48 of file TrgEclFAMFit.cc.
| void FAMFit01 | ( | const std::vector< std::vector< double > > & | digiEnergy, |
| const std::vector< std::vector< double > > & | digiTiming ) |
function for fitting
Definition at line 81 of file TrgEclFAMFit.cc.
| void FAMFit02 | ( | std::vector< std::vector< double > > | TCDigiE, |
| const std::vector< std::vector< double > > & | TCDigiT ) |
function for backup 1
Definition at line 183 of file TrgEclFAMFit.cc.
| void FAMFit03 | ( | const std::vector< std::vector< double > > & | TCDigiEnergy, |
| const std::vector< std::vector< double > > & | TCDigiTiming ) |
function for backup2
Definition at line 294 of file TrgEclFAMFit.cc.
| void save | ( | int | eventid | ) |
save fitting result into tables
Definition at line 417 of file TrgEclFAMFit.cc.
|
inline |
set flag for saving analysis table
Definition at line 53 of file TrgEclFAMFit.h.
| void setBeamBkgTag | ( | ) |
set Beam Background Tag
Definition at line 366 of file TrgEclFAMFit.cc.
|
inline |
set Beam Background Tag flag
Definition at line 51 of file TrgEclFAMFit.h.
|
inline |
set Threshold
Definition at line 55 of file TrgEclFAMFit.h.
| void setup | ( | int | eventId | ) |
setup fam module
Definition at line 60 of file TrgEclFAMFit.cc.
|
staticconstexprprivate |
Number of fit samples.
Definition at line 30 of file TrgEclFAMFit.h.
|
staticconstexprprivate |
Number of ECL TriggerCells (TC)
Definition at line 28 of file TrgEclFAMFit.h.
|
private |
Fill Analysis table.
Definition at line 96 of file TrgEclFAMFit.h.
|
private |
fit timing
Definition at line 70 of file TrgEclFAMFit.h.
|
private |
Add beambkg.
Definition at line 94 of file TrgEclFAMFit.h.
|
private |
Coeffisients of noise 1.
Definition at line 87 of file TrgEclFAMFit.h.
|
private |
Coeffisient of noise 2.
Definition at line 89 of file TrgEclFAMFit.h.
|
private |
Coeffisient of noise 3.
Definition at line 91 of file TrgEclFAMFit.h.
|
private |
Coeffisients of signal PDF0.
Definition at line 83 of file TrgEclFAMFit.h.
|
private |
Coeffisients of signal PDF1.
Definition at line 85 of file TrgEclFAMFit.h.
|
private |
Object of DataBase.
Definition at line 80 of file TrgEclFAMFit.h.
|
private |
Fill Analysis table.
Definition at line 100 of file TrgEclFAMFit.h.
|
private |
Threshold (MeV)
Definition at line 98 of file TrgEclFAMFit.h.
|
private |
fit energy
Definition at line 66 of file TrgEclFAMFit.h.
|
private |
fit timing
Definition at line 68 of file TrgEclFAMFit.h.
|
private |
Object of TC Mapping.
Definition at line 78 of file TrgEclFAMFit.h.
|
private |
Raw energy.
Definition at line 72 of file TrgEclFAMFit.h.
|
private |
Raw timing.
Definition at line 74 of file TrgEclFAMFit.h.