#include <emcRejectList.h>
Inherits emcManageable.
Inheritance diagram for emcRejectList:
Definition at line 20 of file emcRejectList.h.
Public Member Functions | |
emcRejectList () | |
CREATORS. | |
emcRejectList (const emcRejectList &) | |
emcRejectList & | operator= (const emcRejectList &) |
emcRejectList & | operator+= (const emcRejectList &) |
emcRejectList & | operator-= (const emcRejectList &) |
virtual | ~emcRejectList () |
unsigned int | AmplitudeError (int towerid) const |
ACCESSORS. | |
unsigned int | AmplitudeWarning (int towerid) const |
unsigned int | Error (int towerid) const |
const char * | GetCategory (void) const |
Category of the object = GAIN,PED,HL,etc. | |
const PHTimeStamp & | GetEndValTime (void) const |
Get the end-of-validity time. | |
const PHTimeStamp & | GetStartValTime (void) const |
Get the start-of-validity time. | |
bool | nonZero (int towerid) const |
void | print (std::ostream &out=std::cout) const |
size_t | size () const |
size_t | maxsize () const |
unsigned int | TimingError (int towerid) const |
unsigned int | TimingWarning (int towerid) const |
unsigned int | Warning (int towerid) const |
void | Reset (void) |
MUTATORS. | |
void | set (int towerid, unsigned int amp_error, unsigned int amp_warning, unsigned int timing_error, unsigned int timing_warning) |
Set flags for a given tower. | |
void | set_or (int towerid, unsigned int amp_error, unsigned int amp_warning, unsigned int timing_error, unsigned int timing_warning) |
Set/update (make a logical OR on the existing bits) flags to a given tower. | |
void | SetValidityPeriod (const PHTimeStamp &t1, const PHTimeStamp &t2) |
Private Types | |
typedef std::map< int, SixInts > | TMAP |
Private Member Functions | |
void | Copy (emcRejectList &) const |
SixInts | getTower (int towerid) const |
Private Attributes | |
TMAP | fTowers |
PHTimeStamp | fStart |
PHTimeStamp | fEnd |
Classes | |
class | SixInts |
|
Definition at line 119 of file emcRejectList.h. |
|
CREATORS.
Definition at line 100 of file emcRejectList.C. |
|
Definition at line 110 of file emcRejectList.C. References Copy(). |
|
Definition at line 161 of file emcRejectList.C. |
|
ACCESSORS.
Definition at line 182 of file emcRejectList.C. References emcRejectList::SixInts::ampError(), and getTower(). Referenced by operator+=(), emcOMRejectListT< BM >::ToPdbCalBank(), and emcOMRejectList::Write(). |
|
Definition at line 189 of file emcRejectList.C. References emcRejectList::SixInts::ampWarning(), and getTower(). Referenced by operator+=(), emcOMRejectListT< BM >::ToPdbCalBank(), and emcOMRejectList::Write(). |
|
Definition at line 196 of file emcRejectList.C. References fEnd, fStart, and fTowers. Referenced by emcRejectList(), and operator=(). |
|
Definition at line 205 of file emcRejectList.C. References emcRejectList::SixInts::error(), and getTower(). |
|
Category of the object = GAIN,PED,HL,etc. .. This category is used to determine the top-level container of this object in the database. Implements emcManageable. Definition at line 41 of file emcRejectList.h. Referenced by emcOMRejectListT< BM >::Read(), and emcOMRejectListT< BM >::Write(). |
|
Get the end-of-validity time.
Definition at line 44 of file emcRejectList.h. References fEnd. Referenced by emcOMRejectListT< BM >::Write(). |
|
Get the start-of-validity time.
Definition at line 47 of file emcRejectList.h. References fStart. Referenced by emcOMRejectListT< BM >::Write(). |
|
Definition at line 167 of file emcRejectList.C. References fTowers. Referenced by AmplitudeError(), AmplitudeWarning(), Error(), nonZero(), TimingError(), TimingWarning(), and Warning(). |
|
Definition at line 55 of file emcRejectList.h. Referenced by operator+=(), operator-=(), and emcOMRejectListT< BM >::ToPdbCalBank(). |
|
Definition at line 212 of file emcRejectList.C. References getTower(), and emcRejectList::SixInts::nonZero(). Referenced by operator+=(), operator-=(), emcOMRejectListT< BM >::ToPdbCalBank(), and emcOMRejectList::Write(). |
|
Definition at line 129 of file emcRejectList.C. References AmplitudeError(), AmplitudeWarning(), maxsize(), nonZero(), set_or(), TimingError(), and TimingWarning(). |
|
Definition at line 145 of file emcRejectList.C. |
|
Definition at line 117 of file emcRejectList.C. |
|
Definition at line 219 of file emcRejectList.C. References fTowers. Referenced by operator<<(). |
|
MUTATORS.
Reimplemented from emcManageable. Definition at line 241 of file emcRejectList.C. References fTowers. Referenced by emcRejectList(), operator=(), and emcOMRejectListT< BM >::Read(). |
|
Set flags for a given tower. All flags are 4 bits maximum. Definition at line 248 of file emcRejectList.C. References fTowers, and emcRejectList::SixInts::set(). Referenced by emcBadNormt::process(). |
|
Set/update (make a logical OR on the existing bits) flags to a given tower.
Definition at line 258 of file emcRejectList.C. References fTowers, and emcRejectList::SixInts::set_or(). Referenced by emcOMRejectListT< BM >::FromPdbCalBank(), operator+=(), emcBadNormt::process(), and emcOMRejectList::Read(). |
|
Definition at line 77 of file emcRejectList.h. |
|
Definition at line 53 of file emcRejectList.h. References fTowers. Referenced by emcOMRejectListT< BM >::ToPdbCalBank(). |
|
Definition at line 268 of file emcRejectList.C. References getTower(), and emcRejectList::SixInts::tofError(). Referenced by operator+=(), emcOMRejectListT< BM >::ToPdbCalBank(), and emcOMRejectList::Write(). |
|
Definition at line 275 of file emcRejectList.C. References getTower(), and emcRejectList::SixInts::tofWarning(). Referenced by operator+=(), emcOMRejectListT< BM >::ToPdbCalBank(), and emcOMRejectList::Write(). |
|
Definition at line 283 of file emcRejectList.C. References getTower(), and emcRejectList::SixInts::warning(). |
|
Definition at line 125 of file emcRejectList.h. Referenced by Copy(), emcRejectList(), GetEndValTime(), and SetValidityPeriod(). |
|
Definition at line 124 of file emcRejectList.h. Referenced by Copy(), emcRejectList(), GetStartValTime(), and SetValidityPeriod(). |
|
Definition at line 120 of file emcRejectList.h. Referenced by Copy(), getTower(), operator-=(), print(), Reset(), set(), set_or(), and size(). |