|
BmnRoot
|
#include <BmnZDCRaw2Digit.h>
Public Member Functions | |
| BmnZDCRaw2Digit (Int_t period, Int_t run, TString mappingFile, TString calibrationFile="", TString MaxPositionFile="") | |
| BmnZDCRaw2Digit () | |
| virtual | ~BmnZDCRaw2Digit () |
| void | print () |
| void | setParStep (Float_t p) |
| Float_t | getParStep () |
| void | setParStart (Float_t p) |
| Float_t | getParStart () |
| void | setThreshold (Float_t t) |
| Float_t | getThreshold () |
| void | setEnergy (Float_t e) |
| Float_t | getEnergy () |
| void | setError (Float_t s) |
| Float_t | getError () |
| void | setNorm (Float_t n) |
| Float_t | getNorm () |
| void | setType (Int_t t) |
| Int_t | getType () |
| void | setMinSamples (Int_t m) |
| Int_t | getMinSamples () |
| void | setPedSamples (Int_t p) |
| Int_t | getPedSamples () |
| void | setUseMeanXY (Int_t u) |
| Int_t | getUseMeanXY () |
| void | setLogFunction (Int_t u) |
| Int_t | getUseLogFunction () |
| void | fillEvent (TClonesArray *data, TClonesArray *zdcdigit) |
| void | fillAmplitudes (TClonesArray *data) |
| int | fillCalibrateCluster (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t clsize) |
| int | fillCalibrateNumbers (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t ncells, Int_t *numbers) |
| int | fillCalibrateAll (TClonesArray *data, Float_t x, Float_t y, Float_t e) |
| void | fillSampleProfiles (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t clsize) |
| void | fillSampleProfilesAll (TClonesArray *data, Float_t x, Float_t y, Float_t e) |
| void | calibrate () |
| void | drawzdc (int nohist=0) |
| void | drawprof () |
| void | drawtest () |
| float | getAmp (int zch) |
| float | getLogAmp (int lch) |
| int | getLogId (int lch) |
| int | getLogChan (int lch) |
| BmnZDCRaw2Digit (Int_t period, Int_t run, TString mappingFile, TString calibrationFile="", TString MaxPositionFile="") | |
| BmnZDCRaw2Digit () | |
| virtual | ~BmnZDCRaw2Digit () |
| void | print () |
| void | setParStep (Float_t p) |
| Float_t | getParStep () |
| void | setParStart (Float_t p) |
| Float_t | getParStart () |
| void | setThreshold (Float_t t) |
| Float_t | getThreshold () |
| void | setEnergy (Float_t e) |
| Float_t | getEnergy () |
| void | setError (Float_t s) |
| Float_t | getError () |
| void | setNorm (Float_t n) |
| Float_t | getNorm () |
| void | setType (Int_t t) |
| Int_t | getType () |
| void | setMinSamples (Int_t m) |
| Int_t | getMinSamples () |
| void | setPedSamples (Int_t p) |
| Int_t | getPedSamples () |
| void | setUseMeanXY (Int_t u) |
| Int_t | getUseMeanXY () |
| void | setLogFunction (Int_t u) |
| Int_t | getUseLogFunction () |
| void | fillEvent (TClonesArray *data, TClonesArray *zdcdigit) |
| void | fillAmplitudes (TClonesArray *data) |
| int | fillCalibrateCluster (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t clsize) |
| int | fillCalibrateNumbers (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t ncells, Int_t *numbers) |
| int | fillCalibrateAll (TClonesArray *data, Float_t x, Float_t y, Float_t e) |
| void | fillSampleProfiles (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t clsize) |
| void | fillSampleProfilesAll (TClonesArray *data, Float_t x, Float_t y, Float_t e) |
| void | calibrate () |
| void | drawzdc (int nohist=0) |
| void | drawprof () |
| void | drawtest () |
| float | getAmp (int zch) |
| float | getLogAmp (int lch) |
| int | getLogId (int lch) |
| int | getLogChan (int lch) |
Definition at line 41 of file BmnZDCRaw2Digit.h.
| BmnZDCRaw2Digit::BmnZDCRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mappingFile, | ||
| TString | calibrationFile = "", |
||
| TString | MaxPositionFile = "" |
||
| ) |
Definition at line 30 of file BmnZDCRaw2Digit.cxx.
References Bmn_ZDC_map_element::adc_chan, Bmn_ZDC_map_element::chan, UniRun::GetBeamParticle(), UniRun::GetRun(), i, Bmn_ZDC_map_element::id, Bmn_ZDC_map_element::ix, Bmn_ZDC_map_element::iy, MAX_CHANNELS, MAX_EVENTS, MAX_LOG_CHANNELS, PRINT_ZDC_CALIBRATION, Bmn_ZDC_map_element::size, Bmn_ZDC_map_element::used, Bmn_ZDC_map_element::x, and Bmn_ZDC_map_element::y.
| BmnZDCRaw2Digit::BmnZDCRaw2Digit | ( | ) |
Definition at line 20 of file BmnZDCRaw2Digit.cxx.
References i.
|
virtual |
Definition at line 292 of file BmnZDCRaw2Digit.cxx.
References i.
| BmnZDCRaw2Digit::BmnZDCRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mappingFile, | ||
| TString | calibrationFile = "", |
||
| TString | MaxPositionFile = "" |
||
| ) |
| BmnZDCRaw2Digit::BmnZDCRaw2Digit | ( | ) |
|
virtual |
| void BmnZDCRaw2Digit::calibrate | ( | ) |
Definition at line 1101 of file BmnZDCRaw2Digit.cxx.
References i, and MAX_CHANNELS.
| void BmnZDCRaw2Digit::calibrate | ( | ) |
| void BmnZDCRaw2Digit::drawprof | ( | ) |
Definition at line 1538 of file BmnZDCRaw2Digit.cxx.
References i.
| void BmnZDCRaw2Digit::drawprof | ( | ) |
| void BmnZDCRaw2Digit::drawtest | ( | ) |
Definition at line 1580 of file BmnZDCRaw2Digit.cxx.
References i.
| void BmnZDCRaw2Digit::drawtest | ( | ) |
| void BmnZDCRaw2Digit::drawzdc | ( | int | nohist = 0 | ) |
Definition at line 1472 of file BmnZDCRaw2Digit.cxx.
References i, MAX_CHANNELS, Bmn_ZDC_map_element::size, Bmn_ZDC_map_element::x, and Bmn_ZDC_map_element::y.
| void BmnZDCRaw2Digit::drawzdc | ( | int | nohist = 0 | ) |
| void BmnZDCRaw2Digit::fillAmplitudes | ( | TClonesArray * | data | ) |
Definition at line 664 of file BmnZDCRaw2Digit.cxx.
References Bmn_ZDC_map_element::adc_chan, Bmn_ZDC_map_element::chan, BmnADCDigit::GetChannel(), BmnADCDigit::GetNSamples(), BmnADCDigit::GetSerial(), BmnADCDigit::GetUShortValue(), i, Bmn_ZDC_map_element::id, MAX_CHANNELS, and MAX_LOG_CHANNELS.
| void BmnZDCRaw2Digit::fillAmplitudes | ( | TClonesArray * | data | ) |
| int BmnZDCRaw2Digit::fillCalibrateAll | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e | ||
| ) |
Definition at line 996 of file BmnZDCRaw2Digit.cxx.
References Bmn_ZDC_map_element::adc_chan, Bmn_ZDC_map_element::chan, BmnADCDigit::GetChannel(), BmnADCDigit::GetNSamples(), BmnADCDigit::GetSerial(), BmnADCDigit::GetUShortValue(), i, Bmn_ZDC_map_element::id, MAX_CHANNELS, MAX_EVENTS, and MAX_LOG_CHANNELS.
| int BmnZDCRaw2Digit::fillCalibrateAll | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e | ||
| ) |
| int BmnZDCRaw2Digit::fillCalibrateCluster | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e, | ||
| Int_t | clsize | ||
| ) |
Definition at line 707 of file BmnZDCRaw2Digit.cxx.
References Bmn_ZDC_map_element::adc_chan, Bmn_ZDC_map_element::chan, BmnADCDigit::GetChannel(), BmnADCDigit::GetNSamples(), BmnADCDigit::GetSerial(), BmnADCDigit::GetUShortValue(), i, MAX_CHANNELS, MAX_EVENTS, MAX_LOG_CHANNELS, Bmn_ZDC_map_element::size, Bmn_ZDC_map_element::x, and Bmn_ZDC_map_element::y.
| int BmnZDCRaw2Digit::fillCalibrateCluster | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e, | ||
| Int_t | clsize | ||
| ) |
| int BmnZDCRaw2Digit::fillCalibrateNumbers | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e, | ||
| Int_t | ncells, | ||
| Int_t * | numbers | ||
| ) |
Definition at line 890 of file BmnZDCRaw2Digit.cxx.
References Bmn_ZDC_map_element::adc_chan, Bmn_ZDC_map_element::chan, BmnADCDigit::GetChannel(), BmnADCDigit::GetNSamples(), BmnADCDigit::GetSerial(), BmnADCDigit::GetUShortValue(), i, Bmn_ZDC_map_element::id, MAX_CHANNELS, MAX_EVENTS, MAX_LOG_CHANNELS, Bmn_ZDC_map_element::x, and Bmn_ZDC_map_element::y.
| int BmnZDCRaw2Digit::fillCalibrateNumbers | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e, | ||
| Int_t | ncells, | ||
| Int_t * | numbers | ||
| ) |
| void BmnZDCRaw2Digit::fillEvent | ( | TClonesArray * | data, |
| TClonesArray * | zdcdigit | ||
| ) |
Definition at line 604 of file BmnZDCRaw2Digit.cxx.
References Bmn_ZDC_map_element::adc_chan, Bmn_ZDC_map_element::chan, BmnADCDigit::GetChannel(), BmnADCDigit::GetNSamples(), BmnADCDigit::GetSerial(), BmnADCDigit::GetUShortValue(), i, MAX_CHANNELS, and MAX_LOG_CHANNELS.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), and BmnDecoder::DecodeOffline().
| void BmnZDCRaw2Digit::fillEvent | ( | TClonesArray * | data, |
| TClonesArray * | zdcdigit | ||
| ) |
| void BmnZDCRaw2Digit::fillSampleProfiles | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e, | ||
| Int_t | clsize | ||
| ) |
Definition at line 329 of file BmnZDCRaw2Digit.cxx.
References Bmn_ZDC_map_element::adc_chan, Bmn_ZDC_map_element::chan, BmnADCDigit::GetChannel(), BmnADCDigit::GetNSamples(), BmnADCDigit::GetSerial(), BmnADCDigit::GetUShortValue(), i, MAX_CHANNELS, MAX_LOG_CHANNELS, Bmn_ZDC_map_element::size, Bmn_ZDC_map_element::x, and Bmn_ZDC_map_element::y.
| void BmnZDCRaw2Digit::fillSampleProfiles | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e, | ||
| Int_t | clsize | ||
| ) |
| void BmnZDCRaw2Digit::fillSampleProfilesAll | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e | ||
| ) |
Definition at line 497 of file BmnZDCRaw2Digit.cxx.
References Bmn_ZDC_map_element::adc_chan, Bmn_ZDC_map_element::chan, BmnADCDigit::GetChannel(), BmnADCDigit::GetNSamples(), BmnADCDigit::GetSerial(), BmnADCDigit::GetUShortValue(), i, MAX_CHANNELS, MAX_EVENTS, MAX_LOG_CHANNELS, Bmn_ZDC_map_element::x, and Bmn_ZDC_map_element::y.
| void BmnZDCRaw2Digit::fillSampleProfilesAll | ( | TClonesArray * | data, |
| Float_t | x, | ||
| Float_t | y, | ||
| Float_t | e | ||
| ) |
|
inline |
Definition at line 106 of file BmnZDCRaw2Digit.h.
References MAX_CHANNELS.
|
inline |
Definition at line 106 of file BmnZDCRaw2Digit.h.
References MAX_CHANNELS.
|
inline |
Definition at line 61 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 61 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 64 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 64 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 108 of file BmnZDCRaw2Digit.h.
References MAX_LOG_CHANNELS.
|
inline |
Definition at line 108 of file BmnZDCRaw2Digit.h.
References MAX_LOG_CHANNELS.
|
inline |
Definition at line 112 of file BmnZDCRaw2Digit.h.
References MAX_LOG_CHANNELS.
|
inline |
Definition at line 112 of file BmnZDCRaw2Digit.h.
References MAX_LOG_CHANNELS.
|
inline |
Definition at line 110 of file BmnZDCRaw2Digit.h.
References MAX_LOG_CHANNELS.
|
inline |
Definition at line 110 of file BmnZDCRaw2Digit.h.
References MAX_LOG_CHANNELS.
|
inline |
Definition at line 73 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 73 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 67 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 67 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 55 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 55 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 52 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 52 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 76 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 76 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 58 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 58 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 70 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 70 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 82 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 82 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 79 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 79 of file BmnZDCRaw2Digit.h.
| void BmnZDCRaw2Digit::print | ( | ) |
Definition at line 320 of file BmnZDCRaw2Digit.cxx.
References i.
| void BmnZDCRaw2Digit::print | ( | ) |
|
inline |
Definition at line 60 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 60 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 63 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 63 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 81 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 81 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 72 of file BmnZDCRaw2Digit.h.
References m.
|
inline |
Definition at line 72 of file BmnZDCRaw2Digit.h.
References m.
|
inline |
Definition at line 66 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 66 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 54 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 54 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 51 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 51 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 75 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 75 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 57 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 57 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 69 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 69 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 78 of file BmnZDCRaw2Digit.h.
|
inline |
Definition at line 78 of file BmnZDCRaw2Digit.h.