![]() |
ATLAS Offline Software
|
helper to convert from CaloCellContainer to CaloCompactCellContainer and back More...
#include <CaloCompactCellTool.h>
Public Types | |
enum | KNOWN_VERSIONS { VERSION_400 = 400, VERSION_500 = 500, VERSION_501 = 501, VERSION_502 = 502, VERSION_503 = 503, VERSION_504 = 504, VERSION_LATEST = -1 } |
Public Member Functions | |
CaloCompactCellTool () | |
StatusCode | getTransient (const CaloCompactCellContainer &theCompactContainer, CaloCellContainer *theCellContainer) |
StatusCode | getPersistent (const CaloCellContainer &theCellContainer, CaloCompactCellContainer *theCompactContainer, const SG::ThinningDecisionBase *dec, int theVersion=VERSION_LATEST) |
Private Member Functions | |
int | getLogCompact (const double &x, const double &log_x0, const double &log_x1, const int &n) |
double | unpackLog (const int &log_x, const double &log_x0, const double &log_x1, const int &n) |
int | getCubRootCompact (const double &x, const double &cbrt_x1, const int &n) |
double | unpackCubRoot (const int &cbrt_x, const double &cbrt_x1, const int &n) |
helper to convert from CaloCellContainer to CaloCompactCellContainer and back
Definition at line 28 of file CaloCompactCellTool.h.
Enumerator | |
---|---|
VERSION_400 | |
VERSION_500 | |
VERSION_501 | |
VERSION_502 | |
VERSION_503 | |
VERSION_504 | |
VERSION_LATEST |
Definition at line 31 of file CaloCompactCellTool.h.
CaloCompactCellTool::CaloCompactCellTool | ( | ) |
Definition at line 28 of file CaloCompactCellTool.cxx.
|
inlineprivate |
Definition at line 69 of file CaloCompactCellTool.h.
StatusCode CaloCompactCellTool::getPersistent | ( | const CaloCellContainer & | theCellContainer, |
CaloCompactCellContainer * | theCompactContainer, | ||
const SG::ThinningDecisionBase * | dec, | ||
int | theVersion = VERSION_LATEST |
||
) |
Definition at line 66 of file CaloCompactCellTool.cxx.
StatusCode CaloCompactCellTool::getTransient | ( | const CaloCompactCellContainer & | theCompactContainer, |
CaloCellContainer * | theCellContainer | ||
) |
Definition at line 30 of file CaloCompactCellTool.cxx.