|
BmnRoot
|
#include <BmnGemRaw2Digit.h>
Public Member Functions | |
| BmnGemRaw2Digit (Int_t period, Int_t run, TString mapFileName, BmnSetup bmnSetup=kBMNSETUP) | |
| ~BmnGemRaw2Digit () | |
| BmnStatus | FillEvent (TClonesArray *adc, TClonesArray *gem) |
| BmnStatus | FillProfiles (TClonesArray *adc) |
| BmnStatus | FillNoisyChannels () |
| BmnGemRaw2Digit (Int_t period, Int_t run, TString mapFileName, BmnSetup bmnSetup=kBMNSETUP) | |
| ~BmnGemRaw2Digit () | |
| BmnStatus | FillEvent (TClonesArray *adc, TClonesArray *gem) |
| BmnStatus | FillProfiles (TClonesArray *adc) |
| BmnStatus | FillNoisyChannels () |
Public Member Functions inherited from BmnAdcProcessor | |
| BmnAdcProcessor (uint32_t period, uint32_t run, TString det, Int_t nCh, const Int_t nSmpl) | |
| virtual | ~BmnAdcProcessor () |
| BmnStatus | RecalculatePedestals () |
| BmnStatus | RecalculatePedestalsAugmented () |
| void | PrecalcEventModsOld (TClonesArray *adc) |
| void | PrecalcEventMods (TClonesArray *adc) |
| void | PrecalcEventMods_simd (TClonesArray *adc) |
| void | CalcEventMods () |
| void | CalcEventMods_simd () |
| Double_t | CalcCMS (Double_t *samples, Int_t size) |
| BmnStatus | SaveFilterInfo (TFile *cTalibFile) |
| BmnStatus | LoadFilterInfo (TFile *cTalibFile) |
| Double_t **** | GetPedData () |
| void | SetNSerials (Int_t n) |
| void | SetNChannels (Int_t n) |
| void | SetApplyThreshold (bool b) |
| bool | GetApplyThreshold () |
| Int_t | GetNSerials () |
| Int_t | GetNChannels () |
| Int_t | GetNSamples () |
| Float_t | GetPedestal (Int_t iSer, Int_t ch, Int_t smpl) |
| Float_t *** | GetPedestals () |
| Double_t *** | GetPedestalsRMS () |
| Bool_t *** | GetNoisyChipChannels () |
| uint32_t | GetPeriod () |
| uint32_t | GetRun () |
| Int_t | GetVerbose () |
| void | SetVerbose (Int_t v) |
| vector< UInt_t > & | GetSerials () |
| unordered_map< UInt_t, Int_t > & | GetSerialMap () |
| UInt_t | GetBoundaryRun (UInt_t nSmpl) |
| void | SetEvForPedestals (UInt_t v) |
| UInt_t | GetEvForPedestals () |
| void | DrawDebugHists () |
| void | DrawDebugHists2D () |
| void | ClearDebugHists () |
| void | CopyData2PedMap (TClonesArray *adc, UInt_t ev) |
| void | SetThreshold (Double_t final_thr, Double_t thr_dif=-1, Double_t n_iters=-1, Double_t cmod_cut=-1) |
| BmnAdcProcessor (uint32_t period, uint32_t run, TString det, Int_t nCh, const Int_t nSmpl) | |
| virtual | ~BmnAdcProcessor () |
| BmnStatus | RecalculatePedestals () |
| BmnStatus | RecalculatePedestalsAugmented () |
| void | PrecalcEventModsOld (TClonesArray *adc) |
| void | PrecalcEventMods (TClonesArray *adc) |
| void | PrecalcEventMods_simd (TClonesArray *adc) |
| void | CalcEventMods () |
| void | CalcEventMods_simd () |
| Double_t | CalcCMS (Double_t *samples, Int_t size) |
| BmnStatus | SaveFilterInfo (TFile *cTalibFile) |
| BmnStatus | LoadFilterInfo (TFile *cTalibFile) |
| Double_t **** | GetPedData () |
| void | SetNSerials (Int_t n) |
| void | SetNChannels (Int_t n) |
| void | SetApplyThreshold (bool b) |
| bool | GetApplyThreshold () |
| Int_t | GetNSerials () |
| Int_t | GetNChannels () |
| Int_t | GetNSamples () |
| Float_t | GetPedestal (Int_t iSer, Int_t ch, Int_t smpl) |
| Float_t *** | GetPedestals () |
| Double_t *** | GetPedestalsRMS () |
| Bool_t *** | GetNoisyChipChannels () |
| uint32_t | GetPeriod () |
| uint32_t | GetRun () |
| Int_t | GetVerbose () |
| void | SetVerbose (Int_t v) |
| vector< UInt_t > & | GetSerials () |
| unordered_map< UInt_t, Int_t > & | GetSerialMap () |
| UInt_t | GetBoundaryRun (UInt_t nSmpl) |
| void | SetEvForPedestals (UInt_t v) |
| UInt_t | GetEvForPedestals () |
| void | DrawDebugHists () |
| void | DrawDebugHists2D () |
| void | ClearDebugHists () |
| void | CopyData2PedMap (TClonesArray *adc, UInt_t ev) |
| void | SetThreshold (Double_t final_thr, Double_t thr_dif=-1, Double_t n_iters=-1, Double_t cmod_cut=-1) |
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 Member Functions inherited from BmnAdcProcessor | |
| void | InitArrays () |
| void | GrabNewSerial (UInt_t serial) |
| template<typename cl > | |
| void | GrabSerialsFromMap (unordered_map< UInt_t, cl > m) |
| template<typename SST > | |
| void | InitNoiseArrays (SST &ss) |
| template<typename SST > | |
| void | DeleteNoiseArrays (SST &ss) |
| void | InitArrays () |
| void | GrabNewSerial (UInt_t serial) |
| template<typename cl > | |
| void | GrabSerialsFromMap (unordered_map< UInt_t, cl > m) |
| template<typename SST > | |
| void | InitNoiseArrays (SST &ss) |
| template<typename SST > | |
| void | DeleteNoiseArrays (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 |
| Int_t | fNSerials |
| vector< UInt_t > | fAdcSerials |
| list of serial id for ADC-detector | |
| const Int_t | fNSamples |
| Int_t | fNChannels |
| UInt_t | fEvForPedestals |
| Double_t **** | fPedDat |
| data set to calculate pedestals | |
| BmnSetup | fSetup |
| 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, Int_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 |
Definition at line 80 of file BmnGemRaw2Digit.h.
| BmnGemRaw2Digit::BmnGemRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mapFileName, | ||
| BmnSetup | bmnSetup = kBMNSETUP |
||
| ) |
Definition at line 12 of file BmnGemRaw2Digit.cxx.
References BmnGemStripStationSet::Create(), BmnAdcProcessor::fPeriod, BmnAdcProcessor::fSetup, i, BmnAdcProcessor::InitArrays(), BmnAdcProcessor::InitNoiseArrays(), kSRCSETUP, N_CH_BUF, and ReadMap().
| BmnGemRaw2Digit::~BmnGemRaw2Digit | ( | ) |
Definition at line 190 of file BmnGemRaw2Digit.cxx.
References BmnAdcProcessor::DeleteNoiseArrays(), and i.
| BmnGemRaw2Digit::BmnGemRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mapFileName, | ||
| BmnSetup | bmnSetup = kBMNSETUP |
||
| ) |
| BmnGemRaw2Digit::~BmnGemRaw2Digit | ( | ) |
| BmnStatus BmnGemRaw2Digit::FillEvent | ( | TClonesArray * | adc, |
| TClonesArray * | gem | ||
| ) |
Definition at line 346 of file BmnGemRaw2Digit.cxx.
References BmnAdcProcessor::CalcEventMods(), BmnAdcProcessor::CalcEventMods_simd(), kBMNSUCCESS, and BmnAdcProcessor::PrecalcEventModsImp.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), and BmnDecoder::DecodeOffline().
| BmnStatus BmnGemRaw2Digit::FillEvent | ( | TClonesArray * | adc, |
| TClonesArray * | gem | ||
| ) |
| BmnStatus BmnGemRaw2Digit::FillNoisyChannels | ( | ) |
Definition at line 218 of file BmnGemRaw2Digit.cxx.
References BmnAdcProcessor::fNoisyChannels, BmnAdcProcessor::fPeriod, BmnAdcProcessor::fSigProf, BmnAdcProcessor::GetNChannels(), BmnAdcProcessor::GetNoisyChipChannels(), BmnAdcProcessor::GetNSamples(), BmnAdcProcessor::GetNSerials(), BmnAdcProcessor::GetSerials(), kBMNSUCCESS, MapStrip(), BmnRawDataDecoder::samplesGem, and BmnRawDataDecoder::threshGem.
Referenced by BmnDecoder::FillNoisyChannels().
| BmnStatus BmnGemRaw2Digit::FillNoisyChannels | ( | ) |
| BmnStatus BmnGemRaw2Digit::FillProfiles | ( | TClonesArray * | adc | ) |
Definition at line 206 of file BmnGemRaw2Digit.cxx.
References BmnAdcProcessor::CalcEventMods(), BmnAdcProcessor::CalcEventMods_simd(), kBMNSUCCESS, and BmnAdcProcessor::PrecalcEventModsImp.
Referenced by BmnDecoder::FillProfiles().
| BmnStatus BmnGemRaw2Digit::FillProfiles | ( | TClonesArray * | adc | ) |