#include <HcalUpgradeDataFrame.h>
Public Types | |
typedef HcalDetId | key_type |
For the sorted collection. More... | |
Public Member Functions | |
uint16_t | adc (int iSample=0) const |
int | capId (int iSample=0) const |
const HcalElectronicsId & | elecId () const |
HcalUpgradeDataFrame () | |
HcalUpgradeDataFrame (HcalDetId id) | |
HcalUpgradeDataFrame (HcalDetId id, int capId, int samples, int presamples) | |
const HcalDetId & | id () const |
HcalUpgradeQIESample | operator[] (int iSample) const |
int | presamples () const |
void | setPresamples (int presamples) |
void | setReadoutIds (const HcalElectronicsId &eid) |
void | setSample (int iSample, uint16_t adc, uint16_t tdc, bool dv) |
void | setSize (int size) |
void | setStartingCapId (int capId) |
void | setZSInfo (bool unsuppressed, bool markAndPass, uint32_t crossingMask=0) |
int | size () const |
int | startingCapId () const |
uint16_t | tdc (int iSample=0) const |
bool | valid (int iSample=0) const |
uint32_t | zsCrossingMask () const |
bool | zsMarkAndPass () const |
bool | zsUnsuppressed () const |
Static Public Attributes | |
static const int | MAXSAMPLES = 10 |
Private Attributes | |
uint16_t | adc_ [MAXSAMPLES] |
int | capId_ |
bool | dv_ [MAXSAMPLES] |
HcalElectronicsId | electronicsId_ |
HcalDetId | id_ |
int | presamples_ |
int | size_ |
uint16_t | tdc_ [MAXSAMPLES] |
Precision readout digi for Upgrade work.
Definition at line 15 of file HcalUpgradeDataFrame.h.
For the sorted collection.
Definition at line 17 of file HcalUpgradeDataFrame.h.
HcalUpgradeDataFrame::HcalUpgradeDataFrame | ( | ) |
Definition at line 3 of file HcalUpgradeDataFrame.cc.
HcalUpgradeDataFrame::HcalUpgradeDataFrame | ( | HcalDetId | id | ) |
Definition at line 11 of file HcalUpgradeDataFrame.cc.
HcalUpgradeDataFrame::HcalUpgradeDataFrame | ( | HcalDetId | id, |
int | capId, | ||
int | samples, | ||
int | presamples | ||
) |
Definition at line 19 of file HcalUpgradeDataFrame.cc.
References setPresamples(), and setSize().
|
inline |
Definition at line 36 of file HcalUpgradeDataFrame.h.
References adc_.
Referenced by HcalZSAlgoRealistic::keepMe(), operator<<(), operator[](), and HcalTDC::timing().
|
inline |
Definition at line 33 of file HcalUpgradeDataFrame.h.
References capId_.
Referenced by operator<<(), and setStartingCapId().
|
inline |
Definition at line 24 of file HcalUpgradeDataFrame.h.
References electronicsId_.
|
inline |
Definition at line 23 of file HcalUpgradeDataFrame.h.
References id_.
Referenced by HcalZSAlgoRealistic::keepMe(), operator<<(), HcalSimpleRecAlgo::reconstructHFUpgrade(), HcalZSAlgoRealistic::shouldKeep(), and HcalTDC::timing().
HcalUpgradeQIESample HcalUpgradeDataFrame::operator[] | ( | int | iSample | ) | const |
Definition at line 44 of file HcalUpgradeDataFrame.cc.
|
inline |
Definition at line 27 of file HcalUpgradeDataFrame.h.
References presamples_.
Referenced by operator<<(), and HcalSimpleRecAlgo::reconstructHFUpgrade().
void HcalUpgradeDataFrame::setPresamples | ( | int | presamples | ) |
Definition at line 34 of file HcalUpgradeDataFrame.cc.
References MAXSAMPLES, and presamples_.
Referenced by HcalUpgradeDataFrame().
void HcalUpgradeDataFrame::setReadoutIds | ( | const HcalElectronicsId & | eid | ) |
Definition at line 40 of file HcalUpgradeDataFrame.cc.
References electronicsId_.
void HcalUpgradeDataFrame::setSample | ( | int | iSample, |
uint16_t | adc, | ||
uint16_t | tdc, | ||
bool | dv | ||
) |
Definition at line 48 of file HcalUpgradeDataFrame.cc.
References adc_, dv_, and tdc_.
Referenced by HcalCoderDb::fCUpgrade2adc_(), and HcalTDC::timing().
void HcalUpgradeDataFrame::setSize | ( | int | size | ) |
Definition at line 28 of file HcalUpgradeDataFrame.cc.
References MAXSAMPLES, size(), and size_.
Referenced by HcalUpgradeDataFrame().
|
inline |
void HcalUpgradeDataFrame::setZSInfo | ( | bool | unsuppressed, |
bool | markAndPass, | ||
uint32_t | crossingMask = 0 |
||
) |
Definition at line 59 of file HcalUpgradeDataFrame.cc.
References presamples_.
Referenced by HcalZeroSuppressionAlgo::suppress().
|
inline |
Definition at line 26 of file HcalUpgradeDataFrame.h.
References size_.
Referenced by operator<<(), HcalTDCReco::reconstruct(), setSize(), and HcalZSAlgoRealistic::shouldKeep().
|
inline |
|
inline |
Definition at line 37 of file HcalUpgradeDataFrame.h.
References tdc_.
Referenced by operator<<(), and HcalTDCReco::reconstruct().
|
inline |
|
inline |
Definition at line 30 of file HcalUpgradeDataFrame.h.
References presamples_.
Referenced by HcalZSAlgoRealistic::shouldKeep().
|
inline |
Definition at line 28 of file HcalUpgradeDataFrame.h.
References presamples_.
Referenced by operator<<().
|
inline |
Definition at line 29 of file HcalUpgradeDataFrame.h.
References presamples_.
Referenced by operator<<().
|
private |
Definition at line 54 of file HcalUpgradeDataFrame.h.
Referenced by adc(), and setSample().
|
private |
Definition at line 51 of file HcalUpgradeDataFrame.h.
Referenced by capId(), operator[](), setStartingCapId(), and startingCapId().
|
private |
Definition at line 53 of file HcalUpgradeDataFrame.h.
Referenced by setSample(), and valid().
|
private |
Definition at line 50 of file HcalUpgradeDataFrame.h.
Referenced by elecId(), and setReadoutIds().
|
private |
Definition at line 49 of file HcalUpgradeDataFrame.h.
Referenced by id().
|
static |
Definition at line 47 of file HcalUpgradeDataFrame.h.
Referenced by setPresamples(), and setSize().
|
private |
Definition at line 52 of file HcalUpgradeDataFrame.h.
Referenced by presamples(), setPresamples(), setZSInfo(), zsCrossingMask(), zsMarkAndPass(), and zsUnsuppressed().
|
private |
Definition at line 52 of file HcalUpgradeDataFrame.h.
|
private |
Definition at line 55 of file HcalUpgradeDataFrame.h.
Referenced by setSample(), and tdc().