#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) |
AlignPCLThreshold | getAlignPCLThreshold (const std::string &AlignableId) const |
std::array< float, 6 > | getCut (const std::string &AlignableId) const |
float | getCut (const std::string &AlignableId, const coordType &type) 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 |
std::array< float, 6 > | getMaxErrorCut (const std::string &AlignableId) const |
float | getMaxErrorCut (const std::string &AlignableId, const coordType &type) const |
std::array< float, 6 > | getMaxMoveCut (const std::string &AlignableId) const |
float | getMaxMoveCut (const std::string &AlignableId, const coordType &type) const |
const int & | getNrecords () const |
std::array< float, 6 > | getSigCut (const std::string &AlignableId) const |
float | getSigCut (const std::string &AlignableId, const coordType &type) 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 | ) |
Definition at line 34 of file AlignPCLThresholds.cc.
References m_thresholds.
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().
std::array< float, 6 > AlignPCLThresholds::getCut | ( | const std::string & | AlignableId | ) | const |
Definition at line 92 of file AlignPCLThresholds.cc.
References a, and getAlignPCLThreshold().
float AlignPCLThresholds::getCut | ( | const std::string & | AlignableId, |
const coordType & | type | ||
) | const |
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 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 printAll().
std::array< float, 6 > AlignPCLThresholds::getMaxErrorCut | ( | const std::string & | AlignableId | ) | const |
float AlignPCLThresholds::getMaxErrorCut | ( | const std::string & | AlignableId, |
const coordType & | type | ||
) | const |
std::array< float, 6 > AlignPCLThresholds::getMaxMoveCut | ( | const std::string & | AlignableId | ) | const |
float AlignPCLThresholds::getMaxMoveCut | ( | const std::string & | AlignableId, |
const coordType & | type | ||
) | const |
|
inline |
Definition at line 24 of file AlignPCLThresholds.h.
References m_nrecords.
Referenced by printAll().
std::array< float, 6 > AlignPCLThresholds::getSigCut | ( | const std::string & | AlignableId | ) | const |
Definition at line 62 of file AlignPCLThresholds.cc.
References a, and getAlignPCLThreshold().
float AlignPCLThresholds::getSigCut | ( | const std::string & | AlignableId, |
const coordType & | type | ||
) | const |
|
inline |
void AlignPCLThresholds::printAll | ( | ) | const |
Definition at line 182 of file AlignPCLThresholds.cc.
References getExtraDOFCutsForAlignable(), getExtraDOFLabelForAlignable(), getNrecords(), dqmiolumiharvest::j, and m_thresholds.
Referenced by AlignPCLThresholdsWriter::analyze().
|
private |
void AlignPCLThresholds::setAlignPCLThreshold | ( | const std::string & | AlignableId, |
const AlignPCLThreshold & | Threshold | ||
) |
Definition at line 9 of file AlignPCLThresholds.cc.
References m_thresholds, and HLT_2018_cff::Threshold.
Referenced by AlignPCLThresholdsWriter::analyze().
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 | ) |
Definition at line 20 of file AlignPCLThresholds.cc.
References m_nrecords.
Referenced by AlignPCLThresholdsWriter::analyze().
|
inline |
Definition at line 43 of file AlignPCLThresholds.h.
References m_thresholds.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and AlignPCLThresholdsWriter::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().