Note: QEventAuxData takes the ownership of the QObject e.g. it will take care of destroying them when its destructor is called.
Public Member Functions | |
| QEventAuxData () | |
| default constructor | |
| virtual | ~QEventAuxData () |
| destructor | |
| void | SetTObject (const std::string &key, TObject *obj, const char *option="") |
| Add a QObject to QEventAuxData. | |
| void | SetQObject (const std::string &key, QObject *obj, const char *option="") |
| Add a QObject to QEventAuxData. | |
| void | SetBool (const std::string &key, bool obj, const char *option="") |
| Add an bool to QEventAuxData. | |
| void | SetFloat (const std::string &key, float obj, const char *option="") |
| Add an float to QEventAuxData. | |
| void | SetInt (const std::string &key, int obj, const char *option="") |
| Add an int to QEventAuxData. | |
| void | SetDouble (const std::string &key, double obj, const char *option="") |
| Add a double to QEventAuxData. | |
| void | SetString (const std::string &key, const std::string &obj, const char *option="") |
| Add a string to QEventAuxData. | |
| const TObject * | GetTObject (const std::string &key) const |
| Get a TObject. | |
| const QObject * | GetQObject (const std::string &key) const |
| Get a QObject. | |
| int | GetInt (const std::string &key) const |
| Get an int. | |
| bool | GetBool (const std::string &key) const |
| Get an bool. | |
| float | GetFloat (const std::string &key) const |
| Get an float. | |
| double | GetDouble (const std::string &key) const |
| Get a double. | |
| std::string | GetString (const std::string &key) const |
| Get a string. | |
|
const std::map< std::string, Datum< TObject * > > & | GetTObjectMap () const |
|
const std::map< std::string, Datum< QObject * > > & | GetQObjectMap () const |
|
const std::map< std::string, Datum< bool > > & | GetBoolMap () const |
|
const std::map< std::string, Datum< float > > & | GetFloatMap () const |
|
const std::map< std::string, Datum< double > > & | GetDoubleMap () const |
|
const std::map< std::string, Datum< int > > & | GetIntMap () const |
|
const std::map< std::string, Datum< std::string > > & | GetStringMap () const |
| void | Clear () |
Private Attributes | |
|
std::map< std::string, Datum < TObject * > > | fTObjectMap |
| TObject map with string key. | |
|
std::map< std::string, Datum < TObject * > >::iterator | fTObjIter |
|
std::map< std::string, Datum < QObject * > > | fQObjectMap |
| QObject map with string key. | |
|
std::map< std::string, Datum < QObject * > >::iterator | fQObjIter |
|
std::map< std::string, Datum < bool > > | fBoolMap |
| double map with bool key | |
|
std::map< std::string, Datum < bool > >::iterator | fBIter |
|
std::map< std::string, Datum < float > > | fFloatMap |
| double map with float key | |
|
std::map< std::string, Datum < float > >::iterator | fFIter |
|
std::map< std::string, Datum < double > > | fDoubleMap |
| double map with string key | |
|
std::map< std::string, Datum < double > >::iterator | fDIter |
|
std::map< std::string, Datum < int > > | fIntMap |
| int map with string key | |
|
std::map< std::string, Datum < int > >::iterator | fIIter |
|
std::map< std::string, Datum < std::string > > | fStringMap |
| string map with string key | |
|
std::map< std::string, Datum < std::string > >::iterator | fSIter |
Classes | |
| class | Datum |
| void QEventAuxData::SetTObject | ( | const std::string & | key, | |
| TObject * | obj, | |||
| const char * | option = "" | |||
| ) | [inline] |
Add a QObject to QEventAuxData.
| key | object identificator | |
| obj | previously "new" instantiated QObject |
References fTObjectMap.
Referenced by MRootFileReader::Do(), MBoloModelFit::Do(), and MLightRootFileReader::Fill().
| void QEventAuxData::SetQObject | ( | const std::string & | key, | |
| QObject * | obj, | |||
| const char * | option = "" | |||
| ) | [inline] |
Add a QObject to QEventAuxData.
| key | object identificator | |
| obj | previously "new" instantiated QObject |
References fQObjectMap.
Referenced by MVibraDataReader::Do(), MQinoDataReader::Do(), MRootFileReader::Do(), MUserModule::Do(), MTestModule::Do(), MPulseGenerator::Do(), MLogNormExpFit::Do(), MLogNormBiExpFit::Do(), MBoloModelFit::Do(), MOT::Do(), MOptimumTrigger::Do(), MOptimumFilter::Do(), MCOF::Do(), MFindCoincidences::Do(), and MLightRootFileReader::Fill().
| void QEventAuxData::SetBool | ( | const std::string & | key, | |
| bool | obj, | |||
| const char * | option = "" | |||
| ) | [inline] |
Add an bool to QEventAuxData.
| key | bool identificator | |
| obj | bool to be added |
References fBoolMap.
Referenced by MOpenApolloFlag::Do(), MQinoDataReader::Do(), MRootFileReader::Do(), MUserModule::Do(), MTestModule::Do(), MOT::Do(), MOptimumTrigger::Do(), MHeaterFlagByRegularTiming::Do(), MHeaterFlagByCoincidence::Do(), MCopyK40FlagByEventList::Do(), MOBChiSquareCut::Do(), and MLightRootFileReader::Fill().
| void QEventAuxData::SetFloat | ( | const std::string & | key, | |
| float | obj, | |||
| const char * | option = "" | |||
| ) | [inline] |
Add an float to QEventAuxData.
| key | float identificator | |
| obj | float to be added |
References fFloatMap.
Referenced by MRootFileReader::Do(), MWienerFilter::Do(), MUserModule::Do(), MTestModule::Do(), MBoloModelFit::Do(), MOptimumFilter::Do(), MCOF::Do(), MApplyEnergyThresholds::Do(), and MLightRootFileReader::Fill().
| void QEventAuxData::SetInt | ( | const std::string & | key, | |
| int | obj, | |||
| const char * | option = "" | |||
| ) | [inline] |
Add an int to QEventAuxData.
| key | int identificator | |
| obj | int to be added |
References fIntMap.
Referenced by MQinoNtpReader::Do(), MQinoDataReader::Do(), MRootFileReader::Do(), MWienerFilter::Do(), MUserModule::Do(), MFlagCoincidence::Do(), MCoincidenceTiming::Do(), MCoincidenceMultiplicity::Do(), MTestModule::Do(), MLogNormExpFit::Do(), MLogNormBiExpFit::Do(), MOTAmplitude::Do(), MOT::Do(), MMuonCoincidence::Do(), MHeaterFlagByRegularTiming::Do(), MHeaterFlagByCoincidence::Do(), MCrystalMap::Do(), MWPSlowController::Do(), MWPAnalyzer::Do(), MGGAnalyzer::Do(), MMultiplicity::Do(), MCoincidenceFlagger::Do(), MLightRootFileReader::Fill(), MCalSimulationReader::Fill(), and QLCTriggerFinder::SetAuxData().
| void QEventAuxData::SetDouble | ( | const std::string & | key, | |
| double | obj, | |||
| const char * | option = "" | |||
| ) | [inline] |
Add a double to QEventAuxData.
| key | double identificator | |
| obj | double to be added |
References fDoubleMap.
Referenced by MVibraAnal::Do(), MQinoNtpReader::Do(), MRootFileReader::Do(), MQuickFileReader::Do(), MUserModule::Do(), MCoincidenceTiming::Do(), MCoincidenceMultiplicity::Do(), MTestModule::Do(), MPulseGenerator::Do(), MLogNormExpFit::Do(), MLogNormBiExpFit::Do(), MBoloModelFit::Do(), MPulseShapeChiSquare::Do(), MPulseBasicParameters::Do(), MBaselineModule::Do(), MOTAmplitude::Do(), MOBFilter::Do(), MMuonCoincidence::Do(), MApplyPSAThresholds::Do(), MApplyFitPSA::Do(), MApplyCalibration::Do(), MOBChiSquareCut::Do(), MMultiplicity::Do(), MLightRootFileReader::Fill(), and MCalSimulationReader::Fill().
| void QEventAuxData::SetString | ( | const std::string & | key, | |
| const std::string & | obj, | |||
| const char * | option = "" | |||
| ) | [inline] |
Add a string to QEventAuxData.
| key | string identificator | |
| obj | string to be added |
References fStringMap.
Referenced by MRootFileReader::Do(), MUserModule::Do(), MTestModule::Do(), and MLightRootFileReader::Fill().
| const TObject* QEventAuxData::GetTObject | ( | const std::string & | key | ) | const [inline] |
Get a TObject.
| key | TObject identificator |
References fTObjectMap.
Referenced by MRootNtpDumper::Dump(), and MRootFileWriter::Dump().
| const QObject* QEventAuxData::GetQObject | ( | const std::string & | key | ) | const [inline] |
Get a QObject.
| key | QObject identificator |
References fQObjectMap.
Referenced by MTestRawEvent::Do(), MTestModule::Do(), MOptimumFilter::Do(), MRootNtpDumper::Dump(), and MRootFileWriter::Dump().
| int QEventAuxData::GetInt | ( | const std::string & | key | ) | const [inline] |
Get an int.
| key | int identificator |
References fIntMap.
Referenced by MQinoMiCompleteDataReaderFast::Do(), MQinoMiCompleteDataReader::Do(), MUserModule::Do(), MCoincidenceMultiplicity::Do(), MTestRawEvent::Do(), MTestModule::Do(), MMultipletViewer::Do(), MHeaterFlagByRegularTiming::Do(), MWPSlowController::Do(), MWPAnalyzer::Do(), MLCCurveAnalyzer::Do(), MGGAnalyzer::Do(), MRootNtpDumper::Dump(), MRootFileWriter::Dump(), MLCPreprocessFilter::Filter(), and MLCNullIdFilter::Filter().
| bool QEventAuxData::GetBool | ( | const std::string & | key | ) | const [inline] |
Get an bool.
| key | bool identificator |
References fBoolMap.
Referenced by MUserModule::Do(), MTestRawEvent::Do(), MTestModule::Do(), MPSAThresholds::Do(), MCopyK40FlagByEventList::Do(), MRootNtpDumper::Dump(), MRootFileWriter::Dump(), MRootFileCut::Filter(), and MFilterResult::Filter().
| float QEventAuxData::GetFloat | ( | const std::string & | key | ) | const [inline] |
Get an float.
| key | float identificator |
References fFloatMap.
Referenced by MUserModule::Do(), MTestModule::Do(), MCreateDetectorConfig::Do(), MRootNtpDumper::Dump(), and MRootFileWriter::Dump().
| double QEventAuxData::GetDouble | ( | const std::string & | key | ) | const [inline] |
Get a double.
| key | double identificator |
References fDoubleMap.
Referenced by MUserModule::Do(), MTestModule::Do(), MMultipletViewer::Do(), MPSAThresholds::Do(), MApplyPSAThresholds::Do(), MApplyFitPSA::Do(), MWPAnalyzer::Do(), MSetOBChiSquareCuts::Do(), MOBChiSquareCut::Do(), MQinoMiNtpWriter::Dump(), MRootNtpDumper::Dump(), MRootFileWriter::Dump(), MCoincidenceVeto::Filter(), and MAvgPulseFilter::Filter().
| std::string QEventAuxData::GetString | ( | const std::string & | key | ) | const [inline] |
Get a string.
| key | string identificator |
References fStringMap.
Referenced by MUserModule::Do(), MTestModule::Do(), MRootNtpDumper::Dump(), and MRootFileWriter::Dump().
1.5.6