#include <PixelDigi.h>
Public Types | |
typedef unsigned int | ChannelType |
typedef unsigned int | PackedDigiType |
Public Member Functions | |
unsigned short | adc () const |
int | channel () const |
int | column () const |
void | init (int row, int col, int adc) |
PackedDigiType | packedData () const |
PixelDigi (int packed_value) | |
PixelDigi (int row, int col, int adc) | |
PixelDigi (int chan, int adc) | |
PixelDigi () | |
int | row () const |
Static Public Member Functions | |
static std::pair< int, int > | channelToPixel (int ch) |
static int | pixelToChannel (int row, int col) |
Private Attributes | |
PackedDigiType | theData |
Persistent digi for the Pixels.
Definition at line 13 of file PixelDigi.h.
typedef unsigned int PixelDigi::ChannelType |
Definition at line 17 of file PixelDigi.h.
typedef unsigned int PixelDigi::PackedDigiType |
Definition at line 16 of file PixelDigi.h.
|
inline |
Definition at line 19 of file PixelDigi.h.
|
inline |
|
inline |
Definition at line 25 of file PixelDigi.h.
References channelToPixel(), and init().
|
inline |
Definition at line 30 of file PixelDigi.h.
|
inline |
Definition at line 38 of file PixelDigi.h.
References PixelChannelIdentifier::Packing::adc_mask, theData, and PixelChannelIdentifier::thePacking.
Referenced by PixelDataFormatter::digi2word(), operator<<(), and PixelDataFormatter::print().
|
inline |
Definition at line 51 of file PixelDigi.h.
References column(), PixelChannelIdentifier::pixelToChannel(), and row().
Referenced by operator<<().
|
inlinestatic |
Definition at line 41 of file PixelDigi.h.
References cuy::col, PixelChannelIdentifier::Packing::column_mask, PixelChannelIdentifier::Packing::column_width, row(), and PixelChannelIdentifier::thePacking.
Referenced by TrackerHitAssociator::associatePixelRecHit(), SiPixelDigitizerAlgorithm::induce_signal(), SiPixelDigitizerAlgorithm::make_digis(), SiPixelDigitizerAlgorithm::module_killing_conf(), SiPixelDigitizerAlgorithm::module_killing_DB(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiPixelDigitizerAlgorithm::pixel_inefficiency_db(), PixelDigi(), and TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 36 of file PixelDigi.h.
References PixelChannelIdentifier::Packing::column_mask, theData, and PixelChannelIdentifier::thePacking.
Referenced by channel(), PixelDataFormatter::digi2word(), and PixelDataFormatter::print().
void PixelDigi::init | ( | int | row, |
int | col, | ||
int | adc | ||
) |
Definition at line 7 of file PixelDigi.cc.
References PixelChannelIdentifier::Packing::adc_shift, gather_cfg::cout, max(), PixelChannelIdentifier::Packing::max_adc, PixelChannelIdentifier::Packing::row_shift, theData, and PixelChannelIdentifier::thePacking.
Referenced by PixelDigi().
|
inline |
|
inlinestatic |
Definition at line 47 of file PixelDigi.h.
References cuy::col, and PixelChannelIdentifier::thePacking.
Referenced by SiPixelDigitizerAlgorithm::add_noise(), and SiPixelDigitizerAlgorithm::induce_signal().
|
inline |
Definition at line 35 of file PixelDigi.h.
References PixelChannelIdentifier::Packing::row_mask, theData, and PixelChannelIdentifier::thePacking.
Referenced by channel(), channelToPixel(), PixelDataFormatter::digi2word(), and PixelDataFormatter::print().
|
private |
Definition at line 54 of file PixelDigi.h.
Referenced by adc(), column(), init(), packedData(), and row().