#include <emcCalibratorFactory.h>
USAGE:
emcCalibratorFactory::Initialize("X") ;
where X is one out of:
emcCalibrator* rdc = emcCalibratorFactory::GetCalibrator() ;
Definition at line 30 of file emcCalibratorFactory.h.
Public Member Functions | |
| virtual | ~emcCalibratorFactory () |
| dtor not to be used. | |
Static Public Member Functions | |
| static bool | Initialize (const char *calibrator_classname) |
| Initialize the calibrator factory. | |
| static emcCalibrator * | GetCalibrator (void) |
| Return a calibrator of the class defined by the Initialize. | |
Private Member Functions | |
| emcCalibratorFactory () | |
| ctor is not to be used. | |
| emcCalibratorFactory (const emcCalibratorFactory &obj) | |
| Copy constructor and assignement are disabled on purpose. | |
| emcCalibratorFactory & | operator= (const emcCalibratorFactory &obj) |
Static Private Attributes | |
| static emcCalibrator * | fCalibrator = 0 |
| the instance of the selected calibration method | |
|
|
dtor not to be used. Unfortunately it seems that CINT requires public dtor. But should be private really. Definition at line 18 of file emcCalibratorFactory.C. |
|
|
ctor is not to be used.
Definition at line 56 of file emcCalibratorFactory.h. |
|
|
Copy constructor and assignement are disabled on purpose.
|
|
|
Return a calibrator of the class defined by the Initialize. If the factory is not initialized, it will return 0 and print an error message. Definition at line 23 of file emcCalibratorFactory.C. References fCalibrator. Referenced by mEmcCalibratorModule::Config(), mEmcCalibratorModule::SetCalibrator(), mEmcRecoModuleRealYear3::setup(), and mEmcRecoModuleRealYear2::setupAna(). |
|
|
Initialize the calibrator factory. The calibrator_classname is the name of the calibrator class (which must derive from the ABC emcCalibrator. Definition at line 35 of file emcCalibratorFactory.C. References fCalibrator, and emcCalibrator::GetName(). Referenced by mEmcCalibratorModule::Config(), and mEmcCalibratorModule::SetCalibrator(). |
|
|
|
|
|
the instance of the selected calibration method
Definition at line 60 of file emcCalibratorFactory.h. Referenced by GetCalibrator(), and Initialize(). |