|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnFHCalRaw2Digit.h>
Public Member Functions | |
| BmnFHCalRaw2Digit (Int_t period, Int_t run, TString mappingFile, TString calibrationFile="") | |
| BmnFHCalRaw2Digit () | |
| ~BmnFHCalRaw2Digit () | |
| TString | GetName () |
| void | ParseConfig (TString mappingFile) |
| void | ParseCalibration (TString calibrationFile) |
| void | FillEvent (TClonesArray *data, TClonesArray *FHCaldigit) |
| 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) |
| BmnFHCalRaw2Digit (Int_t period, Int_t run, TString mappingFile, TString calibrationFile="") | |
| BmnFHCalRaw2Digit () | |
| ~BmnFHCalRaw2Digit () | |
| TString | GetName () |
| void | ParseConfig (TString mappingFile) |
| void | ParseCalibration (TString calibrationFile) |
| void | FillEvent (TClonesArray *data, TClonesArray *FHCaldigit) |
| 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 () |
Private Attributes | |
| int | fPeriodId |
| int | fRunId |
| TString | fmappingFileName |
| TString | fcalibrationFileName |
| std::unordered_map< std::pair< size_t, size_t >, uint32_t, boost::hash< std::pair< size_t, size_t > > > | fuoChannelMap |
| std::unordered_map< uint32_t, std::pair< float, float > > | fuoCalibMap |
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 BmnFHCalRaw2Digit.h.
| BmnFHCalRaw2Digit::BmnFHCalRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mappingFile, | ||
| TString | calibrationFile = "" ) |
Definition at line 20 of file BmnFHCalRaw2Digit.cxx.
References WfmProcessor::WfmProcessor(), TString::Data(), fcalibrationFileName, fmappingFileName, fPeriodId, fRunId, ParseCalibration(), and ParseConfig().
Referenced by GetAddressFromBoard().
| BmnFHCalRaw2Digit::BmnFHCalRaw2Digit | ( | ) |
Definition at line 13 of file BmnFHCalRaw2Digit.cxx.
References WfmProcessor::WfmProcessor(), fPeriodId, and fRunId.
| BmnFHCalRaw2Digit::~BmnFHCalRaw2Digit | ( | ) |
Definition at line 243 of file BmnFHCalRaw2Digit.cxx.
| BmnFHCalRaw2Digit::BmnFHCalRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mappingFile, | ||
| TString | calibrationFile = "" ) |
| BmnFHCalRaw2Digit::BmnFHCalRaw2Digit | ( | ) |
| BmnFHCalRaw2Digit::~BmnFHCalRaw2Digit | ( | ) |
| void BmnFHCalRaw2Digit::FillEvent | ( | TClonesArray * | data, |
| TClonesArray * | FHCaldigit ) |
Definition at line 204 of file BmnFHCalRaw2Digit.cxx.
References TObjArray::At(), BmnDigiContainerTemplate::fAmpl, WfmProcessor::fdigiPars, BmnDigiContainerTemplate::fIntegral, GetAddressFromBoard(), GetCalibPairFromAddress(), BmnADCDigit< IntType >::GetChannel(), TObjArray::GetEntriesFast(), BmnADCDigit< IntType >::GetSerial(), BmnAbstractDigit::GetSignal(), BmnADCDigit< IntType >::GetValue(), i, WfmProcessor::ProcessWfm(), BmnFHCalDigi::reset(), BmnAbstractDigit::SetAddress(), and BmnAbstractDigit::SetSignal().
| void BmnFHCalRaw2Digit::FillEvent | ( | TClonesArray * | data, |
| TClonesArray * | FHCaldigit ) |
| std::optional< uint32_t > BmnFHCalRaw2Digit::GetAddressFromBoard | ( | std::pair< size_t, size_t > | key | ) |
Definition at line 182 of file BmnFHCalRaw2Digit.cxx.
References fuoChannelMap.
Referenced by FillEvent().
| std::optional< uint32_t > BmnFHCalRaw2Digit::GetAddressFromBoard | ( | std::pair< size_t, size_t > | key | ) |
References BmnFHCalRaw2Digit(), fcalibrationFileName, fmappingFileName, fPeriodId, fRunId, fuoCalibMap, and fuoChannelMap.
| std::optional< std::pair< float, float > > BmnFHCalRaw2Digit::GetCalibPairFromAddress | ( | uint32_t | address | ) |
Definition at line 193 of file BmnFHCalRaw2Digit.cxx.
References fuoCalibMap.
Referenced by FillEvent(), and light_yield().
| std::optional< std::pair< float, float > > BmnFHCalRaw2Digit::GetCalibPairFromAddress | ( | uint32_t | address | ) |
|
inline |
Definition at line 38 of file BmnFHCalRaw2Digit.h.
References fuoChannelMap.
Referenced by ParseCalibration().
|
inline |
Definition at line 38 of file BmnFHCalRaw2Digit.h.
References fuoChannelMap.
|
inline |
Definition at line 37 of file BmnFHCalRaw2Digit.h.
References WfmProcessor::fdigiPars.
Referenced by calibrate_wfm().
|
inline |
Definition at line 37 of file BmnFHCalRaw2Digit.h.
References WfmProcessor::fdigiPars.
|
inline |
Definition at line 31 of file BmnFHCalRaw2Digit.h.
|
inline |
Definition at line 31 of file BmnFHCalRaw2Digit.h.
| void BmnFHCalRaw2Digit::ParseCalibration | ( | TString | calibrationFile | ) |
Definition at line 81 of file BmnFHCalRaw2Digit.cxx.
References TString::Data(), WfmProcessor::fAZik, WfmProcessor::fdigiPars, WfmProcessor::fSignalLength, fuoCalibMap, GetChannelMap(), BmnFHCalAddress::GetModuleId(), BmnFHCalAddress::GetSectionId(), i, PsdSignalFitting::PronyFitter::Initialize(), PsdSignalFitting::PronyFitter::MakeInvHarmoMatrix(), and PsdSignalFitting::PronyFitter::SetExternalHarmonics().
Referenced by BmnFHCalRaw2Digit(), calibrate_wfm(), and light_yield().
| void BmnFHCalRaw2Digit::ParseCalibration | ( | TString | calibrationFile | ) |
| void BmnFHCalRaw2Digit::ParseConfig | ( | TString | mappingFile | ) |
Definition at line 33 of file BmnFHCalRaw2Digit.cxx.
References TString::Data(), fuoChannelMap, and BmnFHCalAddress::GetAddress().
Referenced by BmnFHCalRaw2Digit(), and fhcal_profile().
| void BmnFHCalRaw2Digit::ParseConfig | ( | TString | mappingFile | ) |
| void BmnFHCalRaw2Digit::print | ( | ) |
Definition at line 8 of file BmnFHCalRaw2Digit.cxx.
| void BmnFHCalRaw2Digit::print | ( | ) |
|
private |
Definition at line 46 of file BmnFHCalRaw2Digit.h.
Referenced by BmnFHCalRaw2Digit(), and GetAddressFromBoard().
|
private |
Definition at line 45 of file BmnFHCalRaw2Digit.h.
Referenced by BmnFHCalRaw2Digit(), and GetAddressFromBoard().
|
private |
Definition at line 43 of file BmnFHCalRaw2Digit.h.
Referenced by BmnFHCalRaw2Digit(), BmnFHCalRaw2Digit(), and GetAddressFromBoard().
|
private |
Definition at line 44 of file BmnFHCalRaw2Digit.h.
Referenced by BmnFHCalRaw2Digit(), BmnFHCalRaw2Digit(), and GetAddressFromBoard().
|
private |
Definition at line 50 of file BmnFHCalRaw2Digit.h.
Referenced by GetAddressFromBoard(), GetCalibPairFromAddress(), and ParseCalibration().
|
private |
Definition at line 49 of file BmnFHCalRaw2Digit.h.
Referenced by GetAddressFromBoard(), GetChannelMap(), and ParseConfig().