Classes | |
struct | hltinfo |
Public Types | |
typedef std::map< unsigned int, std::string, std::less < unsigned int > > | HltPathMap |
typedef std::vector< std::map < unsigned int, HLTV32DB::hltinfo, std::less < unsigned int > > > | HltResult |
Public Member Functions | |
virtual const std::string | dataType () const |
HLTV32DB (const std::string &dest) | |
virtual void | retrieveData (unsigned int) |
virtual const std::string | sourceType () const |
void | writeHltData (coral::ISessionProxy *lumisession, unsigned int irunnumber, const std::string &source, unsigned int npath, HltResult::iterator hltBeg, HltResult::iterator hltEnd, unsigned int commitintv) |
void | writeHltDataToSchema2 (coral::ISessionProxy *lumisession, unsigned int irunnumber, const std::string &source, unsigned int npath, HltResult::iterator hltBeg, HltResult::iterator hltEnd, HltPathMap &hltpathmap, unsigned int commitintv) |
virtual | ~HLTV32DB () |
Public Member Functions inherited from lumi::DataPipe | |
DataPipe (const std::string &) | |
std::string | getAuthPath () const |
std::string | getMode () const |
float | getNorm () const |
std::string | getSource () const |
void | setAuthPath (const std::string &authpath) |
void | setMode (const std::string &mode) |
void | setNoCheckingStableBeam () |
void | setNorm (float norm) |
void | setNoValidate () |
void | setSource (const std::string &source) |
virtual | ~DataPipe () |
Static Public Attributes | |
static const unsigned int | COMMITINTERVAL =200 |
static const unsigned int | COMMITLSINTERVAL =500 |
Additional Inherited Members | |
Protected Attributes inherited from lumi::DataPipe | |
std::string | m_authpath |
std::string | m_dest |
std::string | m_mode |
bool | m_nocheckingstablebeam |
float | m_norm |
bool | m_novalidate |
std::string | m_source |
Definition at line 34 of file HLTV32DB.cc.
typedef std::map< unsigned int, std::string , std::less<unsigned int> > lumi::HLTV32DB::HltPathMap |
Definition at line 52 of file HLTV32DB.cc.
typedef std::vector< std::map<unsigned int,HLTV32DB::hltinfo,std::less<unsigned int> > > lumi::HLTV32DB::HltResult |
Definition at line 53 of file HLTV32DB.cc.
|
explicit |
Definition at line 76 of file HLTV32DB.cc.
|
virtual |
Definition at line 506 of file HLTV32DB.cc.
|
virtual |
Implements lumi::DataPipe.
Definition at line 500 of file HLTV32DB.cc.
|
virtual |
retrieve hlt info with 3 queries from runinfo
Implements lumi::DataPipe.
Definition at line 77 of file HLTV32DB.cc.
References trackerHits::c, lumi::HLTV32DB::hltinfo::cmsluminr, COMMITINTERVAL, COMMITLSINTERVAL, gather_cfg::cout, python.DBCopy::destsession, edm::hlt::Exception, lumi::HLTV32DB::hltinfo::hltaccept, lumi::HLTV32DB::hltinfo::hltinput, i, lumi::DataPipe::m_authpath, lumi::DataPipe::m_dest, lumi::DataPipe::m_mode, lumi::DataPipe::m_source, lumi::HLTV32DB::hltinfo::pathname, timingPdfMaker::pathname, lumi::HLTV32DB::hltinfo::prescale, q1, lumi::DBConfig::setAuthentication(), python.CommonUtils::svc, writeHltData(), and writeHltDataToSchema2().
|
virtual |
void lumi::HLTV32DB::writeHltData | ( | coral::ISessionProxy * | lumisession, |
unsigned int | irunnumber, | ||
const std::string & | source, | ||
unsigned int | npath, | ||
HltResult::iterator | hltBeg, | ||
HltResult::iterator | hltEnd, | ||
unsigned int | commitintv | ||
) |
Definition at line 288 of file HLTV32DB.cc.
References estimatePileup2::cmslsnum, gather_cfg::cout, lumi::idDealer::generateNextIDForTable(), lumi::LumiNames::hltTableName(), i, and timingPdfMaker::pathname.
Referenced by retrieveData().
void lumi::HLTV32DB::writeHltDataToSchema2 | ( | coral::ISessionProxy * | lumisession, |
unsigned int | irunnumber, | ||
const std::string & | source, | ||
unsigned int | npath, | ||
HltResult::iterator | hltBeg, | ||
HltResult::iterator | hltEnd, | ||
HltPathMap & | hltpathmap, | ||
unsigned int | commitintv | ||
) |
Definition at line 374 of file HLTV32DB.cc.
References lumi::RevisionDML::addEntry(), lumi::RevisionDML::addRevision(), lumi::RevisionDML::bookNewEntry(), lumi::RevisionDML::bookNewRevision(), estimatePileup2::cmslsnum, gather_cfg::cout, lumi::RevisionDML::Entry::data_id, lumi::RevisionDML::Entry::entry_id, lumi::RevisionDML::Entry::entry_name, lumi::RevisionDML::getEntryInBranchByName(), lumi::LumiNames::hltdataTableName(), dataDML::hltrundata, lumi::RevisionDML::insertHltRunData(), lumi::LumiNames::lshltTableName(), lumi::RevisionDML::HltEntry::npath, lumi::RevisionDML::HltEntry::pathnames, lumiPlot::pathnames, makeHLTPrescaleTable::prescales, lumi::RevisionDML::Entry::revision_id, lumi::RevisionDML::HltEntry::runnumber, LaserTracksInput_cfi::source, and lumi::RevisionDML::HltEntry::source.
Referenced by retrieveData().
|
static |
Definition at line 37 of file HLTV32DB.cc.
Referenced by retrieveData().
|
static |
Definition at line 38 of file HLTV32DB.cc.
Referenced by retrieveData().