![]() |
Project
|
#include <CalibdEdxCorrection.h>
Public Member Functions | |
CalibdEdxCorrection () | |
CalibdEdxCorrection (std::string_view fileName) | |
~CalibdEdxCorrection ()=default | |
GPUd () float getCorrection(const StackID &stack | |
void | writeToFile (std::string_view fileName, std::string_view objName="ccdb_object") const |
void | loadFromFile (std::string_view fileName, std::string_view objName="ccdb_object") |
void | dumpToTree (const char *outFileName="calib_dedx.root") const |
const std::array< float, ParamSize > | getMeanParams (ChargeType charge) const |
Parameters averaged over all stacks. | |
const std::array< float, ParamSize > | getMeanParams (const GEMstack stack, ChargeType charge) const |
Parameters averaged over all sectors for a stack type. | |
float | getMeanParam (ChargeType charge, uint32_t param) const |
Single fit parameters averaged over all sectors for a stack type. | |
float | getMeanParam (const GEMstack stack, ChargeType charge, uint32_t param) const |
Single fit parameters averaged over all sectors for a stack type. | |
float | getMeanEntries (ChargeType charge) const |
Single fit parameters averaged over all sectors for a stack type. | |
float | getMeanEntries (const GEMstack stack, ChargeType charge) const |
Single fit parameters averaged over all sectors for a stack type. | |
Public Attributes | |
ChargeType | charge |
ChargeType float | tgl = 0 |
ChargeType float float | snp |
Static Public Attributes | |
static constexpr int | FitSize = 288 |
Number of fitted corrections. | |
static constexpr int | ParamSize = 8 |
Number of params per fit. | |
Definition at line 39 of file CalibdEdxCorrection.h.
|
inline |
Definition at line 46 of file CalibdEdxCorrection.h.
|
inline |
Definition at line 50 of file CalibdEdxCorrection.h.
|
default |
outFileName | name of the output file |
Definition at line 67 of file CalibdEdxCorrection.cxx.
float CalibdEdxCorrection::getMeanEntries | ( | ChargeType | charge | ) | const |
Single fit parameters averaged over all sectors for a stack type.
Definition at line 152 of file CalibdEdxCorrection.cxx.
float CalibdEdxCorrection::getMeanEntries | ( | const GEMstack | stack, |
ChargeType | charge | ||
) | const |
Single fit parameters averaged over all sectors for a stack type.
Definition at line 162 of file CalibdEdxCorrection.cxx.
float CalibdEdxCorrection::getMeanParam | ( | ChargeType | charge, |
uint32_t | param | ||
) | const |
Single fit parameters averaged over all sectors for a stack type.
Definition at line 126 of file CalibdEdxCorrection.cxx.
float CalibdEdxCorrection::getMeanParam | ( | const GEMstack | stack, |
ChargeType | charge, | ||
uint32_t | param | ||
) | const |
Single fit parameters averaged over all sectors for a stack type.
Definition at line 139 of file CalibdEdxCorrection.cxx.
const std::array< float, CalibdEdxCorrection::ParamSize > CalibdEdxCorrection::getMeanParams | ( | ChargeType | charge | ) | const |
Parameters averaged over all stacks.
Definition at line 104 of file CalibdEdxCorrection.cxx.
const std::array< float, CalibdEdxCorrection::ParamSize > CalibdEdxCorrection::getMeanParams | ( | const GEMstack | stack, |
ChargeType | charge | ||
) | const |
Parameters averaged over all sectors for a stack type.
Definition at line 115 of file CalibdEdxCorrection.cxx.
o2::tpc::CalibdEdxCorrection::GPUd | ( | ) | const & |
void CalibdEdxCorrection::loadFromFile | ( | std::string_view | fileName, |
std::string_view | objName = "ccdb_object" |
||
) |
Definition at line 51 of file CalibdEdxCorrection.cxx.
void CalibdEdxCorrection::writeToFile | ( | std::string_view | fileName, |
std::string_view | objName = "ccdb_object" |
||
) | const |
Definition at line 40 of file CalibdEdxCorrection.cxx.
ChargeType o2::tpc::CalibdEdxCorrection::charge |
Definition at line 56 of file CalibdEdxCorrection.h.
|
staticconstexpr |
Number of fitted corrections.
Definition at line 42 of file CalibdEdxCorrection.h.
|
staticconstexpr |
Number of params per fit.
Definition at line 43 of file CalibdEdxCorrection.h.
ChargeType float float o2::tpc::CalibdEdxCorrection::snp |
Definition at line 56 of file CalibdEdxCorrection.h.
ChargeType float o2::tpc::CalibdEdxCorrection::tgl = 0 |
Definition at line 56 of file CalibdEdxCorrection.h.