#include <FastTimeDDDConstants.h>
Public Member Functions | |
int | computeCells () const |
FastTimeDDDConstants (const DDCompactView &cpv) | |
int | getCells () const |
int | getType () const |
std::pair< int, int > | getXY (int copy) const |
std::pair< int, int > | getXY (double x, double y) const |
bool | isValidCell (int copy) const |
bool | isValidXY (int ix, int iy) const |
int | quadrant (int ix, int iy) const |
int | quadrant (int copy) const |
~FastTimeDDDConstants () | |
Private Member Functions | |
std::vector< double > | getDDDArray (const std::string &, const DDsvalues_type &) const |
void | initialize (const DDCompactView &cpv) |
void | loadSpecPars (const DDFilteredView &fv) |
Private Attributes | |
double | cellSize |
int | cellType |
std::vector< int > | firstCell |
std::vector< int > | firstY |
std::vector< int > | lastCell |
std::vector< int > | lastY |
int | nCells |
int | nCols |
int | nRows |
double | rIn |
double | rOut |
this class reads the constant section of the numbering xml-file for fast timer device
Definition at line 23 of file FastTimeDDDConstants.h.
FastTimeDDDConstants::FastTimeDDDConstants | ( | const DDCompactView & | cpv | ) |
Definition at line 16 of file FastTimeDDDConstants.cc.
References initialize().
FastTimeDDDConstants::~FastTimeDDDConstants | ( | ) |
int FastTimeDDDConstants::computeCells | ( | ) | const |
Definition at line 31 of file FastTimeDDDConstants.cc.
References cellSize, filterCSVwithJSON::copy, gather_cfg::cout, rIn, rOut, and mathSSE::sqrt().
|
inline |
Definition at line 34 of file FastTimeDDDConstants.h.
References nCells.
Referenced by isValidCell().
|
private |
Definition at line 228 of file FastTimeDDDConstants.cc.
References gather_cfg::cout, DDfetch(), DDValue::doubles(), Exception, and relativeConstraints::value.
Referenced by loadSpecPars().
|
inline |
Definition at line 31 of file FastTimeDDDConstants.h.
References cellType.
Referenced by FastTimerSD::FastTimerSD().
std::pair< int, int > FastTimeDDDConstants::getXY | ( | int | copy | ) | const |
Definition at line 66 of file FastTimeDDDConstants.cc.
References firstCell, firstY, ecalpyutils::ism(), relval_2017::k, lastCell, nCells, nCols, nRows, and quadrant().
Referenced by FastTimerSD::setDetUnitId().
std::pair< int, int > FastTimeDDDConstants::getXY | ( | double | x, |
double | y | ||
) | const |
Definition at line 87 of file FastTimeDDDConstants.cc.
References cellSize, isValidXY(), nCols, and nRows.
|
private |
Definition at line 152 of file FastTimeDDDConstants.cc.
References DDFilteredView::addFilter(), equals, Exception, alcazmumu_cfi::filter, DDFilteredView::firstChild(), loadSpecPars(), convertSQLiteXML::ok, DDSpecificsFilter::setCriteria(), AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
Referenced by FastTimeDDDConstants().
bool FastTimeDDDConstants::isValidCell | ( | int | copy | ) | const |
Definition at line 120 of file FastTimeDDDConstants.cc.
References getCells(), and convertSQLiteXML::ok.
bool FastTimeDDDConstants::isValidXY | ( | int | ix, |
int | iy | ||
) | const |
Definition at line 108 of file FastTimeDDDConstants.cc.
References firstY, lastY, nCols, nRows, convertSQLiteXML::ok, and quadrant().
Referenced by getXY().
|
private |
Definition at line 174 of file FastTimeDDDConstants.cc.
References cellSize, cellType, gather_cfg::cout, dbl_to_int(), Exception, firstCell, firstY, getDDDArray(), relval_2017::k, lastCell, lastY, DDFilteredView::mergedSpecifics(), nCells, nCols, nRows, rIn, and rOut.
Referenced by initialize().
int FastTimeDDDConstants::quadrant | ( | int | ix, |
int | iy | ||
) | const |
int FastTimeDDDConstants::quadrant | ( | int | copy | ) | const |
|
private |
Definition at line 47 of file FastTimeDDDConstants.h.
Referenced by computeCells(), getXY(), and loadSpecPars().
|
private |
Definition at line 46 of file FastTimeDDDConstants.h.
Referenced by getType(), and loadSpecPars().
|
private |
Definition at line 48 of file FastTimeDDDConstants.h.
Referenced by getXY(), and loadSpecPars().
|
private |
Definition at line 48 of file FastTimeDDDConstants.h.
Referenced by getXY(), isValidXY(), and loadSpecPars().
|
private |
Definition at line 48 of file FastTimeDDDConstants.h.
Referenced by getXY(), and loadSpecPars().
|
private |
Definition at line 48 of file FastTimeDDDConstants.h.
Referenced by isValidXY(), and loadSpecPars().
|
private |
Definition at line 46 of file FastTimeDDDConstants.h.
Referenced by getCells(), getXY(), loadSpecPars(), and quadrant().
|
private |
Definition at line 46 of file FastTimeDDDConstants.h.
Referenced by getXY(), isValidXY(), loadSpecPars(), and quadrant().
|
private |
Definition at line 46 of file FastTimeDDDConstants.h.
Referenced by getXY(), isValidXY(), loadSpecPars(), and quadrant().
|
private |
Definition at line 47 of file FastTimeDDDConstants.h.
Referenced by computeCells(), and loadSpecPars().
|
private |
Definition at line 47 of file FastTimeDDDConstants.h.
Referenced by computeCells(), and loadSpecPars().