12#include "trg/ecl/TrgEclMapping.h"
13#include "trg/ecl/TrgEclDataBase.h"
14#include "ecl/dataobjects/ECLHit.h"
15#include "trg/ecl/dataobjects/TRGECLBGTCHit.h"
39 std::vector<std::vector<double>>&);
42 std::vector<std::vector<double>>&);
53 double FADC(
int,
double);
59 double ShapeF(
double,
double,
double,
double,
double,
double,
double);
61 double ShapeF(
double,
double);
63 double u_max(
double,
double);
virtual ~TrgEclDigitizer()
Destructor.
void save(int)
save fitting result into tables
std::vector< std::vector< double > > m_MatrixParallel
Noise Matrix of Parallel and Serial Noise.
void setup(int)
setup fam module
void setFADC(int fadc)
Set flag of waveform table.
double m_TCTiming[576][80]
TC Timing converted from Xtarl Timing [GeV].
double m_TCRawBkgTag[576][60]
Input Beambackground tag.
void setWaveform(int wave)
Set flag of waveform table.
void digitization01(std::vector< std::vector< double > > &, std::vector< std::vector< double > > &)
fit method, digi with 125ns interval
int m_SaveTCWaveForm
Flag of waveform table.
double m_TCRawEnergy[576][60]
Input TC energy[GeV].
double m_TCBkgContribution[576][80]
Beambackground contribution.
double m_TCEnergy_tot[576]
TC Energy converted from Xtarl Energy [GeV].
double m_TCRawTiming[576][60]
Input TC timing[ns].
double interFADC(double)
Faster FADC using interpolation.
TrgEclDigitizer()
Constructor.
double m_TCSigContribution[576][80]
Signal contribution.
TrgEclDataBase * m_DataBase
Object of DataBase.
double m_TCTiming_tot[576]
TC Timing converted from Xtarl Timing [GeV].
double FADC(int, double)
FADC.
double SimplifiedFADC(int, double)
FADC.
std::vector< std::vector< double > > m_MatrixSerial
Noise Low triangle Matrix of Serial noise.
double m_WaveForm[576][64]
TC Energy converted from Xtarl Energy [GeV].
double u_max(double, double)
Find max value between 2 vals;.
double m_TCEnergy[576][80]
TC Energy converted from Xtarl Energy [GeV].
double ShapeF(double, double, double, double, double, double, double)
return shape using FADC function
void digitization02(std::vector< std::vector< double > > &, std::vector< std::vector< double > > &)
original no fit method, digi with 12ns interval
int m_TCBeambkgTag[576][80]
Beambackground tag.
void getTCHit(int)
get TC Hits from Xtal hits
int m_FADC
Flag of choosing the method of waveform generation function 0: use simplifiedFADC,...
TrgEclMapping * m_TCMap
Object of TC Mapping.
int m_BeambkgTag
Flag of saving beam background tag or not.
double m_TimeRange
time range(default : -4000 ~ 4000 ns )
Abstract base class for different kinds of events.