#include <PhiMemoryImage.h>
Public Types | |
typedef PhiMemoryImage::value_type * | value_ptr |
typedef unsigned long int | value_type |
Public Member Functions | |
void | BitShift (int nBits) |
void | CopyFromBuffer (PhiMemoryImage::value_ptr rhs, int offset) |
functions/// More... | |
bool | GetBit (int station, int bitNumber) const |
PhiMemoryImage::value_type & | operator[] (int index) |
PhiMemoryImage () | |
constructors/// More... | |
PhiMemoryImage (PhiMemoryImage::value_ptr buffer, int offset) | |
PhiMemoryImage (value_type s1a, value_type s1b, value_type s1c, value_type s2a, value_type s2b, value_type s2c, value_type s3a, value_type s3b, value_type s3c, value_type s4a, value_type s4b, value_type s4c) | |
void | Print () |
void | printbuff () |
void | SetBit (int station, int bitNumber, bool value=true) |
void | SetBuff (int chunk, int value) |
Static Public Attributes | |
static const int | STATIONS = 4 |
static const int | TOTAL_UNITS = UNITS * STATIONS |
static const int | UNITS = 3 |
Private Attributes | |
PhiMemoryImage::value_type | _buffer [PhiMemoryImage::TOTAL_UNITS] |
int | _keyStationOffset |
Definition at line 4 of file PhiMemoryImage.h.
Definition at line 9 of file PhiMemoryImage.h.
typedef unsigned long int PhiMemoryImage::value_type |
Definition at line 8 of file PhiMemoryImage.h.
PhiMemoryImage::PhiMemoryImage | ( | ) |
constructors///
Definition at line 4 of file PhiMemoryImage.cc.
References _buffer, i, and TOTAL_UNITS.
PhiMemoryImage::PhiMemoryImage | ( | PhiMemoryImage::value_ptr | buffer, |
int | offset | ||
) |
Definition at line 8 of file PhiMemoryImage.cc.
References CopyFromBuffer().
|
inline |
Definition at line 20 of file PhiMemoryImage.h.
References _buffer.
void PhiMemoryImage::BitShift | ( | int | nBits | ) |
Definition at line 107 of file PhiMemoryImage.cc.
References _buffer, i, and STATIONS.
Referenced by DetectPatterns().
void PhiMemoryImage::CopyFromBuffer | ( | PhiMemoryImage::value_ptr | rhs, |
int | offset | ||
) |
functions///
Definition at line 14 of file PhiMemoryImage.cc.
References _buffer, _keyStationOffset, i, hltrates_dqm_sourceclient-live_cfg::offset, and TOTAL_UNITS.
Referenced by PhiMemoryImage().
bool PhiMemoryImage::GetBit | ( | int | station, |
int | bitNumber | ||
) | const |
changed this
Definition at line 77 of file PhiMemoryImage.cc.
References _buffer, findQualityFiles::size, tmp, TOTAL_UNITS, and UNITS.
Referenced by Print().
|
inline |
Definition at line 40 of file PhiMemoryImage.h.
References _buffer, and cmsHarvester::index.
void PhiMemoryImage::Print | ( | void | ) |
Definition at line 196 of file PhiMemoryImage.cc.
References gather_cfg::cout, GetBit(), i, j, findQualityFiles::size, STATIONS, and UNITS.
void PhiMemoryImage::printbuff | ( | ) |
Definition at line 220 of file PhiMemoryImage.cc.
References _buffer, gather_cfg::cout, i, and TOTAL_UNITS.
void PhiMemoryImage::SetBit | ( | int | station, |
int | bitNumber, | ||
bool | value = true |
||
) |
Definition at line 31 of file PhiMemoryImage.cc.
References _buffer, gather_cfg::cout, findQualityFiles::size, tmp, TOTAL_UNITS, and UNITS.
|
inline |
Definition at line 33 of file PhiMemoryImage.h.
References _buffer, and relativeConstraints::value.
|
private |
Definition at line 46 of file PhiMemoryImage.h.
Referenced by python.cmstools.EventBranch::__call__(), BitShift(), CopyFromBuffer(), GetBit(), operator[](), PhiMemoryImage(), printbuff(), SetBit(), and SetBuff().
|
private |
Definition at line 47 of file PhiMemoryImage.h.
Referenced by CopyFromBuffer().
|
static |
Definition at line 11 of file PhiMemoryImage.h.
Referenced by BitShift(), and Print().
Definition at line 13 of file PhiMemoryImage.h.
Referenced by CopyFromBuffer(), GetBit(), PhiMemoryImage(), printbuff(), and SetBit().
|
static |
Definition at line 12 of file PhiMemoryImage.h.