#include <CSCStripDigi.h>
Public Member Functions | |
float | amplitude () const |
CSCStripDigi () | |
CSCStripDigi (const int &istrip, const std::vector< int > &vADCCounts) | |
CSCStripDigi (const int &istrip, const std::vector< int > &vADCCounts, const std::vector< uint16_t > &vADCOverflow, const std::vector< uint16_t > &vOverlap, const std::vector< uint16_t > &vErrorstat) | |
std::vector< int > const & | getADCCounts () const |
Get ADC readings. More... | |
std::vector< uint16_t > const & | getADCOverflow () const |
Other getters. More... | |
int | getCFEB () const |
Get the CFEB number. Counts from 0. More... | |
std::vector< uint16_t > const & | getErrorstat () const |
std::vector< int > | getL1APhase () const |
Get L1APhase from OverlappedSample (9th bit) More... | |
int | getL1APhase (int i) const |
std::vector< uint16_t > const & | 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 17 of file CSCStripDigi.h.
|
inline |
Definition at line 20 of file CSCStripDigi.h.
|
inline |
Definition at line 32 of file CSCStripDigi.h.
|
inline |
Definition at line 35 of file CSCStripDigi.h.
|
inline |
Definition at line 75 of file CSCStripDigi.h.
References ADCCounts, and pedestal().
|
inline |
Get ADC readings.
Definition at line 47 of file CSCStripDigi.h.
References ADCCounts.
Referenced by CSCCFEBData::add(), CSCEventData::add(), CSCStripElectronicsSim::doSaturation(), CSCStripDigiValidation::fillPedestalPlots(), CSCStripDigiValidation::fillSignalPlots(), operator<<(), operator==(), and print().
|
inline |
Other getters.
Definition at line 60 of file CSCStripDigi.h.
References ADCOverflow.
Referenced by print().
int CSCStripDigi::getCFEB | ( | ) | const |
Get the CFEB number. Counts from 0.
Definition at line 25 of file CSCStripDigi.cc.
References CSCConstants::NUM_STRIPS_PER_CFEB, and strip.
Referenced by CSCEventData::add().
|
inline |
|
inline |
Get L1APhase from OverlappedSample (9th bit)
Definition at line 50 of file CSCStripDigi.h.
References getOverlappedSample(), mps_fire::i, createfilelist::int, findQualityFiles::size, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by print().
|
inline |
|
inline |
Definition at line 61 of file CSCStripDigi.h.
References OverlappedSample.
Referenced by getL1APhase(), and print().
|
inline |
Definition at line 41 of file CSCStripDigi.h.
References strip.
Referenced by CSCCFEBData::add(), CSCDigiToRaw::add(), MuonTruth::analyze(), operator<<(), operator==(), and print().
bool CSCStripDigi::operator== | ( | const CSCStripDigi & | digi | ) | const |
|
inline |
methods for calibrations
Definition at line 74 of file CSCStripDigi.h.
References ADCCounts.
Referenced by amplitude().
void CSCStripDigi::print | ( | void | ) | const |
Definition at line 42 of file CSCStripDigi.cc.
References getADCCounts(), getADCOverflow(), getL1APhase(), getOverlappedSample(), getStrip(), mps_fire::i, and createfilelist::int.
void CSCStripDigi::setADCCounts | ( | const std::vector< int > & | ADCCounts | ) |
Definition at line 27 of file CSCStripDigi.cc.
References ADCCounts, mps_fire::i, and createfilelist::int.
Referenced by CSCStripElectronicsSim::doSaturation().
|
inline |
|
private |
Definition at line 79 of file CSCStripDigi.h.
Referenced by amplitude(), getADCCounts(), pedestal(), and setADCCounts().
|
private |
Definition at line 80 of file CSCStripDigi.h.
Referenced by getADCOverflow().
|
private |
Definition at line 82 of file CSCStripDigi.h.
Referenced by getErrorstat().
|
private |
Definition at line 81 of file CSCStripDigi.h.
Referenced by getOverlappedSample().
|
private |
Definition at line 78 of file CSCStripDigi.h.
Referenced by getCFEB(), getStrip(), and setStrip().