#include <AlignPCLThresholds.h>
Public Types | |
enum | coordType { X, Y, Z, theta_X, theta_Y, theta_Z, extra_DOF, endOfTypes } |
typedef std::map< std::string, AlignPCLThreshold > | threshold_map |
Public Member Functions | |
AlignPCLThresholds () | |
std::vector< std::string > | getAlignableList () const |
AlignPCLThreshold | getAlignPCLThreshold (const std::string &AlignableId) const |
AlignPCLThreshold & | getAlignPCLThreshold (const std::string &AlignableId) |
float | getCut (const std::string &AlignableId, const coordType &type) const |
std::array< float, 6 > | getCut (const std::string &AlignableId) const |
std::array< float, 4 > | getExtraDOFCutsForAlignable (const std::string &AlignableId, const unsigned int i) const |
std::string | getExtraDOFLabelForAlignable (const std::string &AlignableId, const unsigned int i) const |
float | getMaxErrorCut (const std::string &AlignableId, const coordType &type) const |
std::array< float, 6 > | getMaxErrorCut (const std::string &AlignableId) const |
float | getMaxMoveCut (const std::string &AlignableId, const coordType &type) const |
std::array< float, 6 > | getMaxMoveCut (const std::string &AlignableId) const |
const int & | getNrecords () const |
float | getSigCut (const std::string &AlignableId, const coordType &type) const |
std::array< float, 6 > | getSigCut (const std::string &AlignableId) const |
const threshold_map & | getThreshold_Map () const |
void | printAll () const |
void | setAlignPCLThreshold (const std::string &AlignableId, const AlignPCLThreshold &Threshold) |
void | setAlignPCLThresholds (const int &Nrecords, const threshold_map &Thresholds) |
void | setNRecords (const int &Nrecords) |
double | size () const |
virtual | ~AlignPCLThresholds () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
int | m_nrecords |
threshold_map | m_thresholds |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 11 of file AlignPCLThresholds.h.
typedef std::map<std::string, AlignPCLThreshold> AlignPCLThresholds::threshold_map |
Definition at line 13 of file AlignPCLThresholds.h.
Enumerator | |
---|---|
X | |
Y | |
Z | |
theta_X | |
theta_Y | |
theta_Z | |
extra_DOF | |
endOfTypes |
Definition at line 14 of file AlignPCLThresholds.h.
|
inline |
|
inlinevirtual |
Definition at line 17 of file AlignPCLThresholds.h.
std::vector< std::string > AlignPCLThresholds::getAlignableList | ( | ) | const |
AlignPCLThreshold AlignPCLThresholds::getAlignPCLThreshold | ( | const std::string & | AlignableId | ) | const |
Definition at line 23 of file AlignPCLThresholds.cc.
References Exception, and m_thresholds.
Referenced by getCut(), getExtraDOFCutsForAlignable(), getExtraDOFLabelForAlignable(), getMaxErrorCut(), getMaxMoveCut(), and getSigCut().
AlignPCLThreshold & AlignPCLThresholds::getAlignPCLThreshold | ( | const std::string & | AlignableId | ) |
float AlignPCLThresholds::getCut | ( | const std::string & | AlignableId, |
const coordType & | type | ||
) | const |
Definition at line 68 of file AlignPCLThresholds.cc.
References a, Exception, getAlignPCLThreshold(), AlignPCLThreshold::getThetaXcut(), AlignPCLThreshold::getThetaYcut(), AlignPCLThreshold::getThetaZcut(), AlignPCLThreshold::getXcut(), AlignPCLThreshold::getYcut(), AlignPCLThreshold::getZcut(), theta_X, theta_Y, theta_Z, X, Y, and Z.
std::array< float, 6 > AlignPCLThresholds::getCut | ( | const std::string & | AlignableId | ) | const |
Definition at line 92 of file AlignPCLThresholds.cc.
References a, getAlignPCLThreshold(), AlignPCLThreshold::getThetaXcut(), AlignPCLThreshold::getThetaYcut(), AlignPCLThreshold::getThetaZcut(), AlignPCLThreshold::getXcut(), AlignPCLThreshold::getYcut(), and AlignPCLThreshold::getZcut().
std::array< float, 4 > AlignPCLThresholds::getExtraDOFCutsForAlignable | ( | const std::string & | AlignableId, |
const unsigned int | i | ||
) | const |
Definition at line 168 of file AlignPCLThresholds.cc.
References a, getAlignPCLThreshold(), and AlignPCLThreshold::getExtraDOFCuts().
Referenced by edmtest::AlignPCLThresholdsReader::analyze(), and printAll().
std::string AlignPCLThresholds::getExtraDOFLabelForAlignable | ( | const std::string & | AlignableId, |
const unsigned int | i | ||
) | const |
Definition at line 175 of file AlignPCLThresholds.cc.
References a, getAlignPCLThreshold(), and AlignPCLThreshold::getExtraDOFLabel().
Referenced by edmtest::AlignPCLThresholdsReader::analyze(), and printAll().
float AlignPCLThresholds::getMaxErrorCut | ( | const std::string & | AlignableId, |
const coordType & | type | ||
) | const |
Definition at line 133 of file AlignPCLThresholds.cc.
References a, Exception, getAlignPCLThreshold(), AlignPCLThreshold::getErrorThetaXcut(), AlignPCLThreshold::getErrorThetaYcut(), AlignPCLThreshold::getErrorThetaZcut(), AlignPCLThreshold::getErrorXcut(), AlignPCLThreshold::getErrorYcut(), AlignPCLThreshold::getErrorZcut(), theta_X, theta_Y, theta_Z, X, Y, and Z.
std::array< float, 6 > AlignPCLThresholds::getMaxErrorCut | ( | const std::string & | AlignableId | ) | const |
Definition at line 157 of file AlignPCLThresholds.cc.
References a, getAlignPCLThreshold(), AlignPCLThreshold::getErrorThetaXcut(), AlignPCLThreshold::getErrorThetaYcut(), AlignPCLThreshold::getErrorThetaZcut(), AlignPCLThreshold::getErrorXcut(), AlignPCLThreshold::getErrorYcut(), and AlignPCLThreshold::getErrorZcut().
float AlignPCLThresholds::getMaxMoveCut | ( | const std::string & | AlignableId, |
const coordType & | type | ||
) | const |
Definition at line 98 of file AlignPCLThresholds.cc.
References a, Exception, getAlignPCLThreshold(), AlignPCLThreshold::getMaxMoveThetaXcut(), AlignPCLThreshold::getMaxMoveThetaYcut(), AlignPCLThreshold::getMaxMoveThetaZcut(), AlignPCLThreshold::getMaxMoveXcut(), AlignPCLThreshold::getMaxMoveYcut(), AlignPCLThreshold::getMaxMoveZcut(), theta_X, theta_Y, theta_Z, X, Y, and Z.
std::array< float, 6 > AlignPCLThresholds::getMaxMoveCut | ( | const std::string & | AlignableId | ) | const |
Definition at line 122 of file AlignPCLThresholds.cc.
References a, getAlignPCLThreshold(), AlignPCLThreshold::getMaxMoveThetaXcut(), AlignPCLThreshold::getMaxMoveThetaYcut(), AlignPCLThreshold::getMaxMoveThetaZcut(), AlignPCLThreshold::getMaxMoveXcut(), AlignPCLThreshold::getMaxMoveYcut(), and AlignPCLThreshold::getMaxMoveZcut().
|
inline |
Definition at line 24 of file AlignPCLThresholds.h.
References m_nrecords.
Referenced by edmtest::AlignPCLThresholdsReader::analyze(), and printAll().
float AlignPCLThresholds::getSigCut | ( | const std::string & | AlignableId, |
const coordType & | type | ||
) | const |
Definition at line 38 of file AlignPCLThresholds.cc.
References a, Exception, getAlignPCLThreshold(), AlignPCLThreshold::getSigThetaXcut(), AlignPCLThreshold::getSigThetaYcut(), AlignPCLThreshold::getSigThetaZcut(), AlignPCLThreshold::getSigXcut(), AlignPCLThreshold::getSigYcut(), AlignPCLThreshold::getSigZcut(), theta_X, theta_Y, theta_Z, X, Y, and Z.
std::array< float, 6 > AlignPCLThresholds::getSigCut | ( | const std::string & | AlignableId | ) | const |
Definition at line 62 of file AlignPCLThresholds.cc.
References a, getAlignPCLThreshold(), AlignPCLThreshold::getSigThetaXcut(), AlignPCLThreshold::getSigThetaYcut(), AlignPCLThreshold::getSigThetaZcut(), AlignPCLThreshold::getSigXcut(), AlignPCLThreshold::getSigYcut(), and AlignPCLThreshold::getSigZcut().
|
inline |
Definition at line 23 of file AlignPCLThresholds.h.
References m_thresholds.
Referenced by edmtest::AlignPCLThresholdsReader::analyze().
void AlignPCLThresholds::printAll | ( | ) | const |
Definition at line 182 of file AlignPCLThresholds.cc.
References getExtraDOFCutsForAlignable(), getExtraDOFLabelForAlignable(), getNrecords(), dqmiolumiharvest::j, and m_thresholds.
Referenced by edmtest::AlignPCLThresholdsReader::analyze().
|
private |
void AlignPCLThresholds::setAlignPCLThreshold | ( | const std::string & | AlignableId, |
const AlignPCLThreshold & | Threshold | ||
) |
void AlignPCLThresholds::setAlignPCLThresholds | ( | const int & | Nrecords, |
const threshold_map & | Thresholds | ||
) |
Definition at line 14 of file AlignPCLThresholds.cc.
References AlignPCLThresholds(), m_nrecords, and m_thresholds.
void AlignPCLThresholds::setNRecords | ( | const int & | Nrecords | ) |
|
inline |
Definition at line 43 of file AlignPCLThresholds.h.
References m_thresholds.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and edmtest::AlignPCLThresholdsReader::analyze().
|
friend |
Definition at line 52 of file AlignPCLThresholds.h.
|
friend |
Definition at line 52 of file AlignPCLThresholds.h.
|
private |
Definition at line 50 of file AlignPCLThresholds.h.
Referenced by getNrecords(), setAlignPCLThresholds(), and setNRecords().
|
private |
Definition at line 49 of file AlignPCLThresholds.h.
Referenced by getAlignableList(), getAlignPCLThreshold(), getThreshold_Map(), printAll(), setAlignPCLThreshold(), setAlignPCLThresholds(), and size().