#include <vector>
#include <string>
#include <cstdio>
#include <sstream>
#include "DataFormats/HcalDetId/interface/HcalGenericDetId.h"
#include "DataFormats/HcalDetId/interface/HcalElectronicsId.h"
#include "DataFormats/HcalDetId/interface/HcalDcsDetId.h"
#include "CalibFormats/HcalObjects/interface/HcalText2DetIdConverter.h"
#include "CondFormats/HcalObjects/interface/AllObjects.h"
#include "CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
Go to the source code of this file.
Functions | |
template<class T > | |
bool | dumpHcalMatrixObject (std::ostream &fOutput, const T &fObject) |
template<class T > | |
bool | dumpHcalObject (std::ostream &fOutput, const T &fObject) |
template<class T > | |
bool | dumpHcalSingleFloatObject (std::ostream &fOutput, const T &fObject) |
template<class T > | |
bool | dumpHcalSingleIntObject (std::ostream &fOutput, const T &fObject) |
template<class T > | |
bool | from_string (T &t, const std::string &s, std::ios_base &(*f)(std::ios_base &)) |
template<class T , class S > | |
bool | getHcalMatrixObject (std::istream &fInput, T *fObject, S *fCondObject) |
template<class T , class S > | |
bool | getHcalObject (std::istream &fInput, T *fObject, S *fCondObject) |
template<class T , class S > | |
bool | getHcalSingleFloatObject (std::istream &fInput, T *fObject, S *fCondObject) |
template<class T , class S > | |
bool | getHcalSingleIntObject (std::istream &fInput, T *fObject, S *fCondObject) |
std::vector< std::string > | splitString (const std::string &fLine) |
std::vector< double > | splitStringToDoubleByComma (const std::string &fLine) |
std::vector< float > | splitStringToFloatByComma (const std::string &fLine) |
std::vector< unsigned int > | splitStringToIntByComma (const std::string &fLine) |
bool dumpHcalMatrixObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 328 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::dumpId(), i, j, m, and python.multivaluedict::sort().
bool dumpHcalObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 193 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::dumpId(), python.multivaluedict::sort(), and makeHLTPrescaleTable::values.
bool dumpHcalSingleFloatObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 240 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::dumpId(), python.multivaluedict::sort(), and relativeConstraints::value.
bool dumpHcalSingleIntObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 285 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::dumpId(), python.multivaluedict::sort(), and relativeConstraints::value.
bool HcalDbOmds::from_string | ( | T & | t, |
const std::string & | s, | ||
std::ios_base &(*)(std::ios_base &) | f | ||
) |
Definition at line 159 of file HcalDbASCIIIO.cc.
bool getHcalMatrixObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 304 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::getId(), i, j, DetId::rawId(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool getHcalObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 165 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::getId(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool getHcalSingleFloatObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 214 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::getId(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool getHcalSingleIntObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 259 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::getId(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector<std::string> splitString | ( | const std::string & | fLine | ) |
Definition at line 54 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, i, query::result, dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EgHLTOfflineClient::createLooseTightTrigEff(), getHcalMatrixObject(), getHcalObject(), getHcalSingleFloatObject(), getHcalSingleIntObject(), HcalQIEManager::getHfQieTable(), HcalQIEManager::getQIETableFromFile(), egHLT::MonElemFuncs::initTightLooseDiObjTrigHistsTrigCuts(), egHLT::MonElemFuncs::initTightLooseTrigHists(), and egHLT::MonElemFuncs::initTightLooseTrigHistsTrigCuts().
std::vector<double> splitStringToDoubleByComma | ( | const std::string & | fLine | ) |
Definition at line 114 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, i, query::result, dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector<float> splitStringToFloatByComma | ( | const std::string & | fLine | ) |
Definition at line 94 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, i, query::result, dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector<unsigned int> splitStringToIntByComma | ( | const std::string & | fLine | ) |
Definition at line 74 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, i, query::result, dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.