Public Types | |
typedef std::vector< unsigned int > | BITCOUNT |
typedef unsigned long long | DEADCOUNT |
typedef float | DEADFRAC |
typedef std::map< unsigned int, std::vector< unsigned int > > | PrescaleResult_Algo |
typedef std::map< unsigned int, 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< DEADFRAC > | TriggerDeadFracResult |
typedef std::vector< std::string > | TriggerNameResult_Algo |
typedef std::vector< std::string > | TriggerNameResult_Tech |
Public Member Functions | |
virtual const std::string | dataType () const override |
std::string | int2str (unsigned int t, unsigned int width) |
virtual unsigned long long | retrieveData (unsigned int runnumber) override |
virtual const std::string | sourceType () const override |
unsigned int | str2int (const std::string &s) |
TRGScalers2DB (const std::string &dest) | |
void | writeTrgData (coral::ISessionProxy *session, unsigned int runnumber, const std::string &source, TriggerDeadCountResult::iterator deadtimesBeg, TriggerDeadCountResult::iterator deadtimesEnd, TRGScalers2DB::TriggerDeadFracResult &deadfracs, TriggerNameResult_Algo &algonames, TriggerNameResult_Tech &technames, TriggerCountResult_Algo &algocounts, TriggerCountResult_Tech &techcounts, PrescaleResult_Algo &prescalealgo, PrescaleResult_Tech &prescaletech, unsigned int commitintv) |
unsigned long long | writeTrgDataToSchema2 (coral::ISessionProxy *session, unsigned int runnumber, const std::string &source, TriggerDeadCountResult::iterator deadtimesBeg, TriggerDeadCountResult::iterator deadtimesEnd, TRGScalers2DB::TriggerDeadFracResult &deadfracs, TriggerNameResult_Algo &algonames, TriggerNameResult_Tech &technames, TriggerCountResult_Algo &algocounts, TriggerCountResult_Tech &techcounts, PrescaleResult_Algo &prescalealgo, PrescaleResult_Tech &prescaletech, unsigned int commitintv) |
virtual | ~TRGScalers2DB () |
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 =150 |
static const unsigned int | COMMITLSTRGINTERVAL =550 |
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 33 of file TRGScalers2DB.cc.
typedef std::vector<unsigned int> lumi::TRGScalers2DB::BITCOUNT |
Definition at line 51 of file TRGScalers2DB.cc.
typedef unsigned long long lumi::TRGScalers2DB::DEADCOUNT |
Definition at line 47 of file TRGScalers2DB.cc.
typedef float lumi::TRGScalers2DB::DEADFRAC |
Definition at line 48 of file TRGScalers2DB.cc.
typedef std::map< unsigned int, std::vector<unsigned int> > lumi::TRGScalers2DB::PrescaleResult_Algo |
Definition at line 54 of file TRGScalers2DB.cc.
typedef std::map< unsigned int, std::vector<unsigned int> > lumi::TRGScalers2DB::PrescaleResult_Tech |
Definition at line 55 of file TRGScalers2DB.cc.
typedef std::vector<BITCOUNT> lumi::TRGScalers2DB::TriggerCountResult_Algo |
Definition at line 52 of file TRGScalers2DB.cc.
typedef std::vector<BITCOUNT> lumi::TRGScalers2DB::TriggerCountResult_Tech |
Definition at line 53 of file TRGScalers2DB.cc.
typedef std::vector<DEADCOUNT> lumi::TRGScalers2DB::TriggerDeadCountResult |
Definition at line 49 of file TRGScalers2DB.cc.
typedef std::vector<DEADFRAC> lumi::TRGScalers2DB::TriggerDeadFracResult |
Definition at line 50 of file TRGScalers2DB.cc.
typedef std::vector<std::string> lumi::TRGScalers2DB::TriggerNameResult_Algo |
Definition at line 44 of file TRGScalers2DB.cc.
typedef std::vector<std::string> lumi::TRGScalers2DB::TriggerNameResult_Tech |
Definition at line 45 of file TRGScalers2DB.cc.
|
explicit |
Definition at line 111 of file TRGScalers2DB.cc.
|
virtual |
Definition at line 966 of file TRGScalers2DB.cc.
|
overridevirtual |
Implements lumi::DataPipe.
Definition at line 943 of file TRGScalers2DB.cc.
std::string lumi::TRGScalers2DB::int2str | ( | unsigned int | t, |
unsigned int | width | ||
) |
Definition at line 950 of file TRGScalers2DB.cc.
|
overridevirtual |
Part I query tables in schema cms_gt_mon
Part II query tables in schema cms_gt
Implements lumi::DataPipe.
Definition at line 112 of file TRGScalers2DB.cc.
|
overridevirtual |
Implements lumi::DataPipe.
Definition at line 946 of file TRGScalers2DB.cc.
unsigned int lumi::TRGScalers2DB::str2int | ( | const std::string & | s | ) |
Definition at line 957 of file TRGScalers2DB.cc.
void lumi::TRGScalers2DB::writeTrgData | ( | coral::ISessionProxy * | session, |
unsigned int | runnumber, | ||
const std::string & | source, | ||
TriggerDeadCountResult::iterator | deadtimesBeg, | ||
TriggerDeadCountResult::iterator | deadtimesEnd, | ||
TRGScalers2DB::TriggerDeadFracResult & | deadfracs, | ||
TriggerNameResult_Algo & | algonames, | ||
TriggerNameResult_Tech & | technames, | ||
TriggerCountResult_Algo & | algocounts, | ||
TriggerCountResult_Tech & | techcounts, | ||
PrescaleResult_Algo & | prescalealgo, | ||
PrescaleResult_Tech & | prescaletech, | ||
unsigned int | commitintv | ||
) |
Definition at line 669 of file TRGScalers2DB.cc.
unsigned long long lumi::TRGScalers2DB::writeTrgDataToSchema2 | ( | coral::ISessionProxy * | session, |
unsigned int | runnumber, | ||
const std::string & | source, | ||
TriggerDeadCountResult::iterator | deadtimesBeg, | ||
TriggerDeadCountResult::iterator | deadtimesEnd, | ||
TRGScalers2DB::TriggerDeadFracResult & | deadfracs, | ||
TRGScalers2DB::TriggerNameResult_Algo & | algonames, | ||
TRGScalers2DB::TriggerNameResult_Tech & | technames, | ||
TRGScalers2DB::TriggerCountResult_Algo & | algocounts, | ||
TRGScalers2DB::TriggerCountResult_Tech & | techcounts, | ||
TRGScalers2DB::PrescaleResult_Algo & | prescalealgo, | ||
TRGScalers2DB::PrescaleResult_Tech & | prescaletech, | ||
unsigned int | commitintv | ||
) |
Definition at line 800 of file TRGScalers2DB.cc.
|
static |
Definition at line 35 of file TRGScalers2DB.cc.
|
static |
Definition at line 36 of file TRGScalers2DB.cc.