CbmRoot
Loading...
Searching...
No Matches
CbmPsdDsp Class Reference

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 &&)
 
CbmPsdDspoperator= (const CbmPsdDsp &)
 
CbmPsdDspoperator= (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.
 

Detailed Description

Data class for PSD digital signal processing (DSP)

Version
1.0

Definition at line 30 of file CbmPsdDsp.h.

Constructor & Destructor Documentation

◆ CbmPsdDsp() [1/4]

CbmPsdDsp::CbmPsdDsp ( )

Default constructor.

Definition at line 21 of file CbmPsdDsp.cxx.

◆ CbmPsdDsp() [2/4]

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() [3/4]

CbmPsdDsp::CbmPsdDsp ( const CbmPsdDsp & other)

Copy constructor

Definition at line 93 of file CbmPsdDsp.cxx.

◆ CbmPsdDsp() [4/4]

CbmPsdDsp::CbmPsdDsp ( CbmPsdDsp && other)

Move constructor

Definition at line 119 of file CbmPsdDsp.cxx.

◆ ~CbmPsdDsp()

CbmPsdDsp::~CbmPsdDsp ( )

Destructor

Definition at line 145 of file CbmPsdDsp.cxx.

References fuFitWfm, and fuWfm.

Member Function Documentation

◆ ClassDefNV()

CbmPsdDsp::ClassDefNV ( CbmPsdDsp ,
1  )
private

◆ GetAddress()

uint32_t CbmPsdDsp::GetAddress ( ) const
inline

Address.

Returns
Unique channel address (see CbmPsdAddress)

Definition at line 75 of file CbmPsdDsp.h.

References fuAddress.

Referenced by GetModuleID(), GetSectionID(), CbmMcbm2018UnpackerAlgoPsd::MakeDigi(), and CbmPsdUnpackAlgo::makeDigi().

◆ GetClassName()

static const char * CbmPsdDsp::GetClassName ( )
inlinestatic

Class name (static)

Returns
CbmPsdDsp

Definition at line 69 of file CbmPsdDsp.h.

◆ GetEdep()

double CbmPsdDsp::GetEdep ( ) const
inline

Energy deposit.

Returns
Energy deposit

Definition at line 93 of file CbmPsdDsp.h.

References fdEdep.

Referenced by CbmPsdUnpackAlgo::makeDigi().

◆ GetModuleID()

double CbmPsdDsp::GetModuleID ( ) const
inline

Module Identifier.

Returns
Module number

Definition at line 99 of file CbmPsdDsp.h.

References GetAddress(), and CbmPsdAddress::GetModuleId().

◆ GetSectionID()

double CbmPsdDsp::GetSectionID ( ) const
inline

Section Identifier.

Returns
Section number

Definition at line 105 of file CbmPsdDsp.h.

References GetAddress(), and CbmPsdAddress::GetSectionId().

◆ GetSystem()

static ECbmModuleId CbmPsdDsp::GetSystem ( )
inlinestatic

System identifier.

Returns
System ID (ECbmModuleId)

Definition at line 111 of file CbmPsdDsp.h.

References kPsd.

◆ GetTime()

double CbmPsdDsp::GetTime ( ) const
inline

Time.

Returns
Time [ns]

Definition at line 81 of file CbmPsdDsp.h.

References fdTime.

Referenced by CbmMcbm2018UnpackerAlgoPsd::MakeDigi(), and CbmPsdUnpackAlgo::makeDigi().

◆ GetTsTime()

double CbmPsdDsp::GetTsTime ( ) const
inline

TsTime.

Returns
TsTime [ns]

Definition at line 87 of file CbmPsdDsp.h.

References fdTsTime.

◆ operator=() [1/2]

CbmPsdDsp & CbmPsdDsp::operator= ( CbmPsdDsp && other)

Move Assignment operator

Definition at line 182 of file CbmPsdDsp.cxx.

References fdAccum, fdAdcTime, fdAmpl, fdEdep, fdEdepWfm, fdFitAmpl, fdFitEdep, fdFitR2, fdFitTimeMax, fdFitZL, fdTime, fdTsTime, fuAddress, fuFitWfm, fuMinimum, fuTimeMax, fuWfm, and fuZL.

◆ operator=() [2/2]

CbmPsdDsp & CbmPsdDsp::operator= ( const CbmPsdDsp & other)

◆ serialize()

template<class Archive >
void CbmPsdDsp::serialize ( Archive & ar,
const unsigned int  )
inline

◆ SetAddress() [1/2]

void CbmPsdDsp::SetAddress ( uint32_t address)
inline

Modifiers

Definition at line 115 of file CbmPsdDsp.h.

References fuAddress.

◆ SetAddress() [2/2]

void CbmPsdDsp::SetAddress ( uint32_t moduleId,
uint32_t sectionId )

◆ SetEdep()

void CbmPsdDsp::SetEdep ( double edep)
inline

Definition at line 118 of file CbmPsdDsp.h.

References fdEdep.

◆ SetTime()

void CbmPsdDsp::SetTime ( double time)
inline

Definition at line 117 of file CbmPsdDsp.h.

References fdTime.

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

BOOST serialization interface.

Definition at line 168 of file CbmPsdDsp.h.

Member Data Documentation

◆ fdAccum

double CbmPsdDsp::fdAccum = 0

ZeroLevel from waveform [adc counts].

Definition at line 125 of file CbmPsdDsp.h.

Referenced by operator=(), operator=(), and serialize().

◆ fdAdcTime

double CbmPsdDsp::fdAdcTime = -1.

FPGA FEE Accumulator.

Definition at line 126 of file CbmPsdDsp.h.

Referenced by operator=(), operator=(), and serialize().

◆ fdAmpl

double CbmPsdDsp::fdAmpl = 0.

Energy deposition from waveform [MeV].

Definition at line 129 of file CbmPsdDsp.h.

Referenced by operator=(), operator=(), and serialize().

◆ fdEdep

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().

◆ fdEdepWfm

double CbmPsdDsp::fdEdepWfm = 0.

Adc time of measurement.

Definition at line 128 of file CbmPsdDsp.h.

Referenced by operator=(), operator=(), and serialize().

◆ fdFitAmpl

double CbmPsdDsp::fdFitAmpl = 0.

Definition at line 134 of file CbmPsdDsp.h.

Referenced by operator=(), operator=(), and serialize().

◆ fdFitEdep

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().

◆ fdFitR2

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().

◆ fdFitTimeMax

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().

◆ fdFitZL

double CbmPsdDsp::fdFitZL = 0.

Amplitude from fit of waveform [mV].

Definition at line 135 of file CbmPsdDsp.h.

Referenced by operator=(), operator=(), and serialize().

◆ fdTime

double CbmPsdDsp::fdTime = -1.

Unique channel address.

Definition at line 121 of file CbmPsdDsp.h.

Referenced by GetTime(), operator=(), operator=(), serialize(), and SetTime().

◆ fdTsTime

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().

◆ fuAddress

uint32_t CbmPsdDsp::fuAddress = 0

Definition at line 120 of file CbmPsdDsp.h.

Referenced by GetAddress(), operator=(), operator=(), serialize(), and SetAddress().

◆ fuFitWfm

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().

◆ fuMinimum

uint32_t CbmPsdDsp::fuMinimum = 0

Amplitude from waveform [mV].

Definition at line 130 of file CbmPsdDsp.h.

Referenced by operator=(), operator=(), and serialize().

◆ fuTimeMax

uint32_t CbmPsdDsp::fuTimeMax = 0

Minimum of waveform [adc samples].

Definition at line 131 of file CbmPsdDsp.h.

Referenced by operator=(), operator=(), and serialize().

◆ fuWfm

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().

◆ fuZL

uint32_t CbmPsdDsp::fuZL = 0

Energy deposition from FPGA [MeV].

Definition at line 124 of file CbmPsdDsp.h.

Referenced by operator=(), operator=(), and serialize().


The documentation for this class was generated from the following files: