#include <CSCStripDigi.h>
Public Member Functions | |
float | amplitude () const |
CSCStripDigi (const int &strip, const std::vector< int > &ADCCounts, const std::vector< uint16_t > &ADCOverflow, const std::vector< uint16_t > &Overlap, const std::vector< uint16_t > &Errorstat) | |
CSCStripDigi (const int &strip, const std::vector< int > &ADCCounts) | |
CSCStripDigi () | |
std::vector< int > | getADCCounts () const |
Get ADC readings. More... | |
std::vector< uint16_t > | getADCOverflow () const |
Other getters. More... | |
std::vector< uint16_t > | getErrorstat () const |
std::vector< int > | getL1APhase () const |
Get L1APhase from OverlappedSample (9th bit) More... | |
std::vector< uint16_t > | getOverlappedSample () const |
int | getStrip () const |
bool | operator== (const CSCStripDigi &digi) const |
float | pedestal () const |
methods for calibrations More... | |
void | print () const |
void | setADCCounts (const std::vector< int > &ADCCounts) |
void | setStrip (int istrip) |
Private Attributes | |
std::vector< int > | ADCCounts |
std::vector< uint16_t > | ADCOverflow |
std::vector< uint16_t > | Errorstat |
std::vector< uint16_t > | OverlappedSample |
uint16_t | strip |
Digi for CSC Cathode Strips.
Definition at line 19 of file CSCStripDigi.h.
CSCStripDigi::CSCStripDigi | ( | const int & | strip, |
const std::vector< int > & | ADCCounts, | ||
const std::vector< uint16_t > & | ADCOverflow, | ||
const std::vector< uint16_t > & | Overlap, | ||
const std::vector< uint16_t > & | Errorstat | ||
) |
Definition at line 13 of file CSCStripDigi.cc.
CSCStripDigi::CSCStripDigi | ( | const int & | strip, |
const std::vector< int > & | ADCCounts | ||
) |
Definition at line 22 of file CSCStripDigi.cc.
CSCStripDigi::CSCStripDigi | ( | ) |
Definition at line 32 of file CSCStripDigi.cc.
|
inline |
std::vector< int > CSCStripDigi::getADCCounts | ( | ) | const |
Get ADC readings.
Definition at line 41 of file CSCStripDigi.cc.
References ADCCounts.
Referenced by CSCCFEBData::add(), CSCEventData::add(), CSCStripElectronicsSim::doSaturation(), CSCStripDigiValidation::fillPedestalPlots(), CSCStripDigiValidation::fillSignalPlots(), operator<<(), operator==(), and print().
|
inline |
Other getters.
Definition at line 48 of file CSCStripDigi.h.
References ADCOverflow.
Referenced by print().
|
inline |
std::vector< int > CSCStripDigi::getL1APhase | ( | ) | const |
Get L1APhase from OverlappedSample (9th bit)
Get L1A Phase.
Definition at line 45 of file CSCStripDigi.cc.
References getOverlappedSample(), and i.
Referenced by print().
|
inline |
Definition at line 49 of file CSCStripDigi.h.
References OverlappedSample.
Referenced by getL1APhase(), and print().
|
inline |
Definition at line 39 of file CSCStripDigi.h.
References strip.
Referenced by CSCCFEBData::add(), CSCDigiToRaw::add(), CSCEventData::add(), MuonTruth::analyze(), operator<<(), operator==(), and print().
bool CSCStripDigi::operator== | ( | const CSCStripDigi & | digi | ) | const |
Definition at line 54 of file CSCStripDigi.cc.
References getADCCounts(), and getStrip().
|
inline |
void CSCStripDigi::print | ( | void | ) | const |
Definition at line 87 of file CSCStripDigi.cc.
References gather_cfg::cout, getADCCounts(), getADCOverflow(), getL1APhase(), getOverlappedSample(), getStrip(), and i.
void CSCStripDigi::setADCCounts | ( | const std::vector< int > & | ADCCounts | ) |
Definition at line 72 of file CSCStripDigi.cc.
Referenced by CSCStripElectronicsSim::doSaturation().
|
inline |
|
private |
Definition at line 68 of file CSCStripDigi.h.
Referenced by getADCCounts(), and setADCCounts().
|
private |
Definition at line 69 of file CSCStripDigi.h.
Referenced by getADCOverflow().
|
private |
Definition at line 71 of file CSCStripDigi.h.
Referenced by getErrorstat().
|
private |
Definition at line 70 of file CSCStripDigi.h.
Referenced by getOverlappedSample().
|
private |
Definition at line 67 of file CSCStripDigi.h.
Referenced by getStrip().