#include <emcCalFEMFactory.h>
Builds emcCalFEM-type objects, either void ones using Create or default (i.e. filled) ones using CreateDefault.
Definition at line 17 of file emcCalFEMFactory.h.
Public Types | |
typedef emcCalFEM *(* | Creator )(int absolutePosition, const PHTimeStamp &start, const PHTimeStamp &end, bool isDefault) |
typedef std::map< std::string, Creator > | CreatorMap |
Static Public Member Functions | |
static emcCalFEM * | Create (const char *category, int absPosition, const PHTimeStamp &start=PHTimeStamp(), const PHTimeStamp &end=PHTimeStamp(PHTimeStamp::PHFarFuture)) |
Creates an object containing no channels. | |
static emcCalFEM * | CreateDefault (const char *category, int absPosition, const PHTimeStamp &start=PHTimeStamp(), const PHTimeStamp &end=PHTimeStamp(PHTimeStamp::PHFarFuture)) |
Creates an object containing 144 channels with default values. | |
static void | print (std::ostream &out=std::cout) |
Show list of supported objects. | |
static bool | registerCreator (const char *category, Creator creator) |
Same w/o validity period. | |
Static Private Member Functions | |
static emcCalFEM * | create (const char *category, int absPosition, const PHTimeStamp &start, const PHTimeStamp &end, bool isDefault) |
static CreatorMap & | fCreators () |
|
Definition at line 21 of file emcCalFEMFactory.h. |
|
Definition at line 25 of file emcCalFEMFactory.h. |
|
Definition at line 25 of file emcCalFEMFactory.C. References fCreators(). Referenced by Create(), and CreateDefault(). |
|
Creates an object containing no channels.
Definition at line 17 of file emcCalFEMFactory.C. References create(). Referenced by emcFEMtuple::AppendFEM(), calfemCheckList(), and LongTermGains(). |
|
Creates an object containing 144 channels with default values.
Definition at line 45 of file emcCalFEMFactory.C. References create(). |
|
Definition at line 9 of file emcCalFEMFactory.C. Referenced by create(), print(), and registerCreator(). |
|
Show list of supported objects.
Definition at line 55 of file emcCalFEMFactory.C. References fCreators(). |
|
Same w/o validity period.
Definition at line 67 of file emcCalFEMFactory.C. References fCreators(). |