|
BmnRoot
|
#include <BmnHodoRaw2Digit.h>
Public Member Functions | |
| BmnHodoRaw2Digit (int period, int run, const std::string &mappingFile="", const std::string &calibrationFile="") | |
| BmnHodoRaw2Digit () | |
| ~BmnHodoRaw2Digit () | |
| TString | GetName () |
| void | ParseConfig (const std::string &file) |
| void | ParseCalibration (const std::string &file) |
| void | ParseINLcorrections () |
| uint32_t | correctINL (uint32_t time, std::pair< size_t, size_t > key) |
| void | fillEvent (TClonesArray *tdc_data, TClonesArray *adc_data, TClonesArray *Hododigit) |
| void | print () |
| digiPars | GetDigiPars () |
| auto | GetChannelMap () |
| std::optional< std::pair< float, float > > | GetCalibPairFromAddress (uint32_t address) |
| std::optional< uint32_t > | GetAddressFromBoard (std::pair< size_t, size_t > key) |
| BmnHodoRaw2Digit (int period, int run, const std::string &mappingFile="", const std::string &calibrationFile="") | |
| BmnHodoRaw2Digit () | |
| ~BmnHodoRaw2Digit () | |
| TString | GetName () |
| void | ParseConfig (const std::string &file) |
| void | ParseCalibration (const std::string &file) |
| void | ParseINLcorrections () |
| uint32_t | correctINL (uint32_t time, std::pair< size_t, size_t > key) |
| void | fillEvent (TClonesArray *tdc_data, TClonesArray *adc_data, TClonesArray *Hododigit) |
| void | print () |
| digiPars | GetDigiPars () |
| auto | GetChannelMap () |
| std::optional< std::pair< float, float > > | GetCalibPairFromAddress (uint32_t address) |
| std::optional< uint32_t > | GetAddressFromBoard (std::pair< size_t, size_t > key) |
Public Member Functions inherited from WfmProcessor | |
| WfmProcessor () | |
| virtual | ~WfmProcessor () |
| WfmProcessor () | |
| virtual | ~WfmProcessor () |
Additional Inherited Members | |
Protected Member Functions inherited from WfmProcessor | |
| void | ProcessWfm (std::vector< float > &wfm, BmnDigiContainerTemplate *digi) |
| void | ProcessWfm (std::vector< float > &wfm, BmnDigiContainerTemplate *digi) |
Protected Attributes inherited from WfmProcessor | |
| struct WfmProcessor::digiPars | fdigiPars |
| int | fSignalLength |
| std::complex< float > ** | fAZik |
Definition at line 22 of file BmnHodoRaw2Digit.h.
| BmnHodoRaw2Digit::BmnHodoRaw2Digit | ( | int | period, |
| int | run, | ||
| const std::string & | mappingFile = "", |
||
| const std::string & | calibrationFile = "" |
||
| ) |
Definition at line 36 of file BmnHodoRaw2Digit.cxx.
References GetName(), ParseCalibration(), and ParseConfig().
| BmnHodoRaw2Digit::BmnHodoRaw2Digit | ( | ) |
Definition at line 24 of file BmnHodoRaw2Digit.cxx.
| BmnHodoRaw2Digit::~BmnHodoRaw2Digit | ( | ) |
Definition at line 368 of file BmnHodoRaw2Digit.cxx.
References GetName().
| BmnHodoRaw2Digit::BmnHodoRaw2Digit | ( | int | period, |
| int | run, | ||
| const std::string & | mappingFile = "", |
||
| const std::string & | calibrationFile = "" |
||
| ) |
| BmnHodoRaw2Digit::BmnHodoRaw2Digit | ( | ) |
| BmnHodoRaw2Digit::~BmnHodoRaw2Digit | ( | ) |
| uint32_t BmnHodoRaw2Digit::correctINL | ( | uint32_t | time, |
| std::pair< size_t, size_t > | key | ||
| ) |
Definition at line 228 of file BmnHodoRaw2Digit.cxx.
References GetName().
Referenced by fillEvent().
| uint32_t BmnHodoRaw2Digit::correctINL | ( | uint32_t | time, |
| std::pair< size_t, size_t > | key | ||
| ) |
| void BmnHodoRaw2Digit::fillEvent | ( | TClonesArray * | tdc_data, |
| TClonesArray * | adc_data, | ||
| TClonesArray * | Hododigit | ||
| ) |
Definition at line 250 of file BmnHodoRaw2Digit.cxx.
References ADC_CLOCK_TQDC16VS, correctINL(), BmnDigiContainerTemplate::fAmpl, BmnHodoDigi::fCrosstalk, WfmProcessor::fdigiPars, BmnDigiContainerTemplate::fFitAmpl, BmnDigiContainerTemplate::fFitR2, BmnDigiContainerTemplate::fFitTimeMax, BmnDigiContainerTemplate::fFitWfm, BmnDigiContainerTemplate::fIntegral, BmnHodoDigi::fR2history, BmnHodoDigi::fSignalIntegral, BmnDigiContainerTemplate::fTimeMax, BmnDigiContainerTemplate::fWfm, BmnDigiContainerTemplate::fZL, WfmProcessor::digiPars::gateBegin, WfmProcessor::digiPars::gateEnd, GetAddressFromBoard(), GetCalibPairFromAddress(), BmnADCDigit::GetChannel(), BmnTDCDigit::GetChannel(), GetName(), BmnADCDigit::GetNSamples(), RLDeconvolutor::getR2(), BmnADCDigit::GetSerial(), BmnTDCDigit::GetSerial(), BmnADCDigit::GetShortValue(), BmnAbstractDigit::GetSignal(), RLDeconvolutor::getSignalDecomposition(), RLDeconvolutor::getSignalInfo(), BmnTDCDigit::GetSlot(), BmnTQDCADCDigit::GetSlot(), BmnTDCDigit::GetValue(), WfmProcessor::digiPars::isWriteWfm, WfmProcessor::ProcessWfm(), BmnHodoDigi::reset(), RLDeconvolutor::runDeconvolution(), BmnAbstractDigit::SetAddress(), BmnHodoDigit::SetIsSaturated(), BmnAbstractDigit::SetSignal(), BmnAbstractDigit::SetTime(), TDC_BIN_COUNT, TDC_CLOCK, and WfmProcessor::digiPars::threshold.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), and BmnDecoder::DecodeOffline().
| void BmnHodoRaw2Digit::fillEvent | ( | TClonesArray * | tdc_data, |
| TClonesArray * | adc_data, | ||
| TClonesArray * | Hododigit | ||
| ) |
| std::optional< uint32_t > BmnHodoRaw2Digit::GetAddressFromBoard | ( | std::pair< size_t, size_t > | key | ) |
Definition at line 217 of file BmnHodoRaw2Digit.cxx.
References GetName().
Referenced by fillEvent().
| std::optional< uint32_t > BmnHodoRaw2Digit::GetAddressFromBoard | ( | std::pair< size_t, size_t > | key | ) |
| std::optional< std::pair< float, float > > BmnHodoRaw2Digit::GetCalibPairFromAddress | ( | uint32_t | address | ) |
Definition at line 239 of file BmnHodoRaw2Digit.cxx.
References GetName().
Referenced by fillEvent(), and simple_analysis().
| std::optional< std::pair< float, float > > BmnHodoRaw2Digit::GetCalibPairFromAddress | ( | uint32_t | address | ) |
|
inline |
Definition at line 40 of file BmnHodoRaw2Digit.h.
|
inline |
Definition at line 40 of file BmnHodoRaw2Digit.h.
|
inline |
Definition at line 39 of file BmnHodoRaw2Digit.h.
References WfmProcessor::fdigiPars.
Referenced by calibrate_wfm().
|
inline |
Definition at line 39 of file BmnHodoRaw2Digit.h.
References WfmProcessor::fdigiPars.
|
inline |
Definition at line 31 of file BmnHodoRaw2Digit.h.
Referenced by BmnHodoRaw2Digit(), correctINL(), fillEvent(), GetAddressFromBoard(), GetCalibPairFromAddress(), ParseCalibration(), ParseConfig(), ParseINLcorrections(), print(), and ~BmnHodoRaw2Digit().
|
inline |
Definition at line 31 of file BmnHodoRaw2Digit.h.
| void BmnHodoRaw2Digit::ParseCalibration | ( | const std::string & | file | ) |
Definition at line 89 of file BmnHodoRaw2Digit.cxx.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::at(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::contains(), WfmProcessor::digiPars::doInvert, WfmProcessor::fAZik, WfmProcessor::fdigiPars, WfmProcessor::fSignalLength, WfmProcessor::digiPars::gateBegin, WfmProcessor::digiPars::gateEnd, BmnHodoAddress::GetAddress(), GetName(), WfmProcessor::digiPars::harmonics, i, PsdSignalFitting::PronyFitter::Initialize(), WfmProcessor::digiPars::isfit, WfmProcessor::digiPars::isWriteWfm, log(), PsdSignalFitting::PronyFitter::MakeInvHarmoMatrix(), ParseINLcorrections(), PsdSignalFitting::PronyFitter::SetExternalHarmonics(), WfmProcessor::digiPars::threshold, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::value().
Referenced by BmnHodoRaw2Digit(), calibrate_wfm(), and simple_analysis().
| void BmnHodoRaw2Digit::ParseCalibration | ( | const std::string & | file | ) |
| void BmnHodoRaw2Digit::ParseConfig | ( | const std::string & | file | ) |
Definition at line 56 of file BmnHodoRaw2Digit.cxx.
References BmnHodoAddress::GetAddress(), GetName(), and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::value().
Referenced by BmnHodoRaw2Digit().
| void BmnHodoRaw2Digit::ParseConfig | ( | const std::string & | file | ) |
| void BmnHodoRaw2Digit::ParseINLcorrections | ( | ) |
Definition at line 184 of file BmnHodoRaw2Digit.cxx.
References GetName(), and TQDC16_CHANNEL_COUNT.
Referenced by ParseCalibration().
| void BmnHodoRaw2Digit::ParseINLcorrections | ( | ) |
| void BmnHodoRaw2Digit::print | ( | ) |
Definition at line 19 of file BmnHodoRaw2Digit.cxx.
References GetName().
Referenced by BmnDecoder::InitMappers().
| void BmnHodoRaw2Digit::print | ( | ) |