25class MeasuredEcmsSvc:
public extends<Service, IMeasuredEcmsSvc>,
virtual public IIncidentListener {
48 void handle(
const Incident&);
60 double getEcmsError() {
return (m_rowNo1 != 0) ? (double)m_dbRecordVector[
m_sele]->GetDouble(
"Ecms_err") : 0.; }
63 double getAverageEcms() {
return (m_rowNo1 != 0) ? (double)m_dbRecordVector[
m_sele]->GetDouble(
"Ave_Ecms") : 0.; }
69 double getSampleName() {
return (m_rowNo1 != 0) ? (double)m_dbRecordVector[
m_sele]->GetDouble(
"sample") : 0.; }
72 double getPx() {
return (m_rowNo2 != 0) ? (double)m_dbRecordVector[
m_sele]->GetDouble(
"px") : 0.011; }
75 double getPy() {
return (m_rowNo2 != 0) ? (double)m_dbRecordVector[
m_sele]->GetDouble(
"py") : 0.; }
78 double getPz() {
return (m_rowNo2 != 0) ? (double)m_dbRecordVector[
m_sele]->GetDouble(
"pz") : 0.; }
101 std::string
getRecord(
int runNo,
char *tab,
char *col,
char *min_col,
char *max_col);
125 IDataProviderSvc *m_eventSvc;