CbmRoot
|
Data class for PSD digital signal processing (DSP) More...
#include <CbmPsdDsp.h>
Public Member Functions | |
CbmPsdDsp () | |
Default constructor. | |
CbmPsdDsp (uint32_t address, double time, double ts_time, double edep, uint32_t zl, double accum, double adc_time, double edep_wfm, double ampl, uint32_t minimum, uint32_t time_max, std::vector< std::uint16_t > wfm, double fit_ampl, double fit_zl, double fit_edep, double fit_r2, double fit_time_max, std::vector< std::uint16_t > fit_wfm) | |
Constructor with detailed assignment. | |
CbmPsdDsp (const CbmPsdDsp &) | |
CbmPsdDsp (CbmPsdDsp &&) | |
CbmPsdDsp & | operator= (const CbmPsdDsp &) |
CbmPsdDsp & | operator= (CbmPsdDsp &&) |
~CbmPsdDsp () | |
uint32_t | GetAddress () const |
Address. | |
double | GetTime () const |
Time. | |
double | GetTsTime () const |
TsTime. | |
double | GetEdep () const |
Energy deposit. | |
double | GetModuleID () const |
Module Identifier. | |
double | GetSectionID () const |
Section Identifier. | |
void | SetAddress (uint32_t address) |
void | SetAddress (uint32_t moduleId, uint32_t sectionId) |
void | SetTime (double time) |
void | SetEdep (double edep) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Static Public Member Functions | |
static const char * | GetClassName () |
Class name (static) | |
static ECbmModuleId | GetSystem () |
System identifier. | |
Public Attributes | |
uint32_t | fuAddress = 0 |
double | fdTime = -1. |
Unique channel address. | |
double | fdTsTime = -1. |
Time of measurement relative to TS [ns]. | |
double | fdEdep = 0. |
Time of TimeSlice of measurement. Relative to first TS [ns]. | |
uint32_t | fuZL = 0 |
Energy deposition from FPGA [MeV]. | |
double | fdAccum = 0 |
ZeroLevel from waveform [adc counts]. | |
double | fdAdcTime = -1. |
FPGA FEE Accumulator. | |
double | fdEdepWfm = 0. |
Adc time of measurement. | |
double | fdAmpl = 0. |
Energy deposition from waveform [MeV]. | |
uint32_t | fuMinimum = 0 |
Amplitude from waveform [mV]. | |
uint32_t | fuTimeMax = 0 |
Minimum of waveform [adc samples]. | |
std::vector< uint16_t > | fuWfm = std::vector<uint16_t>(32, 0) |
Time of maximum in waveform [adc samples]. | |
double | fdFitAmpl = 0. |
double | fdFitZL = 0. |
Amplitude from fit of waveform [mV]. | |
double | fdFitEdep = 0. |
ZeroLevel from fit of waveform [adc counts]. | |
double | fdFitR2 = 999. |
Energy deposition from fit of waveform [MeV]. | |
double | fdFitTimeMax = -1. |
Quality of waveform fit [] – good near 0. | |
std::vector< uint16_t > | fuFitWfm = std::vector<uint16_t>(32, 0) |
Time of maximum in fit of waveform [adc samples]. | |
Private Member Functions | |
ClassDefNV (CbmPsdDsp, 1) | |
Friends | |
class | boost::serialization::access |
BOOST serialization interface. | |
Data class for PSD digital signal processing (DSP)
Definition at line 30 of file CbmPsdDsp.h.
CbmPsdDsp::CbmPsdDsp | ( | ) |
Default constructor.
Definition at line 21 of file CbmPsdDsp.cxx.
CbmPsdDsp::CbmPsdDsp | ( | uint32_t | address, |
double | time, | ||
double | ts_time, | ||
double | edep, | ||
uint32_t | zl, | ||
double | accum, | ||
double | adc_time, | ||
double | edep_wfm, | ||
double | ampl, | ||
uint32_t | minimum, | ||
uint32_t | time_max, | ||
std::vector< std::uint16_t > | wfm, | ||
double | fit_ampl, | ||
double | fit_zl, | ||
double | fit_edep, | ||
double | fit_r2, | ||
double | fit_time_max, | ||
std::vector< std::uint16_t > | fit_wfm ) |
Constructor with detailed assignment.
Definition at line 47 of file CbmPsdDsp.cxx.
CbmPsdDsp::CbmPsdDsp | ( | const CbmPsdDsp & | other | ) |
Copy constructor
Definition at line 93 of file CbmPsdDsp.cxx.
CbmPsdDsp::CbmPsdDsp | ( | CbmPsdDsp && | other | ) |
Move constructor
Definition at line 119 of file CbmPsdDsp.cxx.
CbmPsdDsp::~CbmPsdDsp | ( | ) |
|
private |
|
inline |
Address.
Definition at line 75 of file CbmPsdDsp.h.
References fuAddress.
Referenced by GetModuleID(), GetSectionID(), CbmMcbm2018UnpackerAlgoPsd::MakeDigi(), and CbmPsdUnpackAlgo::makeDigi().
|
inlinestatic |
|
inline |
Energy deposit.
Definition at line 93 of file CbmPsdDsp.h.
References fdEdep.
Referenced by CbmPsdUnpackAlgo::makeDigi().
|
inline |
Module Identifier.
Definition at line 99 of file CbmPsdDsp.h.
References GetAddress(), and CbmPsdAddress::GetModuleId().
|
inline |
Section Identifier.
Definition at line 105 of file CbmPsdDsp.h.
References GetAddress(), and CbmPsdAddress::GetSectionId().
|
inlinestatic |
System identifier.
Definition at line 111 of file CbmPsdDsp.h.
References kPsd.
|
inline |
Time.
Definition at line 81 of file CbmPsdDsp.h.
References fdTime.
Referenced by CbmMcbm2018UnpackerAlgoPsd::MakeDigi(), and CbmPsdUnpackAlgo::makeDigi().
|
inline |
|
inline |
|
inline |
void CbmPsdDsp::SetAddress | ( | uint32_t | moduleId, |
uint32_t | sectionId ) |
|
inline |
Definition at line 118 of file CbmPsdDsp.h.
References fdEdep.
|
inline |
Definition at line 117 of file CbmPsdDsp.h.
References fdTime.
|
friend |
BOOST serialization interface.
Definition at line 168 of file CbmPsdDsp.h.
double CbmPsdDsp::fdAccum = 0 |
ZeroLevel from waveform [adc counts].
Definition at line 125 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
double CbmPsdDsp::fdAdcTime = -1. |
FPGA FEE Accumulator.
Definition at line 126 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
double CbmPsdDsp::fdAmpl = 0. |
Energy deposition from waveform [MeV].
Definition at line 129 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
double CbmPsdDsp::fdEdep = 0. |
Time of TimeSlice of measurement. Relative to first TS [ns].
Definition at line 123 of file CbmPsdDsp.h.
Referenced by GetEdep(), operator=(), operator=(), serialize(), and SetEdep().
double CbmPsdDsp::fdEdepWfm = 0. |
Adc time of measurement.
Definition at line 128 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
double CbmPsdDsp::fdFitAmpl = 0. |
Definition at line 134 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
double CbmPsdDsp::fdFitEdep = 0. |
ZeroLevel from fit of waveform [adc counts].
Definition at line 136 of file CbmPsdDsp.h.
Referenced by CbmMcbm2018UnpackerAlgoPsd::MakeDigi(), operator=(), operator=(), and serialize().
double CbmPsdDsp::fdFitR2 = 999. |
Energy deposition from fit of waveform [MeV].
Definition at line 137 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
double CbmPsdDsp::fdFitTimeMax = -1. |
Quality of waveform fit [] – good near 0.
Definition at line 138 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
double CbmPsdDsp::fdFitZL = 0. |
Amplitude from fit of waveform [mV].
Definition at line 135 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
double CbmPsdDsp::fdTime = -1. |
Unique channel address.
Definition at line 121 of file CbmPsdDsp.h.
Referenced by GetTime(), operator=(), operator=(), serialize(), and SetTime().
double CbmPsdDsp::fdTsTime = -1. |
Time of measurement relative to TS [ns].
Definition at line 122 of file CbmPsdDsp.h.
Referenced by GetTsTime(), operator=(), operator=(), and serialize().
uint32_t CbmPsdDsp::fuAddress = 0 |
Definition at line 120 of file CbmPsdDsp.h.
Referenced by GetAddress(), operator=(), operator=(), serialize(), and SetAddress().
std::vector<uint16_t> CbmPsdDsp::fuFitWfm = std::vector<uint16_t>(32, 0) |
Time of maximum in fit of waveform [adc samples].
Definition at line 139 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), serialize(), and ~CbmPsdDsp().
uint32_t CbmPsdDsp::fuMinimum = 0 |
Amplitude from waveform [mV].
Definition at line 130 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
uint32_t CbmPsdDsp::fuTimeMax = 0 |
Minimum of waveform [adc samples].
Definition at line 131 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().
std::vector<uint16_t> CbmPsdDsp::fuWfm = std::vector<uint16_t>(32, 0) |
Time of maximum in waveform [adc samples].
Definition at line 132 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), serialize(), and ~CbmPsdDsp().
uint32_t CbmPsdDsp::fuZL = 0 |
Energy deposition from FPGA [MeV].
Definition at line 124 of file CbmPsdDsp.h.
Referenced by operator=(), operator=(), and serialize().