![]() |
Project
|
#include <InterCalib.h>
Public Member Functions | |
| InterCalib ()=default | |
| int | init () |
| void | clear (int ih=-1) |
| int | process (const gsl::span< const o2::zdc::BCRecData > &bcrec, const gsl::span< const o2::zdc::ZDCEnergy > &energy, const gsl::span< const o2::zdc::ZDCTDCData > &tdc, const gsl::span< const uint16_t > &info) |
| int | process (const InterCalibData &data) |
| int | endOfRun () |
| int | process (const char *hname, int ic) |
| void | replay (int ih, THnSparse *hs, int ic) |
| int | mini (int ih) |
| void | add (int ih, o2::dataformats::FlatHisto1D< float > &h1) |
| void | add (int ih, o2::dataformats::FlatHisto2D< float > &h2) |
| int | saveDebugHistos (const std::string fn="ZDCInterCalib.root") |
| void | setSaveDebugHistos () |
| void | setDontSaveDebugHistos () |
| void | cumulate (int ih, double tc, double t1, double t2, double t3, double t4, double w) |
| const ZDCTowerParam & | getTowerParamUpd () const |
| CcdbObjectInfo & | getCcdbObjectInfo () |
| void | setEnergyParam (const ZDCEnergyParam *param) |
| const ZDCEnergyParam * | getEnergyParam () const |
| void | setTowerParam (const ZDCTowerParam *param) |
| const ZDCTowerParam * | getTowerParam () const |
| void | setInterCalibConfig (const InterCalibConfig *param) |
| const InterCalibConfig * | getInterCalibConfig () const |
| InterCalibData & | getData () |
| void | setVerbosity (int v) |
| int | getVerbosity () const |
Static Public Member Functions | |
| static void | fcn (int &npar, double *gin, double &chi, double *par, int iflag) |
| Temporary copy of cumulated sums. | |
Static Public Attributes | |
| static constexpr int | HidZNA = 0 |
| static constexpr int | HidZPA = 1 |
| static constexpr int | HidZNC = 2 |
| static constexpr int | HidZPC = 3 |
| static constexpr int | HidZEM = 4 |
| static constexpr int | HidZNI = 5 |
| static constexpr int | HidZPI = 6 |
| static constexpr int | HidZPAX = 7 |
| static constexpr int | HidZPCX = 8 |
| static constexpr int | NH = InterCalibData::NH |
| static constexpr int | NPAR = InterCalibData::NPAR |
| static double | mAdd [NPAR][NPAR] = {0} |
| static constexpr const char * | mHUncN [2 *NH] |
| static constexpr const char * | mHUncT [2 *NH] |
| static constexpr const char * | mCUncN [NH] = {"cZNA", "cZPA", "cZNC", "cZPC", "cZEM", "cZNI", "cZPI", "cZPAX", "cZPCX"} |
| static constexpr const char * | mCUncT [NH] = {"ZNA;TC;SUM", "ZPA;TC;SUM", "ZNC;TC;SUM", "ZPC;TC;SUM", "ZEM;ZEM1;ZEM2", "ZN;ZNAC;ZNCC", "ZP;ZPAC;ZPCC", "ZPA (x cut);TC;SUM", "ZPC (x cut);TC;SUM"} |
Definition at line 34 of file InterCalib.h.
|
default |
| void InterCalib::add | ( | int | ih, |
| o2::dataformats::FlatHisto1D< float > & | h1 | ||
| ) |
Definition at line 422 of file InterCalib.cxx.
| void InterCalib::add | ( | int | ih, |
| o2::dataformats::FlatHisto2D< float > & | h2 | ||
| ) |
Definition at line 435 of file InterCalib.cxx.
| void InterCalib::clear | ( | int | ih = -1 | ) |
Definition at line 390 of file InterCalib.cxx.
| void InterCalib::cumulate | ( | int | ih, |
| double | tc, | ||
| double | t1, | ||
| double | t2, | ||
| double | t3, | ||
| double | t4, | ||
| double | w = 1 |
||
| ) |
Definition at line 447 of file InterCalib.cxx.
| int InterCalib::endOfRun | ( | ) |
Definition at line 128 of file InterCalib.cxx.
|
static |
Temporary copy of cumulated sums.
Definition at line 491 of file InterCalib.cxx.
|
inline |
Definition at line 74 of file InterCalib.h.
|
inline |
Definition at line 83 of file InterCalib.h.
|
inline |
Definition at line 77 of file InterCalib.h.
|
inline |
Definition at line 81 of file InterCalib.h.
|
inline |
Definition at line 79 of file InterCalib.h.
|
inline |
Definition at line 72 of file InterCalib.h.
|
inline |
Definition at line 86 of file InterCalib.h.
| int InterCalib::init | ( | ) |
Definition at line 34 of file InterCalib.cxx.
| int InterCalib::mini | ( | int | ih | ) |
Definition at line 504 of file InterCalib.cxx.
| int InterCalib::process | ( | const char * | hname, |
| int | ic | ||
| ) |
Definition at line 270 of file InterCalib.cxx.
| int InterCalib::process | ( | const gsl::span< const o2::zdc::BCRecData > & | bcrec, |
| const gsl::span< const o2::zdc::ZDCEnergy > & | energy, | ||
| const gsl::span< const o2::zdc::ZDCTDCData > & | tdc, | ||
| const gsl::span< const uint16_t > & | info | ||
| ) |
Definition at line 68 of file InterCalib.cxx.
| int InterCalib::process | ( | const InterCalibData & | data | ) |
Definition at line 413 of file InterCalib.cxx.
| void InterCalib::replay | ( | int | ih, |
| THnSparse * | hs, | ||
| int | ic | ||
| ) |
Definition at line 348 of file InterCalib.cxx.
| int InterCalib::saveDebugHistos | ( | const std::string | fn = "ZDCInterCalib.root" | ) |
Definition at line 600 of file InterCalib.cxx.
|
inline |
Definition at line 66 of file InterCalib.h.
|
inline |
Definition at line 76 of file InterCalib.h.
|
inline |
Definition at line 80 of file InterCalib.h.
|
inline |
Definition at line 65 of file InterCalib.h.
|
inline |
Definition at line 78 of file InterCalib.h.
|
inline |
Definition at line 85 of file InterCalib.h.
|
staticconstexpr |
Definition at line 45 of file InterCalib.h.
|
staticconstexpr |
Definition at line 41 of file InterCalib.h.
|
staticconstexpr |
Definition at line 43 of file InterCalib.h.
|
staticconstexpr |
Definition at line 46 of file InterCalib.h.
|
staticconstexpr |
Definition at line 42 of file InterCalib.h.
|
staticconstexpr |
Definition at line 48 of file InterCalib.h.
|
staticconstexpr |
Definition at line 44 of file InterCalib.h.
|
staticconstexpr |
Definition at line 49 of file InterCalib.h.
|
staticconstexpr |
Definition at line 47 of file InterCalib.h.
|
static |
Definition at line 68 of file InterCalib.h.
|
staticconstexpr |
Definition at line 93 of file InterCalib.h.
|
staticconstexpr |
Definition at line 94 of file InterCalib.h.
Definition at line 89 of file InterCalib.h.
Definition at line 91 of file InterCalib.h.
|
staticconstexpr |
Definition at line 50 of file InterCalib.h.
|
staticconstexpr |
Definition at line 51 of file InterCalib.h.