emcOMRejectList Class Reference
[DataManager Plugins]

Inherits emcObjectManager.

Inheritance diagram for emcOMRejectList:

Inheritance graph
[legend]
List of all members.

Detailed Description

DM plugin to R/W emcRejectlist from/to ASCII file.

Definition at line 9 of file ascii/emcOMRejectList.C.

Public Member Functions

 emcOMRejectList (const char *name, const char *title)
virtual ~emcOMRejectList ()
bool CanRead (const emcManageable &) const
 Can we read a given object type ?
bool CanWrite (const emcManageable &) const
 Can we write a given object type ?
bool Read (emcManageable &object, const PHTimeStamp &time_stamp, int id)
 Should describe here the file format.
void Reset ()
 Reset the OM.
bool Write (const emcManageable &object, const PHTimeStamp &tdummy, int dummy=-1)
 Write a manageable object to the DB.

Classes

class  changeName


Constructor & Destructor Documentation

emcOMRejectList::emcOMRejectList const char *  name,
const char *  title
 

Definition at line 65 of file ascii/emcOMRejectList.C.

emcOMRejectList::~emcOMRejectList  )  [virtual]
 

Definition at line 71 of file ascii/emcOMRejectList.C.


Member Function Documentation

bool emcOMRejectList::CanRead const emcManageable object  )  const [virtual]
 

Can we read a given object type ?

Returns:
false by default.

Reimplemented from emcObjectManager.

Definition at line 77 of file ascii/emcOMRejectList.C.

References emcManageable::GetSource(), and emcManageable::kFile_ASCII.

bool emcOMRejectList::CanWrite const emcManageable object  )  const [virtual]
 

Can we write a given object type ?

Returns:
false by default.

Reimplemented from emcObjectManager.

Definition at line 97 of file ascii/emcOMRejectList.C.

References emcManageable::GetDestination(), and emcManageable::kFile_ASCII.

void emcOMRejectList::Reset  )  [inline, virtual]
 

Reset the OM.

After a call to Reset, the OM must behave as if it was newly created.

Implements emcObjectManager.

Definition at line 27 of file ascii/emcOMRejectList.C.

bool emcOMRejectList::Write const emcManageable object,
const PHTimeStamp &  tdummy,
int  dummy = -1
[virtual]
 

Write a manageable object to the DB.

See the DM interface for parameters.

Implements emcObjectManager.

Definition at line 186 of file ascii/emcOMRejectList.C.

References emcRejectList::AmplitudeError(), emcRejectList::AmplitudeWarning(), EmcIndexer::decodeTowerId(), emcObjectManager::DM(), EMC_INFO_MSG, emcDataManager::GetDestinationDir(), emcDataManager::GetInstance(), emcNamed::GetName(), emcRejectList::nonZero(), emcRejectList::TimingError(), and emcRejectList::TimingWarning().


The documentation for this class was generated from the following file: