|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnGemRaw2Digit.h>
Classes | |
| struct | BmnGemMap |
| struct | GemMapLine |
Public Types | |
| typedef std::array< BmnGemMap, N_CH_BUF > | StripMapArray |
| typedef map< int32_t, GemMapLine * > | InChanMap |
| typedef std::array< BmnGemMap, N_CH_BUF > | StripMapArray |
| typedef map< int32_t, GemMapLine * > | InChanMap |
Private Types | |
| typedef map< uint8_t, int32_t > | MapLayer2MaxStrip |
| typedef map< uint8_t, int32_t > | MapLayer2MaxStrip |
Private Member Functions | |
| void | MapStrip (GemMapLine *gemM, UInt_t ch, Int_t iSmpl, Int_t &lay, Int_t &strip) |
| void | ProcessAdc (TClonesArray *silicon, Bool_t doFill) |
| Uses raw ADC data to either fill profile histograms or produce output digits. | |
| BmnStatus | ReadMap (TString parName, StripMapArray &m, Int_t lay, Int_t mod) |
| BmnStatus | ReadLocalMap (TString parName, StripMapArray &m, Int_t lay, Int_t mod) |
| BmnStatus | ReadGlobalMap (TString FileName) |
| void | InitStripRanges (unique_ptr< BmnGemStripStationSet > &ss) |
| void | MapStrip (GemMapLine *gemM, UInt_t ch, Int_t iSmpl, Int_t &lay, Int_t &strip) |
| void | ProcessAdc (TClonesArray *silicon, Bool_t doFill) |
| Uses raw ADC data to either fill profile histograms or produce output digits. | |
| BmnStatus | ReadMap (TString parName, StripMapArray &m, Int_t lay, Int_t mod) |
| BmnStatus | ReadLocalMap (TString parName, StripMapArray &m, Int_t lay, Int_t mod) |
| BmnStatus | ReadGlobalMap (TString FileName) |
| void | InitStripRanges (unique_ptr< BmnGemStripStationSet > &ss) |
Private Attributes | |
| unique_ptr< BmnGemStripStationSet > | fGemStationSet |
| Int_t | niterped = 3 |
| Float_t | thrped = 35 |
| Float_t | thrpedcsc = 80 |
| unordered_map< uint32_t, InChanMap > | fOuterMap |
| StripMapArray | fSmall |
| StripMapArray | fMid |
| vector< StripMapArray > | fBigHot |
| vector< StripMapArray > | fBig |
| TString | fMapFileName |
| map< KeySM, MapLayer2MaxStrip > | fSM2MapMaxStrip |
Additional Inherited Members | |
| Static Public Member Functions inherited from BmnAdcProcessor | |
| static BmnStatus | DrawFilterInfo (BmnCalibData *data) |
| static BmnStatus | DrawFilterInfo (BmnCalibData *data) |
| Public Attributes inherited from BmnAdcProcessor | |
| void(BmnAdcProcessor::* | PrecalcEventModsImp )(TClonesArray *adc) |
| Protected Types inherited from BmnAdcProcessor | |
| typedef std::tuple< uint16_t, uint16_t, uint8_t > | KeySML |
| typedef std::tuple< uint16_t, uint16_t > | KeySM |
| typedef vector< Int_t > | StripMap |
| typedef std::tuple< uint16_t, uint16_t, uint8_t > | KeySML |
| typedef std::tuple< uint16_t, uint16_t > | KeySM |
| typedef vector< Int_t > | StripMap |
| Protected Member Functions inherited from BmnAdcProcessor | |
| void | InitChipNoiseArrays () |
| void | GrabNewSerial (UInt_t serial) |
| template<typename cl> | |
| void | GrabSerialsFromMap (unordered_map< UInt_t, cl > m) |
| template<typename SST> | |
| void | InitStripNoiseArrays (SST &ss) |
| template<typename SST> | |
| void | DeleteStripNoiseArrays (SST &ss) |
| void | InitChipNoiseArrays () |
| void | GrabNewSerial (UInt_t serial) |
| template<typename cl> | |
| void | GrabSerialsFromMap (unordered_map< UInt_t, cl > m) |
| template<typename SST> | |
| void | InitStripNoiseArrays (SST &ss) |
| template<typename SST> | |
| void | DeleteStripNoiseArrays (SST &ss) |
| Protected Attributes inherited from BmnAdcProcessor | |
| Int_t | fVerbose |
| Int_t | drawCnt |
| Int_t | drawCnt2d |
| Double_t | thrDif |
| Double_t | FinalThr |
| Int_t | fNIters |
| Double_t | cmodcut |
| Double_t | thrMax |
| vector< uint32_t > | fAdcSerials |
| list of serial id for ADC-detector | |
| const uint16_t | fNSamples |
| const uint16_t | fNChannels |
| uint32_t | fEvForPedestals |
| Double_t **** | fPedDat |
| data set to calculate pedestals | |
| bool | fApplyThreshold |
| map< PlMapKey, Double_t > | fSpecThreshMap |
| Double_t | workTime_cpu = 0.0 |
| Double_t | workTime_real = 0.0 |
| Double_t | workTime_cpu_p = 0.0 |
| Double_t | workTime_real_p = 0.0 |
| unordered_map< UInt_t, size_t > | fSerMap |
| ADC serials map. | |
| TH1F **** | fSigProf |
| Bool_t **** | fNoisyChannels |
| Float_t *** | fAdc |
| Double_t *** | fPedRms |
| Float_t *** | fPedVal |
| Double_t *** | fPedValTemp |
| Float_t ** | fCMode |
| Float_t ** | fCMode0 |
| Float_t ** | fSMode |
| Float_t ** | fSMode0 |
| vector< vector< TH1 * > > | hPedLine |
| vector< vector< TH1 * > > | hCMode |
| vector< vector< TH1 * > > | hSMode |
| vector< vector< TH1 * > > | hPedLineSi |
| vector< TH1 * > | hPedSi |
| vector< TH1 * > | hCModeSi |
| vector< TH1 * > | hSModeSi |
| Bool_t *** | fNoisyChipChannels |
| Float_t ** | fNvals |
| UInt_t *** | fNvalsCMod |
| UInt_t *** | fNvalsADC |
| Double_t *** | fPedCMod |
| Double_t *** | fPedCMod2 |
| Double_t ** | fSumRmsV |
| TString | fDetName |
| uint32_t | fPeriod |
| uint32_t | fRun |
| BmnSetup | fSetup |
Definition at line 16 of file BmnGemRaw2Digit.h.
| typedef map<int32_t, GemMapLine*> BmnGemRaw2Digit::InChanMap |
Definition at line 81 of file BmnGemRaw2Digit.h.
| typedef map<int32_t, GemMapLine*> BmnGemRaw2Digit::InChanMap |
Definition at line 81 of file BmnGemRaw2Digit.h.
|
private |
Definition at line 98 of file BmnGemRaw2Digit.h.
|
private |
Definition at line 98 of file BmnGemRaw2Digit.h.
| typedef std::array<BmnGemMap, N_CH_BUF> BmnGemRaw2Digit::StripMapArray |
Definition at line 45 of file BmnGemRaw2Digit.h.
| typedef std::array<BmnGemMap, N_CH_BUF> BmnGemRaw2Digit::StripMapArray |
Definition at line 45 of file BmnGemRaw2Digit.h.
| BmnGemRaw2Digit::BmnGemRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mapFileName, | ||
| BmnSetup | bmnSetup = kBMNSETUP ) |
Definition at line 14 of file BmnGemRaw2Digit.cxx.
References BmnAdcProcessor::BmnAdcProcessor(), ADC32_N_SAMPLES, ADC_N_CHANNELS, fBig, fBigHot, fGemStationSet, fMapFileName, fMid, BmnAdcProcessor::fPeriod, BmnAdcProcessor::fSetup, fSmall, BmnAdcProcessor::InitChipNoiseArrays(), BmnAdcProcessor::InitStripNoiseArrays(), InitStripRanges(), kSRCSETUP, ReadGlobalMap(), ReadLocalMap(), and ReadMap().
Referenced by InitStripRanges().
| BmnGemRaw2Digit::~BmnGemRaw2Digit | ( | ) |
Definition at line 247 of file BmnGemRaw2Digit.cxx.
References BmnAdcProcessor::DeleteStripNoiseArrays(), fGemStationSet, and fOuterMap.
| BmnGemRaw2Digit::BmnGemRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mapFileName, | ||
| BmnSetup | bmnSetup = kBMNSETUP ) |
References kBMNSETUP.
| BmnGemRaw2Digit::~BmnGemRaw2Digit | ( | ) |
| BmnStatus BmnGemRaw2Digit::FillEvent | ( | TClonesArray * | adc, |
| TClonesArray * | gem ) |
Definition at line 446 of file BmnGemRaw2Digit.cxx.
References BmnAdcProcessor::CalcEventMods(), BmnAdcProcessor::CalcEventMods_simd(), kBMNSUCCESS, BmnAdcProcessor::PrecalcEventModsImp, and ProcessAdc().
| BmnStatus BmnGemRaw2Digit::FillEvent | ( | TClonesArray * | adc, |
| TClonesArray * | gem ) |
| BmnStatus BmnGemRaw2Digit::FillNoisyChannels | ( | ) |
Definition at line 267 of file BmnGemRaw2Digit.cxx.
References TMath::Abs(), fGemStationSet, BmnAdcProcessor::fNoisyChannels, fOuterMap, BmnAdcProcessor::fPeriod, BmnAdcProcessor::fSigProf, fSM2MapMaxStrip, TH1::GetBinContent(), BmnAdcProcessor::GetNChannels(), BmnAdcProcessor::GetNoisyChipChannels(), BmnAdcProcessor::GetNSamples(), BmnAdcProcessor::GetNSerials(), BmnAdcProcessor::GetSerials(), kBMNSUCCESS, MapStrip(), BmnGemRaw2Digit::GemMapLine::Module, BmnRawDataDecoder::samplesGem, BmnGemRaw2Digit::GemMapLine::Station, and BmnRawDataDecoder::threshGem.
| BmnStatus BmnGemRaw2Digit::FillNoisyChannels | ( | ) |
| BmnStatus BmnGemRaw2Digit::FillProfiles | ( | TClonesArray * | adc | ) |
Definition at line 255 of file BmnGemRaw2Digit.cxx.
References BmnAdcProcessor::CalcEventMods(), BmnAdcProcessor::CalcEventMods_simd(), kBMNSUCCESS, BmnAdcProcessor::PrecalcEventModsImp, and ProcessAdc().
| BmnStatus BmnGemRaw2Digit::FillProfiles | ( | TClonesArray * | adc | ) |
|
private |
Definition at line 65 of file BmnGemRaw2Digit.cxx.
References fSM2MapMaxStrip.
Referenced by BmnGemRaw2Digit().
|
private |
|
inlineprivate |
Definition at line 458 of file BmnGemRaw2Digit.cxx.
References BmnGemRaw2Digit::GemMapLine::Channel_shift, BmnAdcProcessor::GetNSamples(), and BmnGemRaw2Digit::GemMapLine::Map_arr_ptr.
Referenced by FillNoisyChannels(), and ProcessAdc().
|
inlineprivate |
|
private |
| silicon | raw ADC signals |
| doFill | true - fill profile histograms, false - produce digits |
Definition at line 386 of file BmnGemRaw2Digit.cxx.
References BmnAdcProcessor::fAdc, BmnAdcProcessor::fCMode, BmnAdcProcessor::FinalThr, BmnAdcProcessor::fNChannels, fOuterMap, BmnAdcProcessor::fPedVal, BmnAdcProcessor::fSigProf, fSM2MapMaxStrip, BmnAdcProcessor::fSMode, BmnAdcProcessor::fSpecThreshMap, BmnAdcProcessor::GetApplyThreshold(), TObjArray::GetEntriesFast(), BmnAdcProcessor::GetNoisyChipChannels(), BmnAdcProcessor::GetNSamples(), BmnAdcProcessor::GetNSerials(), BmnAdcProcessor::GetPedestalsRMS(), BmnAdcProcessor::GetSerials(), MapStrip(), TMath::Max(), BmnGemRaw2Digit::GemMapLine::Module, BmnStripDigit::SetIsGoodDigit(), BmnGemRaw2Digit::GemMapLine::Station, and thr.
Referenced by FillEvent(), and FillProfiles().
|
private |
| silicon | raw ADC signals |
| doFill | true - fill profile histograms, false - produce digits |
Definition at line 81 of file BmnGemRaw2Digit.cxx.
References BmnGemRaw2Digit::GemMapLine::Ch_hi, BmnGemRaw2Digit::GemMapLine::Ch_lo, BmnGemRaw2Digit::GemMapLine::Channel_shift, TString::Data(), fBig, fBigHot, BmnAdcProcessor::fDetName, fMapFileName, fMid, fOuterMap, BmnAdcProcessor::fPeriod, BmnAdcProcessor::fRun, fSmall, BmnAdcProcessor::fSpecThreshMap, BmnGemRaw2Digit::GemMapLine::GEM_id, BmnAdcProcessor::GetNSamples(), BmnAdcProcessor::GrabNewSerial(), kBMNERROR, kBMNSUCCESS, BmnGemRaw2Digit::GemMapLine::Map_arr_ptr, BmnGemRaw2Digit::GemMapLine::Module, BmnGemRaw2Digit::GemMapLine::Serial, BmnAdcProcessor::SetThreshold(), BmnGemRaw2Digit::GemMapLine::Side, BmnGemRaw2Digit::GemMapLine::Station, thr, BmnGemRaw2Digit::GemMapLine::Type, and BmnGemRaw2Digit::GemMapLine::Zone.
Referenced by BmnGemRaw2Digit().
|
private |
Definition at line 205 of file BmnGemRaw2Digit.cxx.
References TString::Data(), kBMNERROR, kBMNSUCCESS, and m.
Referenced by BmnGemRaw2Digit().
|
private |
References m.
|
private |
Definition at line 225 of file BmnGemRaw2Digit.cxx.
References UniDetectorParameter::GetDetectorParameter(), BmnAdcProcessor::GetPeriod(), BmnAdcProcessor::GetRun(), UniDetectorParameter::GetValue(), i, kBMNSUCCESS, m, IIValue::value1, and IIValue::value2.
Referenced by BmnGemRaw2Digit().
|
private |
References m.
|
private |
Definition at line 95 of file BmnGemRaw2Digit.h.
Referenced by BmnGemRaw2Digit(), and ReadGlobalMap().
|
private |
Definition at line 94 of file BmnGemRaw2Digit.h.
Referenced by BmnGemRaw2Digit(), and ReadGlobalMap().
|
private |
Definition at line 84 of file BmnGemRaw2Digit.h.
Referenced by BmnGemRaw2Digit(), ~BmnGemRaw2Digit(), and FillNoisyChannels().
|
private |
Definition at line 96 of file BmnGemRaw2Digit.h.
Referenced by BmnGemRaw2Digit(), and ReadGlobalMap().
|
private |
Definition at line 93 of file BmnGemRaw2Digit.h.
Referenced by BmnGemRaw2Digit(), and ReadGlobalMap().
|
private |
Definition at line 90 of file BmnGemRaw2Digit.h.
Referenced by ~BmnGemRaw2Digit(), FillNoisyChannels(), ProcessAdc(), and ReadGlobalMap().
|
private |
Definition at line 99 of file BmnGemRaw2Digit.h.
Referenced by FillNoisyChannels(), InitStripRanges(), and ProcessAdc().
|
private |
Definition at line 92 of file BmnGemRaw2Digit.h.
Referenced by BmnGemRaw2Digit(), and ReadGlobalMap().
|
private |
Definition at line 86 of file BmnGemRaw2Digit.h.
|
private |
Definition at line 87 of file BmnGemRaw2Digit.h.
|
private |
Definition at line 88 of file BmnGemRaw2Digit.h.