Belle II Software development
|
FAM module
More...
#include <TrgEclDigitizer.h>
Public Member Functions | |
TrgEclDigitizer () | |
Constructor. | |
virtual | ~TrgEclDigitizer () |
Destructor. | |
void | setup (int) |
setup fam module | |
void | getTCHit (int) |
get TC Hits from Xtal hits | |
void | digitization01 (std::vector< std::vector< double > > &, std::vector< std::vector< double > > &) |
fit method, digi with 125ns interval | |
void | digitization02 (std::vector< std::vector< double > > &, std::vector< std::vector< double > > &) |
original no fit method, digi with 12ns interval | |
void | save (int) |
save fitting result into tables | |
void | setWaveform (int wave) |
Set flag of waveform table. | |
void | setFADC (int fadc) |
Set flag of waveform table. | |
double | FADC (int, double) |
FADC | |
double | SimplifiedFADC (int, double) |
FADC. | |
double | interFADC (double) |
Faster FADC using interpolation. | |
double | ShapeF (double, double, double, double, double, double, double) |
return shape using FADC function | |
double | ShapeF (double, double) |
Return shape using Simplified FADC. | |
double | u_max (double, double) |
Find max value between 2 vals;. | |
Private Attributes | |
double | TimeRange |
time range(default : -4000 ~ 4000 ns ) | |
double | TCEnergy [576][80] |
TC Energy converted from Xtarl Energy [GeV]. | |
double | TCTiming [576][80] |
TC Timing converted from Xtarl Timing [GeV]. | |
double | TCEnergy_tot [576] |
TC Energy converted from Xtarl Energy [GeV]. | |
double | TCTiming_tot [576] |
TC Timing converted from Xtarl Timing [GeV]. | |
double | TCRawEnergy [576][60] |
Input TC energy[GeV]. | |
double | TCRawTiming [576][60] |
Input TC timing[ns] | |
double | TCRawBkgTag [576][60] |
Input Beambackground tag | |
TrgEclMapping * | _TCMap |
Object of TC Mapping. | |
TrgEclDataBase * | _DataBase |
Object of DataBase. | |
std::vector< std::vector< double > > | MatrixParallel |
Noise Matrix of Parallel and Serial Noise. | |
std::vector< std::vector< double > > | MatrixSerial |
Noise Low triangle Matrix of Serial noise | |
double | TCBkgContribution [576][80] |
Beambackground contribution. | |
double | TCSigContribution [576][80] |
Signal contribution. | |
int | TCBeambkgTag [576][80] |
Beambackground tag. | |
int | _waveform |
Flag of waveform table. | |
double | WaveForm [576][64] |
TC Energy converted from Xtarl Energy [GeV]. | |
int | _FADC |
Flag of choosing the method of waveform generation function 0: use simplifiedFADC, 1: use interFADC(interpolation) | |
int | _BeambkgTag |
Flag of saving beam background tag or not. | |
FAM module
Definition at line 24 of file TrgEclDigitizer.h.
TrgEclDigitizer | ( | ) |
Constructor.
Definition at line 32 of file TrgEclDigitizer.cc.
|
virtual |
Destructor.
Definition at line 65 of file TrgEclDigitizer.cc.
void digitization01 | ( | std::vector< std::vector< double > > & | TCDigiE, |
std::vector< std::vector< double > > & | TCDigiT | ||
) |
fit method, digi with 125ns interval
Definition at line 317 of file TrgEclDigitizer.cc.
void digitization02 | ( | std::vector< std::vector< double > > & | TCDigiE, |
std::vector< std::vector< double > > & | TCDigiT | ||
) |
original no fit method, digi with 12ns interval
Definition at line 478 of file TrgEclDigitizer.cc.
double FADC | ( | int | flag_gen, |
double | timing | ||
) |
FADC
Definition at line 646 of file TrgEclDigitizer.cc.
void getTCHit | ( | int | SourceOfTC | ) |
get TC Hits from Xtal hits
Definition at line 92 of file TrgEclDigitizer.cc.
double interFADC | ( | double | timing | ) |
Faster FADC using interpolation.
Definition at line 609 of file TrgEclDigitizer.cc.
void save | ( | int | m_nEvent | ) |
save fitting result into tables
Definition at line 567 of file TrgEclDigitizer.cc.
|
inline |
void setup | ( | int | SourceOfTC | ) |
setup fam module
Definition at line 75 of file TrgEclDigitizer.cc.
|
inline |
double ShapeF | ( | double | t00, |
double | ts1 | ||
) |
Return shape using Simplified FADC.
Definition at line 957 of file TrgEclDigitizer.cc.
double ShapeF | ( | double | t00, |
double | t01, | ||
double | tb1, | ||
double | t02, | ||
double | tb2, | ||
double | td1, | ||
double | ts1 | ||
) |
return shape using FADC function
Definition at line 761 of file TrgEclDigitizer.cc.
double SimplifiedFADC | ( | int | flag_gen, |
double | timing | ||
) |
FADC.
Faster FADC
Definition at line 837 of file TrgEclDigitizer.cc.
double u_max | ( | double | aaa, |
double | bbb | ||
) |
Find max value between 2 vals;.
Definition at line 1027 of file TrgEclDigitizer.cc.
|
private |
Flag of saving beam background tag or not.
Definition at line 112 of file TrgEclDigitizer.h.
|
private |
Object of DataBase.
Definition at line 92 of file TrgEclDigitizer.h.
|
private |
Flag of choosing the method of waveform generation function 0: use simplifiedFADC, 1: use interFADC(interpolation)
Definition at line 110 of file TrgEclDigitizer.h.
|
private |
Object of TC Mapping.
Definition at line 90 of file TrgEclDigitizer.h.
|
private |
Flag of waveform table.
Definition at line 106 of file TrgEclDigitizer.h.
|
private |
Noise Matrix of Parallel and Serial Noise.
Noise Low triangle Matrix of Parallel noise
Definition at line 96 of file TrgEclDigitizer.h.
|
private |
Noise Low triangle Matrix of Serial noise
Definition at line 98 of file TrgEclDigitizer.h.
|
private |
Beambackground tag.
Definition at line 104 of file TrgEclDigitizer.h.
|
private |
Beambackground contribution.
Definition at line 100 of file TrgEclDigitizer.h.
|
private |
TC Energy converted from Xtarl Energy [GeV].
Definition at line 69 of file TrgEclDigitizer.h.
|
private |
TC Energy converted from Xtarl Energy [GeV].
Definition at line 73 of file TrgEclDigitizer.h.
|
private |
Input Beambackground tag
Definition at line 87 of file TrgEclDigitizer.h.
|
private |
Input TC energy[GeV].
Definition at line 83 of file TrgEclDigitizer.h.
|
private |
Input TC timing[ns]
Definition at line 85 of file TrgEclDigitizer.h.
|
private |
Signal contribution.
Definition at line 102 of file TrgEclDigitizer.h.
|
private |
TC Timing converted from Xtarl Timing [GeV].
Definition at line 71 of file TrgEclDigitizer.h.
|
private |
TC Timing converted from Xtarl Timing [GeV].
Definition at line 75 of file TrgEclDigitizer.h.
|
private |
time range(default : -4000 ~ 4000 ns )
Definition at line 67 of file TrgEclDigitizer.h.
|
private |
TC Energy converted from Xtarl Energy [GeV].
Definition at line 108 of file TrgEclDigitizer.h.