QwAnalysis
QwDBInterface.cc File Reference
#include "QwDBInterface.h"
#include "QwParitySSQLS.h"
#include "QwParityDB.h"
+ Include dependency graph for QwDBInterface.cc:

Go to the source code of this file.

Functions

template<>
QwParitySSQLS::md_data QwDBInterface::TypedDBClone< QwParitySSQLS::md_data > ()
 
template<>
QwParitySSQLS::lumi_data QwDBInterface::TypedDBClone< QwParitySSQLS::lumi_data > ()
 
template<>
QwParitySSQLS::beam QwDBInterface::TypedDBClone< QwParitySSQLS::beam > ()
 
template<>
QwParitySSQLS::md_errors QwErrDBInterface::TypedDBClone< QwParitySSQLS::md_errors > ()
 
template<>
QwParitySSQLS::lumi_errors QwErrDBInterface::TypedDBClone< QwParitySSQLS::lumi_errors > ()
 
template<>
QwParitySSQLS::beam_errors QwErrDBInterface::TypedDBClone< QwParitySSQLS::beam_errors > ()
 
template<>
QwParitySSQLS::general_errors QwErrDBInterface::TypedDBClone< QwParitySSQLS::general_errors > ()
 

Function Documentation

template<>
QwParitySSQLS::beam QwDBInterface::TypedDBClone< QwParitySSQLS::beam > ( )

Definition at line 111 of file QwDBInterface.cc.

111  {
112  QwParitySSQLS::beam row(0);
113  row.analysis_id = fAnalysisId;
114  row.monitor_id = fDeviceId;
115  row.measurement_type_id = fMeasurementTypeId;
116  row.subblock = fSubblock;
117  row.n = fN;
118  row.value = fValue;
119  row.error = fError;
120  return row;
121 }
template<>
QwParitySSQLS::lumi_data QwDBInterface::TypedDBClone< QwParitySSQLS::lumi_data > ( )

Definition at line 99 of file QwDBInterface.cc.

99  {
100  QwParitySSQLS::lumi_data row(0);
101  row.analysis_id = fAnalysisId;
102  row.lumi_detector_id = fDeviceId;
103  row.measurement_type_id = fMeasurementTypeId;
104  row.subblock = fSubblock;
105  row.n = fN;
106  row.value = fValue;
107  row.error = fError;
108  return row;
109 }
template<>
QwParitySSQLS::md_data QwDBInterface::TypedDBClone< QwParitySSQLS::md_data > ( )

Specifications of the templated function template

<class T>

inline T QwDBInterface::TypedDBClone();

Definition at line 87 of file QwDBInterface.cc.

87  {
88  QwParitySSQLS::md_data row(0);
89  row.analysis_id = fAnalysisId;
90  row.main_detector_id = fDeviceId;
91  row.measurement_type_id = fMeasurementTypeId;
92  row.subblock = fSubblock;
93  row.n = fN;
94  row.value = fValue;
95  row.error = fError;
96  return row;
97 }
template<>
QwParitySSQLS::beam_errors QwErrDBInterface::TypedDBClone< QwParitySSQLS::beam_errors > ( )

Definition at line 177 of file QwDBInterface.cc.

177  {
178  QwParitySSQLS::beam_errors row(0);
179  row.analysis_id = fAnalysisId;
180  row.monitor_id = fDeviceId;
181  row.error_code_id = fErrorCodeId;
182  row.n = fN;
183  return row;
184 };
template<>
QwParitySSQLS::general_errors QwErrDBInterface::TypedDBClone< QwParitySSQLS::general_errors > ( )

Definition at line 188 of file QwDBInterface.cc.

188  {
189  QwParitySSQLS::general_errors row(0);
190  row.analysis_id = fAnalysisId;
191  row.error_code_id = fErrorCodeId;
192  row.n = fN;
193  return row;
194 };
template<>
QwParitySSQLS::lumi_errors QwErrDBInterface::TypedDBClone< QwParitySSQLS::lumi_errors > ( )

Definition at line 164 of file QwDBInterface.cc.

164  {
165  QwParitySSQLS::lumi_errors row(0);
166  row.analysis_id = fAnalysisId;
167  row.lumi_detector_id = fDeviceId;
168  row.error_code_id = fErrorCodeId;
169  row.n = fN;
170  return row;
171 };
template<>
QwParitySSQLS::md_errors QwErrDBInterface::TypedDBClone< QwParitySSQLS::md_errors > ( )

Definition at line 153 of file QwDBInterface.cc.

153  {
154  QwParitySSQLS::md_errors row(0);
155  row.analysis_id = fAnalysisId;
156  row.main_detector_id = fDeviceId;
157  row.error_code_id = fErrorCodeId;
158  row.n = fN;
159  return row;
160 };