 |
Belle II Software
release-05-01-25
|
14 #ifndef TRGECLDIGITIZER_H
15 #define TRGECLDIGITIZER_H
18 #include "trg/ecl/TrgEclMapping.h"
19 #include "trg/ecl/TrgEclDataBase.h"
42 void digitization01(std::vector<std::vector<double>>&, std::vector<std::vector<double>>&);
44 void digitization02(std::vector<std::vector<double>>&, std::vector<std::vector<double>>&);
55 double FADC(
int,
double);
61 double ShapeF(
double,
double,
double,
double,
double,
double,
double);
63 double ShapeF(
double,
double);
65 double u_max(
double,
double);
void digitization01(std::vector< std::vector< double >> &, std::vector< std::vector< double >> &)
fit method, digi with 125ns interval
double ShapeF(double, double, double, double, double, double, double)
return shape using FADC function
void getTCHit(int)
get TC Hits from Xtal hits
double WaveForm[576][64]
TC Energy converted from Xtarl Energy [GeV].
double TCBkgContribution[576][80]
Beambackground contribution.
void setFADC(int fadc)
Set flag of waveform table.
int _waveform
Flag of waveform table.
TrgEclDataBase * _DataBase
Object of DataBase.
double SimplifiedFADC(int, double)
FADC.
double TCTiming_tot[576]
TC Timing converted from Xtarl Timing [GeV].
TrgEclMapping * _TCMap
Object of TC Mapping.
double u_max(double, double)
Find max value between 2 vals;.
TrgEclDigitizer()
Constructor.
double TCRawBkgTag[576][60]
Input Beambackgroun tag
double TCEnergy[576][80]
TC Energy converted from Xtarl Energy [GeV].
int _FADC
Flag of choosing the method of waveform generation function 0: use simplifiedFADC,...
double TCRawTiming[576][60]
Input TC timing[ns]
void save(int)
save fitting result into tables
std::vector< std::vector< double > > MatrixParallel
Noise Matrix of Parallel and Serial Noise.
double TimeRange
time range(defult : -4000 ~ 4000 ns )
int TCBeambkgTag[576][80]
Beambackground tag.
Abstract base class for different kinds of events.
double TCEnergy_tot[576]
TC Energy converted from Xtarl Energy [GeV].
double TCSigContribution[576][80]
Signal contribution.
std::vector< std::vector< double > > MatrixSerial
Noise Low triangle Matrix of Serial noise
double interFADC(double)
Faster FADC using interpolation.
double TCRawEnergy[576][60]
Input TC energy[GeV].
double FADC(int, double)
FADC
void digitization02(std::vector< std::vector< double >> &, std::vector< std::vector< double >> &)
orignal no fit method, digi with 12ns interval
int _BeambkgTag
Flag of saving beam background tag or not.
void setWaveform(int wave)
Set flag of waveform table.
void setup()
setup fam module
virtual ~TrgEclDigitizer()
Destructor.
double TCTiming[576][80]
TC Timing converted from Xtarl Timing [GeV].