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< float > | VFloat |
typedef std::vector< uint16_t > | VInt |
typedef std::vector< std::string > | VString |
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 |
void | print (std::stringstream &, uint32_t not_used=0) |
void | reset () |
virtual | ~FedCablingAnalysis () |
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 28 of file FedCablingAnalysis.h.
FedCablingAnalysis::FedCablingAnalysis | ( | const uint32_t & | key | ) |
Definition at line 18 of file FedCablingAnalysis.cc.
FedCablingAnalysis::FedCablingAnalysis | ( | ) |
Definition at line 28 of file FedCablingAnalysis.cc.
|
inlinevirtual |
Definition at line 26 of file FedCablingAnalysis.h.
|
inline |
|
inline |
Container for candidate connections.
Definition at line 87 of file FedCablingAnalysis.h.
References candidates_.
|
inline |
|
inline |
|
virtual |
Identifies if analysis is valid or not.
Reimplemented from CommissioningAnalysis.
Definition at line 47 of file FedCablingAnalysis.cc.
References adcLevel_, candidates_, fedCh_, fedId_, CommissioningAnalysis::getErrorCodes(), and sistrip::maximum_.
Referenced by FedCablingHistograms::histoAnalysis(), and print().
|
virtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 57 of file FedCablingAnalysis.cc.
References adcLevel_, candidates_, relativeConstraints::empty, fedCh_, SiStripFedKey::fedChannel(), SiStripFedKey::fedId(), fedId_, CommissioningAnalysis::getErrorCodes(), CommissioningAnalysis::header(), isValid(), and scaleCards::path.
|
virtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 38 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 30 of file FedCablingAnalysis.h.
|
private |
Light level [ADC].
Definition at line 75 of file FedCablingAnalysis.h.
Referenced by adcLevel(), FedCablingAlgorithm::analyse(), isValid(), print(), and reset().
|
private |
Container for candidate connections.
Definition at line 78 of file FedCablingAnalysis.h.
Referenced by FedCablingAlgorithm::analyse(), candidates(), isValid(), print(), and reset().
|
private |
FED channel
Definition at line 72 of file FedCablingAnalysis.h.
Referenced by FedCablingAlgorithm::analyse(), fedCh(), isValid(), print(), and reset().
|
private |
FED id
Definition at line 69 of file FedCablingAnalysis.h.
Referenced by FedCablingAlgorithm::analyse(), fedId(), isValid(), print(), and reset().
|
static |
Threshold to identify candidate connections.
Definition at line 62 of file FedCablingAnalysis.h.
Referenced by FedCablingAlgorithm::analyse().