|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnCscRaw2Digit.h>
Private Member Functions | |
| void | ProcessAdc (TClonesArray *csc, Bool_t doFill) |
| BmnStatus | ReadMapFile () |
| BmnStatus | ReadLocalMap (string &FileName, int8_t *Layers, int16_t *Strips, int8_t &iLay, uint16_t &ChanShift) |
| BmnStatus | ReadLocalMaps () |
| void | MatchMaps () |
| void | MapStrip (BmnCscMapping *cscM, uint16_t iCh, uint16_t iSmpl, int8_t &layer, int16_t &strip) |
| void | ProcessAdc (TClonesArray *csc, Bool_t doFill) |
| BmnStatus | ReadMapFile () |
| BmnStatus | ReadLocalMap (string &FileName, int8_t *Layers, int16_t *Strips, int8_t &iLay, uint16_t &ChanShift) |
| BmnStatus | ReadLocalMaps () |
| void | MatchMaps () |
| void | MapStrip (BmnCscMapping *cscM, uint16_t iCh, uint16_t iSmpl, int8_t &layer, int16_t &strip) |
Private Attributes | |
| unique_ptr< BmnCSCStationSet > | fCscStationSet |
| TString | fMapFileName |
| unordered_map< UInt_t, InChanMapCSC > | fOuterMap |
| map< LocalCSCMapKey, LocalCSC > | fLocalMapsMap |
| Int_t | fEventId |
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 52 of file BmnCscRaw2Digit.h.
| BmnCscRaw2Digit::BmnCscRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | MapFileName, | ||
| BmnSetup | bmnSetup = kBMNSETUP ) |
Definition at line 10 of file BmnCscRaw2Digit.cxx.
References BmnAdcProcessor::BmnAdcProcessor(), ADC32_N_SAMPLES, ADC_N_CHANNELS, fCscStationSet, fMapFileName, fOuterMap, BmnAdcProcessor::fPeriod, BmnAdcProcessor::fSetup, BmnAdcProcessor::GrabSerialsFromMap(), BmnAdcProcessor::InitChipNoiseArrays(), BmnAdcProcessor::InitStripNoiseArrays(), MatchMaps(), ReadLocalMaps(), and ReadMapFile().
Referenced by MapStrip().
| BmnCscRaw2Digit::~BmnCscRaw2Digit | ( | ) |
Definition at line 24 of file BmnCscRaw2Digit.cxx.
References BmnAdcProcessor::DeleteStripNoiseArrays(), fCscStationSet, and fOuterMap.
| BmnCscRaw2Digit::BmnCscRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | MapFileName, | ||
| BmnSetup | bmnSetup = kBMNSETUP ) |
References kBMNSETUP.
| BmnCscRaw2Digit::~BmnCscRaw2Digit | ( | ) |
| BmnStatus BmnCscRaw2Digit::FillEvent | ( | TClonesArray * | adc, |
| TClonesArray * | csc ) |
Definition at line 209 of file BmnCscRaw2Digit.cxx.
References BmnAdcProcessor::CalcEventMods(), BmnAdcProcessor::CalcEventMods_simd(), kBMNSUCCESS, BmnAdcProcessor::PrecalcEventModsImp, and ProcessAdc().
| BmnStatus BmnCscRaw2Digit::FillEvent | ( | TClonesArray * | adc, |
| TClonesArray * | csc ) |
| BmnStatus BmnCscRaw2Digit::FillNoisyChannels | ( | ) |
Definition at line 234 of file BmnCscRaw2Digit.cxx.
References TMath::Abs(), fCscStationSet, BmnAdcProcessor::fNoisyChannels, fOuterMap, BmnAdcProcessor::fSigProf, TH1::GetBinContent(), BmnAdcProcessor::GetNChannels(), BmnAdcProcessor::GetNoisyChipChannels(), BmnAdcProcessor::GetNSamples(), BmnAdcProcessor::GetNSerials(), BmnAdcProcessor::GetSerials(), kBMNSUCCESS, MapStrip(), BmnCscMapping::module, BmnRawDataDecoder::samplesCsc, BmnCscMapping::station, and BmnRawDataDecoder::threshCsc.
| BmnStatus BmnCscRaw2Digit::FillNoisyChannels | ( | ) |
References fCscStationSet, fEventId, fLocalMapsMap, fMapFileName, and fOuterMap.
| BmnStatus BmnCscRaw2Digit::FillProfiles | ( | TClonesArray * | adc | ) |
Definition at line 221 of file BmnCscRaw2Digit.cxx.
References BmnAdcProcessor::CalcEventMods(), BmnAdcProcessor::CalcEventMods_simd(), kBMNSUCCESS, BmnAdcProcessor::PrecalcEventModsImp, and ProcessAdc().
| BmnStatus BmnCscRaw2Digit::FillProfiles | ( | TClonesArray * | adc | ) |
|
inlineprivate |
Definition at line 331 of file BmnCscRaw2Digit.cxx.
References LocalCSC::channel2layer, LocalCSC::channel2strip, BmnAdcProcessor::GetNSamples(), and BmnCscMapping::local_map.
Referenced by FillNoisyChannels(), and ProcessAdc().
|
inlineprivate |
|
private |
Definition at line 191 of file BmnCscRaw2Digit.cxx.
References fLocalMapsMap, fOuterMap, and m.
Referenced by BmnCscRaw2Digit().
|
private |
|
private |
Definition at line 341 of file BmnCscRaw2Digit.cxx.
References BmnAdcProcessor::fAdc, BmnAdcProcessor::fCMode, BmnAdcProcessor::FinalThr, fOuterMap, BmnAdcProcessor::fPedVal, BmnAdcProcessor::fSigProf, BmnAdcProcessor::fSMode, BmnAdcProcessor::fSpecThreshMap, BmnAdcProcessor::GetApplyThreshold(), TObjArray::GetEntriesFast(), BmnAdcProcessor::GetNChannels(), BmnAdcProcessor::GetNoisyChipChannels(), BmnAdcProcessor::GetNSamples(), BmnAdcProcessor::GetNSerials(), BmnAdcProcessor::GetPedestalsRMS(), BmnAdcProcessor::GetSerials(), MapStrip(), TMath::Max(), BmnCscMapping::module, BmnStripDigit::SetIsGoodDigit(), BmnCscMapping::station, and thr.
Referenced by FillEvent(), and FillProfiles().
|
private |
|
private |
Definition at line 143 of file BmnCscRaw2Digit.cxx.
References kBMNERROR, and kBMNSUCCESS.
Referenced by ReadLocalMaps().
|
private |
|
private |
Definition at line 167 of file BmnCscRaw2Digit.cxx.
References LocalCSC::channel2layer, LocalCSC::channel2strip, BmnAdcProcessor::fDetName, fLocalMapsMap, BmnAdcProcessor::fPeriod, kBMNERROR, kBMNSUCCESS, N_CSC_CHANNELS, ReadLocalMap(), and LocalCSC::shift_map.
Referenced by BmnCscRaw2Digit().
|
private |
|
private |
Definition at line 32 of file BmnCscRaw2Digit.cxx.
References BmnCscMapping::chan_shift, BmnCscMapping::channel_high, BmnCscMapping::channel_low, TString::Data(), fLocalMapsMap, fMapFileName, fOuterMap, BmnAdcProcessor::fPeriod, BmnAdcProcessor::fRun, BmnAdcProcessor::fSpecThreshMap, BmnAdcProcessor::GetNSamples(), kBMNERROR, kBMNSUCCESS, BmnCscMapping::layer, BmnCscMapping::module, BmnCscMapping::prefix, BmnCscMapping::serial, BmnAdcProcessor::SetThreshold(), LocalCSC::shift_map, BmnCscMapping::station, and thr.
Referenced by BmnCscRaw2Digit().
|
private |
|
private |
Definition at line 63 of file BmnCscRaw2Digit.h.
Referenced by BmnCscRaw2Digit(), ~BmnCscRaw2Digit(), and FillNoisyChannels().
|
private |
Definition at line 69 of file BmnCscRaw2Digit.h.
Referenced by FillNoisyChannels().
|
private |
Definition at line 68 of file BmnCscRaw2Digit.h.
Referenced by FillNoisyChannels(), MatchMaps(), ReadLocalMaps(), and ReadMapFile().
|
private |
Definition at line 64 of file BmnCscRaw2Digit.h.
Referenced by BmnCscRaw2Digit(), FillNoisyChannels(), and ReadMapFile().
|
private |
Definition at line 65 of file BmnCscRaw2Digit.h.
Referenced by BmnCscRaw2Digit(), ~BmnCscRaw2Digit(), FillNoisyChannels(), MatchMaps(), ProcessAdc(), and ReadMapFile().