#include <emcQAFEM.h>
Inherits emcCalFEM.
Inheritance diagram for emcQAFEM:
Definition at line 21 of file emcQAFEM.h.
Public Member Functions | |
emcQAFEM (int absPosition) | |
ctor | |
emcQAFEM (int absPosition, const PHTimeStamp &t1, const PHTimeStamp &t2) | |
ctor | |
emcQAFEM (const emcQAFEM &) | |
copy ctor | |
emcQAFEM & | operator= (const emcQAFEM &) |
assignment operator. | |
virtual | ~emcQAFEM () |
dtor | |
virtual emcQAFEM * | clone (void) const |
virtual emcQAFEM * | create (void) const |
void | AppendOneChannel (int channel, INT32 error, INT32 warning) |
Append a new channel to this FEM. | |
void | First (void) |
Initialize the iterator to loop over channels. | |
virtual const char * | GetCategory (void) const |
Category of this emcManageable = "QAs". | |
virtual size_t | GetNumberOfChannels (void) const |
Get the number of channels of this FEM. | |
virtual float | getValue (int ichannel) const |
Get error for a given channel. | |
virtual float | getValueFast (int ichannel) const |
Same as above but without bound checking. | |
virtual float | getValue (int ichannel, int what) const |
Get value (what=0->error, what=1->warning) for a given channel. | |
virtual float | getValueFast (int ichannel, int what) const |
Same as above but without bound checking. | |
virtual bool | IsEqual (const emcCalFEM &) const |
Comparison. | |
bool | Next (int &channel, INT32 &error, INT32 &warning) |
Get next values (to be used with First()). | |
virtual std::ostream & | Print (std::ostream &out=std::cout, int level=0) const |
A simple output. | |
virtual void | Reset (void) |
Reset this object completely. | |
Static Public Member Functions | |
static emcQAFEM * | Default (int absPosition, const PHTimeStamp &tStart=PHTimeStamp(0), const PHTimeStamp &tEnd=PHTimeStamp(PHTimeStamp::PHFarFuture)) |
Create a default object with 144 perfect channels. | |
Private Member Functions | |
void | Copy (emcQAFEM &) const |
Used by copy ctor. | |
INT32 | GetError (int channel) const |
Get the error value of a given channel. | |
INT32 | GetWarning (int channel) const |
Get the warning value of a given channel. | |
Private Attributes | |
std::map< int, std::vector< INT32 > > | fQA |
std::map< int, std::vector< INT32 > >::const_iterator | fIterator |
|
ctor
Definition at line 41 of file emcQAFEM.C. References classname, First(), name, emcNamed::NameIt(), and title. |
|
ctor
Definition at line 49 of file emcQAFEM.C. References classname, First(), name, emcNamed::NameIt(), and title. |
|
copy ctor
Definition at line 58 of file emcQAFEM.C. |
|
dtor
Definition at line 93 of file emcQAFEM.C. References Reset(). |
|
Append a new channel to this FEM.
Definition at line 99 of file emcQAFEM.C. References fQA. Referenced by Default(), and emcOMQAFEMT< T >::FromPdbCalBank(). |
|
Implements emcCalFEM. Definition at line 42 of file emcQAFEM.h. References emcQAFEM(). |
|
Used by copy ctor.
Definition at line 79 of file emcQAFEM.C. References emcCalFEM::Copy(), fQA, and Reset(). Referenced by emcQAFEM(), and operator=(). |
|
Implements emcCalFEM. Definition at line 45 of file emcQAFEM.h. References emcCalFEM::AbsolutePosition(), emcQAFEM(), emcCalFEM::GetEndValTime(), and emcCalFEM::GetStartValTime(). |
|
Create a default object with 144 perfect channels. perfect means no error, no warning. Definition at line 110 of file emcQAFEM.C. References AppendOneChannel(), and emcQAFEM(). Referenced by creator(). |
|
Initialize the iterator to loop over channels.
Definition at line 126 of file emcQAFEM.C. References fIterator, and fQA. Referenced by emcQAFEM(), operator=(), and emcOMQAFEMT< T >::ToPdbCalBank(). |
|
Category of this emcManageable = "QAs".
Implements emcCalFEM. Definition at line 68 of file emcQAFEM.h. |
|
Get the error value of a given channel.
Definition at line 163 of file emcQAFEM.C. References fQA. Referenced by getValueFast(). |
|
Get the number of channels of this FEM.
Implements emcCalFEM. Definition at line 71 of file emcQAFEM.h. References fQA. |
|
Get value (what=0->error, what=1->warning) for a given channel.
Reimplemented from emcCalFEM. Definition at line 133 of file emcQAFEM.C. References emcCalFEM::DefaultReturnValue(), EMC_WARNING_MSG, and getValueFast(). |
|
Get error for a given channel.
Reimplemented from emcCalFEM. Definition at line 77 of file emcQAFEM.h. Referenced by emcQAs::GetError(), emcQAs::GetWarning(), and IsEqual(). |
|
Same as above but without bound checking.
Reimplemented from emcCalFEM. Definition at line 152 of file emcQAFEM.C. References GetError(), and GetWarning(). |
|
Same as above but without bound checking.
Reimplemented from emcCalFEM. Definition at line 81 of file emcQAFEM.h. Referenced by getValue(). |
|
Get the warning value of a given channel.
Definition at line 177 of file emcQAFEM.C. References fQA. Referenced by getValueFast(). |
|
Comparison.
Implements emcCalFEM. Definition at line 192 of file emcQAFEM.C. References getValue(), j, and emcCalFEM::size(). |
|
Get next values (to be used with First()).
Definition at line 212 of file emcQAFEM.C. |
|
assignment operator.
Definition at line 67 of file emcQAFEM.C. |
|
A simple output.
Reimplemented from emcCalFEM. |
|
Reset this object completely.
Implements emcCalFEM. Definition at line 254 of file emcQAFEM.C. References fQA. Referenced by Copy(), emcOMQAFEMT< T >::FromPdbCalBank(), operator=(), and ~emcQAFEM(). |
|
Definition at line 118 of file emcQAFEM.h. |
|
Definition at line 117 of file emcQAFEM.h. Referenced by AppendOneChannel(), Copy(), First(), GetError(), GetNumberOfChannels(), GetWarning(), Next(), and Reset(). |