emcOMCalFEMT< BM > Class Template Reference

#include <emcOMCalFEMT.h>

Inherits emcOMCalFEM.

Inheritance diagram for emcOMCalFEMT< BM >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class BM>
class emcOMCalFEMT< BM >

Definition at line 65 of file emcOMCalFEMT.h.

Public Member Functions

 emcOMCalFEMT (const char *name="", const char *title="")
virtual ~emcOMCalFEMT ()
virtual emcManageableCollect (const emcManageable &, const PHTimeStamp &)
 Collect object valid at a given time = not possible.
virtual void FromPdbCalBank (emcCalFEM &calfem, PdbCalBank &bank)=0
 Fill an emcCalFEM object from a PdbCalBank.
virtual std::string GetPersistentClassName (void) const =0
 Get the name of the Objy classname we are dealing with.
virtual bool Read (emcManageable &object, const PHTimeStamp &time_stamp, int code=-1)
 Read object.
bool ReadPreviousVersion (emcManageable &object, const PHTimeStamp &time_stamp, int code=-1, int version=0)
 Special read method to retrieve shadowed banks.
virtual void Reset (void)
 Reset this object.
virtual void ToPdbCalBank (const emcCalFEM &calfem, PdbCalBank &bank)=0
 Fill a PdbCalBank from an emcCalFEM object.
virtual bool Write (const emcManageable &object, const PHTimeStamp &tdummy, int dummy=-1)
 Write object.

Protected Member Functions

emcManageable::EStorage storage () const

Private Attributes

BM * fBM

Classes

class  changeName


Constructor & Destructor Documentation

template<class BM>
emcOMCalFEMT< BM >::emcOMCalFEMT const char *  name = "",
const char *  title = ""
 

Definition at line 144 of file emcOMCalFEMT.h.

template<class BM>
emcOMCalFEMT< BM >::~emcOMCalFEMT  )  [virtual]
 

Definition at line 152 of file emcOMCalFEMT.h.

References emcOMCalFEMT< BM >::fBM.


Member Function Documentation

template<class BM>
virtual emcManageable* emcOMCalFEMT< BM >::Collect const emcManageable ,
const PHTimeStamp & 
[inline, virtual]
 

Collect object valid at a given time = not possible.

Reimplemented from emcObjectManager.

Definition at line 72 of file emcOMCalFEMT.h.

template<class BM>
virtual void emcOMCalFEMT< BM >::FromPdbCalBank emcCalFEM calfem,
PdbCalBank &  bank
[pure virtual]
 

Fill an emcCalFEM object from a PdbCalBank.

Implements emcOMCalFEM.

Implemented in emcOMHLRatioFEMT< T >, emcOMLCTofFEMT< T >, emcOMPedestal5FEMT< T >, emcOMPedestalFEMT< T >, emcOMQAFEMT< T >, emcOMTracedFEMT< T, emcTofT0FEM >, emcOMTracedFEMT< T, B >, and emcOMWalkTofFEMT< T >.

template<class BM>
virtual std::string emcOMCalFEMT< BM >::GetPersistentClassName void   )  const [pure virtual]
 

Get the name of the Objy classname we are dealing with.

Implemented in emcOMHLRatioFEMT< T >, emcOMLCTofFEMT< T >, emcOMPedestal5FEMT< T >, emcOMPedestalFEMT< T >, emcOMQAFEMT< T >, emcOMTracedFEMT< T, emcTofT0FEM >, emcOMTracedFEMT< T, B >, and emcOMWalkTofFEMT< T >.

Referenced by emcOMCalFEMT< BM >::Write().

template<class BM>
bool emcOMCalFEMT< BM >::Read emcManageable object,
const PHTimeStamp &  time_stamp,
int  code = -1
[virtual]
 

Read object.

Implements emcObjectManager.

Definition at line 160 of file emcOMCalFEMT.h.

References emcCalFEM::AbsolutePosition(), EMC_ERROR_MSG, and emcCalFEM::FEMDecode().

template<class BM>
bool emcOMCalFEMT< BM >::ReadPreviousVersion emcManageable object,
const PHTimeStamp &  time_stamp,
int  code = -1,
int  version = 0
[virtual]
 

Special read method to retrieve shadowed banks.

Reimplemented from emcObjectManager.

Definition at line 273 of file emcOMCalFEMT.h.

References emcCalFEM::AbsolutePosition(), EMC_ERROR_MSG, and emcCalFEM::FEMDecode().

template<class BM>
void emcOMCalFEMT< BM >::Reset void   )  [virtual]
 

Reset this object.

Implements emcObjectManager.

Definition at line 387 of file emcOMCalFEMT.h.

References emcOMCalFEMT< BM >::fBM.

template<class BM>
emcManageable::EStorage emcOMCalFEMT< BM >::storage  )  const [inline, protected]
 

Definition at line 110 of file emcOMCalFEMT.h.

template<class BM>
virtual void emcOMCalFEMT< BM >::ToPdbCalBank const emcCalFEM calfem,
PdbCalBank &  bank
[pure virtual]
 

Fill a PdbCalBank from an emcCalFEM object.

Implemented in emcOMHLRatioFEMT< T >, emcOMLCTofFEMT< T >, emcOMPedestal5FEMT< T >, emcOMPedestalFEMT< T >, emcOMQAFEMT< T >, emcOMTracedFEMT< T, emcTofT0FEM >, emcOMTracedFEMT< T, B >, and emcOMWalkTofFEMT< T >.

template<class BM>
bool emcOMCalFEMT< BM >::Write const emcManageable object,
const PHTimeStamp &  tdummy,
int  dummy = -1
[virtual]
 

Write object.

Implements emcObjectManager.

Definition at line 395 of file emcOMCalFEMT.h.

References emcCalFEM::AbsolutePosition(), emcCalFEM::Description(), emcObjectManager::DM(), EMC_ERROR_MSG, EMC_INFO_MSG, emcOMCalFEMT< BM >::fBM, emcCalFEM::GetCategory(), emcManageable::GetDestination(), emcCalFEM::GetEndValTime(), emcNamed::GetName(), emcOMCalFEMT< BM >::GetPersistentClassName(), emcCalFEM::GetStartValTime(), and emcCalFEM::IsDraft().


Member Data Documentation

template<class BM>
BM* emcOMCalFEMT< BM >::fBM [private]
 

Definition at line 135 of file emcOMCalFEMT.h.

Referenced by emcOMCalFEMT< BM >::Reset(), emcOMCalFEMT< T >::storage(), emcOMCalFEMT< BM >::Write(), and emcOMCalFEMT< BM >::~emcOMCalFEMT().


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