#include <HcalFiberPattern.h>
Public Member Functions | |
int | crate () const |
int | fiber () const |
HcalElectronicsId | getId (int fiberChan) |
std::vector< HcalQIESample > | getSamples (int bunch, int npresamples, int nsamples, int fiberChan) |
HcalFiberPattern (const std::map< std::string, std::string > ¶ms, const std::vector< uint32_t > &data) | |
int | slot () const |
Private Member Functions | |
HcalQIESample | unpack (int bc, int fc) |
Private Attributes | |
int | crate_ |
int | dcc_ |
int | fiber_ |
std::vector< uint32_t > | pattern_ |
int | slot_ |
int | spigot_ |
int | tb_ |
Definition at line 14 of file HcalFiberPattern.h.
HcalFiberPattern::HcalFiberPattern | ( | const std::map< std::string, std::string > & | params, |
const std::vector< uint32_t > & | data | ||
) |
Definition at line 10 of file HcalFiberPattern.cc.
References crate_, dcc_, fiber_, setIf(), slot_, spigot_, and tb_.
|
inline |
|
inline |
HcalElectronicsId HcalFiberPattern::getId | ( | int | fiberChan | ) |
Definition at line 60 of file HcalFiberPattern.cc.
References crate_, dcc_, fiber_, HcalElectronicsId::setHTR(), slot_, spigot_, and tb_.
std::vector< HcalQIESample > HcalFiberPattern::getSamples | ( | int | bunch, |
int | npresamples, | ||
int | nsamples, | ||
int | fiberChan | ||
) |
Definition at line 46 of file HcalFiberPattern.cc.
References Exception, i, pattern_, and unpack().
|
inline |
|
private |
Definition at line 19 of file HcalFiberPattern.cc.
References ecalMGPA::adc(), fiber_, pattern_, and w2.
Referenced by getSamples().
|
private |
Definition at line 24 of file HcalFiberPattern.h.
Referenced by crate(), getId(), and HcalFiberPattern().
|
private |
Definition at line 24 of file HcalFiberPattern.h.
Referenced by getId(), and HcalFiberPattern().
|
private |
Definition at line 24 of file HcalFiberPattern.h.
Referenced by fiber(), getId(), HcalFiberPattern(), and unpack().
|
private |
Definition at line 25 of file HcalFiberPattern.h.
Referenced by getSamples(), and unpack().
|
private |
Definition at line 24 of file HcalFiberPattern.h.
Referenced by getId(), HcalFiberPattern(), and slot().
|
private |
Definition at line 24 of file HcalFiberPattern.h.
Referenced by getId(), and HcalFiberPattern().
|
private |
Definition at line 24 of file HcalFiberPattern.h.
Referenced by getId(), and HcalFiberPattern().