#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, mps_fire::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, BitShift(), CopyFromBuffer(), GetBit(), PFRecoTauDiscriminationByIsolation_cfi::offset, Print(), SetBit(), and relativeConstraints::station.
void PhiMemoryImage::BitShift | ( | int | nBits | ) |
Definition at line 103 of file PhiMemoryImage.cc.
References _buffer, mps_fire::i, and STATIONS.
Referenced by DetectPatterns(), and PhiMemoryImage().
void PhiMemoryImage::CopyFromBuffer | ( | PhiMemoryImage::value_ptr | rhs, |
int | offset | ||
) |
functions///
Definition at line 14 of file PhiMemoryImage.cc.
References _buffer, _keyStationOffset, mps_fire::i, PFRecoTauDiscriminationByIsolation_cfi::offset, and TOTAL_UNITS.
Referenced by PhiMemoryImage().
bool PhiMemoryImage::GetBit | ( | int | station, |
int | bitNumber | ||
) | const |
changed this
Definition at line 75 of file PhiMemoryImage.cc.
References _buffer, findQualityFiles::size, tmp, TOTAL_UNITS, and UNITS.
Referenced by PhiMemoryImage(), and Print().
|
inline |
Definition at line 46 of file PhiMemoryImage.h.
References _buffer, and diffTreeTool::index.
void PhiMemoryImage::Print | ( | void | ) |
Definition at line 191 of file PhiMemoryImage.cc.
References gather_cfg::cout, GetBit(), mps_fire::i, findQualityFiles::size, STATIONS, and UNITS.
Referenced by PhiMemoryImage().
void PhiMemoryImage::printbuff | ( | ) |
Definition at line 215 of file PhiMemoryImage.cc.
References _buffer, gather_cfg::cout, mps_fire::i, and TOTAL_UNITS.
Referenced by SetBuff().
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.
Referenced by PhiMemoryImage().
|
inline |
Definition at line 39 of file PhiMemoryImage.h.
References _buffer, printbuff(), and relativeConstraints::value.
|
private |
Definition at line 52 of file PhiMemoryImage.h.
Referenced by python.cmstools.EventBranch::__call__(), BitShift(), CopyFromBuffer(), GetBit(), operator[](), PhiMemoryImage(), printbuff(), SetBit(), and SetBuff().
|
private |
Definition at line 53 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.