Histogram-based analysis for connection loop. More...
#include <FedCablingAnalysis.h>
Public Types | |
typedef std::map< uint32_t, uint16_t > | Candidates |
Public Types inherited from CommissioningAnalysis | |
typedef std::vector< bool > | VBool |
typedef std::vector< float > | VFloat |
typedef std::vector< uint16_t > | VInt |
typedef std::vector< std::string > | VString |
typedef std::vector< VBool > | VVBool |
typedef std::vector< VFloat > | VVFloat |
typedef std::vector< VInt > | VVInt |
Public Member Functions | |
const float & | adcLevel () const |
const Candidates & | candidates () const |
FedCablingAnalysis (const uint32_t &key) | |
FedCablingAnalysis () | |
const uint16_t & | fedCh () const |
const uint16_t & | fedId () const |
bool | isValid () const override |
void | print (std::stringstream &, uint32_t not_used=0) override |
void | reset () override |
~FedCablingAnalysis () override | |
Public Member Functions inherited from CommissioningAnalysis | |
virtual void | addErrorCode (const std::string &error) |
CommissioningAnalysis (const uint32_t &key, const std::string &my_name) | |
CommissioningAnalysis (const std::string &my_name) | |
const uint32_t & | dcuId () const |
void | dcuId (const uint32_t &) |
const uint32_t & | detId () const |
void | detId (const uint32_t &) |
const uint32_t & | fecKey () const |
void | fecKey (const uint32_t &) |
const uint32_t & | fedKey () const |
void | fedKey (const uint32_t &) |
const VString & | getErrorCodes () const |
virtual void | header (std::stringstream &) const |
const std::string & | myName () const |
void | setErrorCodes (const VString &errors) |
virtual void | summary (std::stringstream &) const |
virtual | ~CommissioningAnalysis () |
Static Public Attributes | |
static const float | threshold_ = 100. |
Private Attributes | |
float | adcLevel_ |
Candidates | candidates_ |
uint16_t | fedCh_ |
uint16_t | fedId_ |
Friends | |
class | FedCablingAlgorithm |
Histogram-based analysis for connection loop.
Definition at line 16 of file FedCablingAnalysis.h.
typedef std::map<uint32_t, uint16_t> FedCablingAnalysis::Candidates |
Definition at line 26 of file FedCablingAnalysis.h.
FedCablingAnalysis::FedCablingAnalysis | ( | const uint32_t & | key | ) |
Definition at line 18 of file FedCablingAnalysis.cc.
FedCablingAnalysis::FedCablingAnalysis | ( | ) |
Definition at line 29 of file FedCablingAnalysis.cc.
|
inlineoverride |
Definition at line 24 of file FedCablingAnalysis.h.
|
inline |
|
inline |
Container for candidate connections.
Definition at line 82 of file FedCablingAnalysis.h.
References candidates_.
|
inline |
|
inline |
|
overridevirtual |
Identifies if analysis is valid or not.
Reimplemented from CommissioningAnalysis.
Definition at line 49 of file FedCablingAnalysis.cc.
References adcLevel_, candidates_, fedCh_, fedId_, CommissioningAnalysis::getErrorCodes(), and sistrip::maximum_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), print(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
overridevirtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 56 of file FedCablingAnalysis.cc.
References adcLevel_, candidates_, relativeConstraints::empty, fedCh_, fedId_, alignBH_cfg::fixed, CommissioningAnalysis::getErrorCodes(), CommissioningAnalysis::header(), isValid(), castor_dqm_sourceclient_file_cfg::path, and contentValuesCheck::ss.
|
overridevirtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 40 of file FedCablingAnalysis.cc.
References adcLevel_, candidates_, fedCh_, fedId_, and sistrip::invalid_.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
friend |
Definition at line 28 of file FedCablingAnalysis.h.
|
private |
Light level [ADC].
Definition at line 71 of file FedCablingAnalysis.h.
Referenced by adcLevel(), isValid(), print(), and reset().
|
private |
Container for candidate connections.
Definition at line 74 of file FedCablingAnalysis.h.
Referenced by candidates(), isValid(), print(), and reset().
|
private |
|
private |
|
static |
Threshold to identify candidate connections.
Definition at line 59 of file FedCablingAnalysis.h.
Referenced by FedCablingAlgorithm::analyse().