Public Member Functions | |
virtual const std::string | dataType () const override |
virtual unsigned long long | retrieveData (unsigned int runnumber) override |
virtual const std::string | sourceType () const override |
TRGWBM2DB (const std::string &dest) | |
virtual | ~TRGWBM2DB () |
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 | COMMITLSINTERVAL =20 |
Private Types | |
typedef std::vector< unsigned int > | BITCOUNT |
typedef unsigned long long | DEADCOUNT |
typedef std::vector< unsigned int > | PrescaleResult_Algo |
typedef std::vector< unsigned int > | PrescaleResult_Tech |
typedef std::vector< BITCOUNT > | TriggerCountResult_Algo |
typedef std::vector< BITCOUNT > | TriggerCountResult_Tech |
typedef std::vector< DEADCOUNT > | TriggerDeadCountResult |
typedef std::vector< std::string > | TriggerNameResult_Algo |
typedef std::vector< std::string > | TriggerNameResult_Tech |
Private Member Functions | |
std::string | int2str (unsigned int t, unsigned int width) |
unsigned int | str2int (const std::string &s) |
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 28 of file TRGWBM2DB.cc.
|
private |
Definition at line 48 of file TRGWBM2DB.cc.
|
private |
Definition at line 46 of file TRGWBM2DB.cc.
|
private |
Definition at line 43 of file TRGWBM2DB.cc.
|
private |
Definition at line 44 of file TRGWBM2DB.cc.
|
private |
Definition at line 49 of file TRGWBM2DB.cc.
|
private |
Definition at line 50 of file TRGWBM2DB.cc.
|
private |
Definition at line 47 of file TRGWBM2DB.cc.
|
private |
Definition at line 41 of file TRGWBM2DB.cc.
|
private |
Definition at line 42 of file TRGWBM2DB.cc.
|
explicit |
Definition at line 55 of file TRGWBM2DB.cc.
|
virtual |
Definition at line 636 of file TRGWBM2DB.cc.
|
overridevirtual |
Implements lumi::DataPipe.
Definition at line 613 of file TRGWBM2DB.cc.
|
private |
Definition at line 620 of file TRGWBM2DB.cc.
|
overridevirtual |
transaction.start(true); //true means readonly transaction std::cout<<"schema name "<<session->schema(gtmonschema).schemaName()<<std::endl; std::set<std::string> listofviews; listofviews=session->schema(gtmonschema).listViews(); for( std::set<std::string>::iterator it=listofviews.begin(); it!=listofviews.end();++it ){ std::cout<<"view: "<<*it<<std::endl; } std::cout<<"schema name "<<session->schema(gtschema).schemaName()<<std::endl; listofviews.clear(); listofviews=session->schema(gtschema).listViews(); for( std::set<std::string>::iterator it=listofviews.begin(); it!=listofviews.end();++it ){ std::cout<<"view: "<<*it<<std::endl; } std::cout<<"commit transaction"<<std::endl; transaction.commit();
Part I query tables in schema cms_wbm
Part II query tables in schema cms_gt
Implements lumi::DataPipe.
Definition at line 56 of file TRGWBM2DB.cc.
|
overridevirtual |
Implements lumi::DataPipe.
Definition at line 616 of file TRGWBM2DB.cc.
|
private |
Definition at line 627 of file TRGWBM2DB.cc.
|
static |
Definition at line 30 of file TRGWBM2DB.cc.