#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 () |
Protected Attributes | |
int | m_nrecords |
threshold_map | m_thresholds |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
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(), 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, and getAlignPCLThreshold().
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 mps_fire::i.
Referenced by AlignPCLThresholdsHG::printAll(), 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 mps_fire::i.
Referenced by AlignPCLThresholdsHG::printAll(), 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(), 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, and getAlignPCLThreshold().
float AlignPCLThresholds::getMaxMoveCut | ( | const std::string & | AlignableId, |
const coordType & | type | ||
) | const |
Definition at line 98 of file AlignPCLThresholds.cc.
References a, Exception, getAlignPCLThreshold(), 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, and getAlignPCLThreshold().
|
inline |
Definition at line 24 of file AlignPCLThresholds.h.
References m_nrecords.
Referenced by AlignPCLThresholdsHG::printAll(), 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(), 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, and getAlignPCLThreshold().
|
inline |
void AlignPCLThresholds::printAll | ( | ) | const |
Definition at line 182 of file AlignPCLThresholds.cc.
References getExtraDOFCutsForAlignable(), getExtraDOFLabelForAlignable(), getNrecords(), dqmiolumiharvest::j, and m_thresholds.
|
private |
void AlignPCLThresholds::setAlignPCLThreshold | ( | const std::string & | AlignableId, |
const AlignPCLThreshold & | Threshold | ||
) |
Definition at line 9 of file AlignPCLThresholds.cc.
References m_thresholds, and HLT_2022v12_cff::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__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 52 of file AlignPCLThresholds.h.
|
friend |
Definition at line 52 of file AlignPCLThresholds.h.
|
protected |
Definition at line 50 of file AlignPCLThresholds.h.
Referenced by getNrecords(), setAlignPCLThresholds(), and setNRecords().
|
protected |
Definition at line 49 of file AlignPCLThresholds.h.
Referenced by getAlignableList(), getAlignPCLThreshold(), getThreshold_Map(), AlignPCLThresholdsHG::printAll(), printAll(), setAlignPCLThreshold(), setAlignPCLThresholds(), and size().