CMS 3D CMS Logo

RunInfoRead.cc
Go to the documentation of this file.
1 //#include "CondFormats/Common/interface/TimeConversions.h"
2 //#include "CondFormats/Common/interface/Time.h"
7 #include "RelationalAccess/ISessionProxy.h"
8 #include "RelationalAccess/ITransaction.h"
9 #include "RelationalAccess/ISchema.h"
10 #include "RelationalAccess/ITable.h"
11 #include "RelationalAccess/IQuery.h"
12 #include "RelationalAccess/ICursor.h"
13 #include "CoralBase/AttributeList.h"
14 #include "CoralBase/Attribute.h"
15 #include "CoralBase/AttributeSpecification.h"
16 #include "CoralBase/TimeStamp.h"
17 #include <algorithm>
18 #include <iostream>
19 #include <iterator>
20 #include <memory>
21 #include <stdexcept>
22 #include <vector>
23 #include <cmath>
24 
25 
26 
27 namespace {
28  std::string dot(".");
29  std::string quote("\"");
30  std::string bNOTb(" NOT ");
31  std::string squoted( const std::string& s ){
32  return quote+s+quote;
33  }
34  //now strings for the tables and columns to be queried
35  std::string sParameterTable( "RUNSESSION_PARAMETER" );
36  std::string sDateTable( "RUNSESSION_DATE" );
37  std::string sStringTable( "RUNSESSION_STRING" );
38  std::string sIdParameterColumn( "ID" );
39  std::string sRunNumberParameterColumn( "RUNNUMBER" );
40  std::string sNameParameterColumn( "NAME" );
41  std::string sRunSessionParameterIdDataColumn( "RUNSESSION_PARAMETER_ID" );
42  std::string sValueDataColumn( "VALUE" );
43  std::string sDCSMagnetTable( "CMSFWMAGNET" );
44  std::string sDCSMagnetCurrentColumn( "CURRENT" );
45  std::string sDCSMagnetChangeDateColumn( "CHANGE_DATE" );
46 }
47 
48 RunInfoRead::RunInfoRead( const std::string& connectionString
49  , const edm::ParameterSet& connectionPset ):
50  m_connectionString( connectionString )
51  ,m_connectionPset( connectionPset ) {}
52 
54 
55 RunInfo
56 RunInfoRead::readData( const std::string & runinfo_schema
57  , const std::string & dcsenv_schema
58  , const int r_number ) {
59  RunInfo temp_sum;
60  //for B currents...
61  bool Bnotchanged = false;
62  //from TimeConversions.h
63  const boost::posix_time::ptime time0 = boost::posix_time::from_time_t(0);
64  //if cursor is null setting null values
65  temp_sum.m_run = r_number;
66  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: Initialising Connection Pool" << std::endl;
68  connection.setParameters( m_connectionPset );
69  connection.configure();
70  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: Initialising read-only session to " << m_connectionString << std::endl;
71  std::shared_ptr<coral::ISessionProxy> session = connection.createCoralSession( m_connectionString, false );
72  try{
73  session->transaction().start( true );
74  coral::ISchema& schema = session->schema( runinfo_schema );
75  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: Accessing schema " << runinfo_schema << std::endl;
76  //new query to obtain the start_time
77  std::unique_ptr<coral::IQuery> query( schema.newQuery() );
78  query->addToTableList( sParameterTable );
79  query->addToTableList( sDateTable );
80  query->addToOutputList( sValueDataColumn );
81  coral::AttributeList runTimeDataOutput;
82  runTimeDataOutput.extend<coral::TimeStamp>( sValueDataColumn );
83  query->defineOutput( runTimeDataOutput );
84  std::string runStartWhereClause( sRunNumberParameterColumn + std::string( "=:n_run AND " )
85  + sNameParameterColumn + std::string( "='CMS.LVL0:START_TIME_T' AND " )
86  + sIdParameterColumn + std::string( "=" ) + sRunSessionParameterIdDataColumn );
87  coral::AttributeList runNumberBindVariableList;
88  runNumberBindVariableList.extend<int>( "n_run" );
89  runNumberBindVariableList[ "n_run" ].data<int>() = r_number;
90  query->setCondition( runStartWhereClause, runNumberBindVariableList );
91  coral::ICursor& runStartCursor = query->execute();
92  coral::TimeStamp start; //now all times are UTC!
93  if( runStartCursor.next() ) {
94  std::ostringstream osstartdebug;
95  runStartCursor.currentRow().toOutputStream( osstartdebug );
96  LogDebug( "RunInfoReader" ) << osstartdebug.str() << std::endl;
97  const coral::AttributeList& row = runStartCursor.currentRow();
98  start = row[ sValueDataColumn ].data<coral::TimeStamp>();
99  LogDebug( "RunInfoReader" ) << "UTC start time extracted == "
100  << "-->year " << start.year()
101  << "-- month " << start.month()
102  << "-- day " << start.day()
103  << "-- hour " << start.hour()
104  << "-- minute " << start.minute()
105  << "-- second " << start.second()
106  << "-- nanosecond " << start.nanosecond()
107  << std::endl;
108  boost::posix_time::ptime start_ptime = start.time();
109  boost::posix_time::time_duration startTimeFromEpoch = start_ptime - time0;
110  temp_sum.m_start_time_str = boost::posix_time::to_iso_extended_string(start_ptime);
111  temp_sum.m_start_time_ll = startTimeFromEpoch.total_microseconds();
112  std::ostringstream osstart;
113  osstart << "[RunInfoRead::" << __func__ << "]: Timestamp for start of run " << r_number << std::endl
114  << "Posix time: " << start_ptime << std::endl
115  << "ISO string: " << temp_sum.m_start_time_str << std::endl
116  << "Microsecond since Epoch (UTC): " << temp_sum.m_start_time_ll;
117  edm::LogInfo( "RunInfoReader" ) << osstart.str() << std::endl;
118  }
119  else {
120  std::stringstream errMsg;
121  errMsg << "[RunInfoRead::" << __func__ << "]: run " << r_number << " start time not found.";
122  throw std::runtime_error(errMsg.str());
123  }
124 
125  //new query to obtain the stop_time
126  query.reset( schema.newQuery() );
127  query->addToTableList( sParameterTable );
128  query->addToTableList( sDateTable );
129  query->addToOutputList( sValueDataColumn );
130  query->defineOutput( runTimeDataOutput );
131  std::string runStopWhereClause( sRunNumberParameterColumn + std::string( "=:n_run AND " )
132  + sNameParameterColumn + std::string( "='CMS.LVL0:STOP_TIME_T' AND " )
133  + sIdParameterColumn + std::string( "=" ) + sRunSessionParameterIdDataColumn );
134  query->setCondition( runStopWhereClause, runNumberBindVariableList );
135  coral::ICursor& runStopCursor = query->execute();
136  coral::TimeStamp stop;
137  if( runStopCursor.next() ) {
138  std::ostringstream osstopdebug;
139  runStopCursor.currentRow().toOutputStream( osstopdebug );
140  LogDebug( "RunInfoReader" ) << osstopdebug.str() << std::endl;
141  const coral::AttributeList& row = runStopCursor.currentRow();
142  stop = row[ sValueDataColumn ].data<coral::TimeStamp>();
143  LogDebug( "RunInfoReader" ) << "stop time extracted == "
144  << "-->year " << stop.year()
145  << "-- month " << stop.month()
146  << "-- day " << stop.day()
147  << "-- hour " << stop.hour()
148  << "-- minute " << stop.minute()
149  << "-- second " << stop.second()
150  << "-- nanosecond " << stop.nanosecond()
151  << std::endl;
152  boost::posix_time::ptime stop_ptime = stop.time();
153  boost::posix_time::time_duration stopTimeFromEpoch = stop_ptime - time0;
154  temp_sum.m_stop_time_str = boost::posix_time::to_iso_extended_string(stop_ptime);
155  temp_sum.m_stop_time_ll = stopTimeFromEpoch.total_microseconds();
156  std::ostringstream osstop;
157  osstop << "[RunInfoRead::" << __func__ << "]: Timestamp for stop of run " << r_number << std::endl
158  << "Posix time: " << stop_ptime << std::endl
159  << "ISO string: " << temp_sum.m_stop_time_str << std::endl
160  << "Microsecond since Epoch (UTC): " << temp_sum.m_stop_time_ll;
161  edm::LogInfo( "RunInfoReader" ) << osstop.str() << std::endl;
162  }
163  else {
164  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: run " << r_number
165  << " stop time not found." << std::endl;
166  temp_sum.m_stop_time_str = "null";
167  temp_sum.m_stop_time_ll = -1;
168  }
169 
170  //new query for obtaining the list of FEDs included in the run
171  query.reset( schema.newQuery() );
172  query->addToTableList( sParameterTable );
173  query->addToTableList( sStringTable );
174  query->addToOutputList( sValueDataColumn );
175  query->defineOutputType( sValueDataColumn, "string" );
176  std::string fedWhereClause( sRunNumberParameterColumn + std::string( "=:n_run AND " )
177  + sNameParameterColumn + std::string( "='CMS.LVL0:FED_ENABLE_MASK' AND " )
178  + sIdParameterColumn + std::string( "=" ) + sRunSessionParameterIdDataColumn );
179  query->setCondition( fedWhereClause, runNumberBindVariableList );
180  coral::ICursor& fedCursor = query->execute();
181  std::string fed;
182  if ( fedCursor.next() ) {
183  std::ostringstream osfeddebug;
184  fedCursor.currentRow().toOutputStream( osfeddebug );
185  LogDebug( "RunInfoReader" ) << osfeddebug.str() << std::endl;
186  const coral::AttributeList& row = fedCursor.currentRow();
187  fed = row[ sValueDataColumn ].data<std::string>();
188  }
189  else {
190  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: run " << r_number
191  << "has no FED included." << std::endl;
192  fed="null";
193  }
194  std::replace(fed.begin(), fed.end(), '%', ' ');
195  std::stringstream stream(fed);
196  for(;;) {
197  std::string word;
198  if ( !(stream >> word) ){break;}
199  std::replace(word.begin(), word.end(), '&', ' ');
200  std::stringstream ss(word);
201  int fedNumber;
202  int val;
203  ss >> fedNumber >> val;
204  LogDebug( "RunInfoReader" ) << "FED: " << fedNumber << " --> value: " << val << std::endl;
205  //val bit 0 represents the status of the SLINK, but 5 and 7 means the SLINK/TTS is ON but NA or BROKEN (see mail of alex....)
206  if( (val & 0001) == 1 && (val != 5) && (val != 7) )
207  temp_sum.m_fed_in.push_back(fedNumber);
208  }
209  std::ostringstream osfed;
210  osfed << "[RunInfoRead::" << __func__ << "]: feds included in run " << r_number << ": ";
211  std::copy(temp_sum.m_fed_in.begin(), temp_sum.m_fed_in.end(), std::ostream_iterator<int>(osfed, ", "));
212  edm::LogInfo( "RunInfoReader" ) << osfed.str() << std::endl;
213 
214  //we connect now to the DCS schema in order to retrieve the magnet current
215  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: Accessing schema " << dcsenv_schema << std::endl;
216  coral::ISchema& schema2 = session->schema( dcsenv_schema );
217  query.reset( schema2.tableHandle( sDCSMagnetTable ).newQuery() );
218  query->addToOutputList( squoted( sDCSMagnetCurrentColumn ), sDCSMagnetCurrentColumn );
219  query->addToOutputList( sDCSMagnetChangeDateColumn );
220  coral::AttributeList magnetDataOutput;
221  magnetDataOutput.extend<float>( sDCSMagnetCurrentColumn );
222  magnetDataOutput.extend<coral::TimeStamp>( sDCSMagnetChangeDateColumn );
223  query->defineOutput( magnetDataOutput );
224  //condition
225  coral::AttributeList magnetCurrentBindVariableList;
226  float last_current = -1;
227  magnetCurrentBindVariableList.extend<coral::TimeStamp>( "runstart_time" );
228  magnetCurrentBindVariableList[ "runstart_time" ].data<coral::TimeStamp>() = start;
229  std::string magnetCurrentWhereClause;
230  if(temp_sum.m_stop_time_str != "null") {
231  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: Accessing the magnet currents measured during run " << r_number
232  << " between " << temp_sum.m_start_time_str
233  << " and " << temp_sum.m_stop_time_str << std::endl;
234  magnetCurrentBindVariableList.extend<coral::TimeStamp>( "runstop_time" );
235  magnetCurrentBindVariableList[ "runstop_time" ].data<coral::TimeStamp>() = stop;
236  magnetCurrentWhereClause = std::string( "NOT " ) + squoted(sDCSMagnetCurrentColumn) + std::string( " IS NULL AND " )
237  + sDCSMagnetChangeDateColumn + std::string( ">:runstart_time AND " )
238  + sDCSMagnetChangeDateColumn + std::string( "<:runstop_time" );
239  } else {
240  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: Accessing the magnet currents measured before run " << r_number
241  << "start time " << temp_sum.m_start_time_str << std::endl;
242  magnetCurrentWhereClause = std::string( "NOT " ) + squoted(sDCSMagnetCurrentColumn) + std::string( " IS NULL AND " )
243  + sDCSMagnetChangeDateColumn + std::string( "<:runstart_time" );
244  }
245  query->setCondition( magnetCurrentWhereClause, magnetCurrentBindVariableList );
246  query->addToOrderList( sDCSMagnetChangeDateColumn + std::string( " DESC" ) );
247  query->limitReturnedRows( 10000 );
248  coral::ICursor& magnetCurrentCursor = query->execute();
249  coral::TimeStamp lastCurrentDate;
250  std::string last_date;
251  std::vector<double> time_curr;
252 
253  bool changeFound = false;
254  // first process the changes found within the run boundaries
255  while( magnetCurrentCursor.next() ) {
256  std::ostringstream oscurrentdebug;
257  magnetCurrentCursor.currentRow().toOutputStream( oscurrentdebug );
258  LogDebug( "RunInfoReader" ) << oscurrentdebug.str() << std::endl;
259  const coral::AttributeList& row = magnetCurrentCursor.currentRow();
260  lastCurrentDate = row[sDCSMagnetChangeDateColumn].data<coral::TimeStamp>();
261  temp_sum.m_current.push_back( row[sDCSMagnetCurrentColumn].data<float>() );
262  changeFound = true;
263  if(temp_sum.m_stop_time_str == "null") break;
264  LogDebug( "RunInfoReader" ) << " last current time extracted == "
265  << "-->year " << lastCurrentDate.year()
266  << "-- month " << lastCurrentDate.month()
267  << "-- day " << lastCurrentDate.day()
268  << "-- hour " << lastCurrentDate.hour()
269  << "-- minute " << lastCurrentDate.minute()
270  << "-- second " << lastCurrentDate.second()
271  << "-- nanosecond " << lastCurrentDate.nanosecond()
272  << std::endl;
273  boost::posix_time::ptime lastCurrentDate_ptime = lastCurrentDate.time();
274  boost::posix_time::time_duration lastCurrentDateTimeFromEpoch = lastCurrentDate_ptime - time0;
275  last_date = boost::posix_time::to_iso_extended_string(lastCurrentDate_ptime);
276  long long last_date_ll = lastCurrentDateTimeFromEpoch.total_microseconds();
277  time_curr.push_back(last_date_ll);
278  std::ostringstream ostrans;
279  ostrans << "[RunInfoRead::" << __func__ << "]: Transition of the magnet current " << std::endl
280  << "New value: " << row[sDCSMagnetCurrentColumn].data<float>() << std::endl
281  << "Posix time for the transition timestamp: " << lastCurrentDate_ptime << std::endl
282  << "ISO string for the transition timestamp: " << last_date << std::endl
283  << "Microseconds since Epoch (UTC) for the transition timestamp: " << last_date_ll;
284  edm::LogInfo( "RunInfoReader" ) << ostrans.str() << std::endl;
285  }
286 
287  // if not change is found within run boundaries, search for the most recent change
288  if ( !changeFound ){
289  // we should deal with stable currents... so the query is returning no value and we should take the last modified current value...
290  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: The magnet current did not change during run " << r_number
291  << ". Looking for the most recent change before " << temp_sum.m_stop_time_str << std::endl;
292  Bnotchanged = true;
293  std::unique_ptr<coral::IQuery> lastValueQuery( schema2.tableHandle(sDCSMagnetTable).newQuery() );
294  lastValueQuery->addToOutputList( squoted(sDCSMagnetCurrentColumn), sDCSMagnetCurrentColumn );
295  lastValueQuery->defineOutputType( sDCSMagnetCurrentColumn, "float" );
296  coral::AttributeList lastValueBindVariableList;
297  lastValueBindVariableList.extend<coral::TimeStamp>( "runstop_time" );
298  lastValueBindVariableList[ "runstop_time" ].data<coral::TimeStamp>() = stop;
299  std::string lastValueWhereClause( std::string( " NOT " ) + squoted(sDCSMagnetCurrentColumn) + std::string( " IS NULL AND " )
300  + sDCSMagnetChangeDateColumn + std::string( " <:runstop_time" ) );
301  lastValueQuery->setCondition( lastValueWhereClause, lastValueBindVariableList );
302  lastValueQuery->addToOrderList( sDCSMagnetChangeDateColumn + std::string( " DESC" ) );
303  coral::ICursor& lastValueCursor = lastValueQuery->execute();
304  if( lastValueCursor.next() ) {
305  std::ostringstream oslastvaluedebug;
306  lastValueCursor.currentRow().toOutputStream( oslastvaluedebug );
307  LogDebug( "RunInfoReader" ) << oslastvaluedebug.str() << std::endl;
308  const coral::AttributeList& row = lastValueCursor.currentRow();
309  last_current = row[sDCSMagnetCurrentColumn].data<float>();
310  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: Magnet current of previos run(s), not changed during run " << r_number
311  << ": " << last_current << std::endl;
312  }
313  temp_sum.m_avg_current = last_current;
314  temp_sum.m_min_current = last_current;
315  temp_sum.m_max_current = last_current;
316  temp_sum.m_stop_current = last_current;
317  temp_sum.m_start_current = last_current;
318  }
319  size_t csize = temp_sum.m_current.size();
320  size_t tsize = time_curr.size();
321  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: size of time: " << tsize
322  << ", size of currents: " << csize << std::endl;
323  if(csize != tsize) {
324  edm::LogWarning( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: current and time not filled correctly." << std::endl;
325  }
326  if(tsize > 1) {
327  temp_sum.m_run_intervall_micros = time_curr.front() - time_curr.back();
328  } else {
329  temp_sum.m_run_intervall_micros = 0;
330  }
331  edm::LogInfo( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: Duration in microseconds of the magnet ramp during run " << r_number
332  << ": " << temp_sum.m_run_intervall_micros << std::endl;
333 
334  double wi = 0;
335  double sumwixi = 0;
336  double sumwi = 0;
337  float min = -1;
338  float max = -1;
339 
340  if(csize != 0) {
341  min = temp_sum.m_current.front();
342  max = temp_sum.m_current.front();
343  for(size_t i = 0; i < csize; ++i) {
344  if( (tsize > 1) && ( i < csize - 1 ) ) {
345  wi = (time_curr[i] - time_curr[i+1]);
346  temp_sum.m_times_of_currents.push_back(wi);
347  sumwixi += wi * temp_sum.m_current[i] ;
348  sumwi += wi;
349  }
350  min = std::min(min, temp_sum.m_current[i]);
351  max = std::max(max, temp_sum.m_current[i]);
352  }
353  std::ostringstream oswi;
354  oswi << "[RunInfoRead::" << __func__ << "]: Duration of current values in run " << r_number << ": ";
355  std::copy(temp_sum.m_times_of_currents.begin(), temp_sum.m_times_of_currents.end(), std::ostream_iterator<float>(oswi, ", "));
356  edm::LogInfo( "RunInfoReader" ) << oswi.str() << std::endl;
357  temp_sum.m_start_current = temp_sum.m_current.back();
358  LogDebug( "RunInfoReader" ) << "start current: " << temp_sum.m_start_current << std::endl;
359  temp_sum.m_stop_current = temp_sum.m_current.front();
360  LogDebug( "RunInfoReader" ) << "stop current: " << temp_sum.m_stop_current << std::endl;
361  if (tsize>1) {
362  temp_sum.m_avg_current=sumwixi/sumwi;
363  } else {
364  temp_sum.m_avg_current= temp_sum.m_start_current;
365  }
366  LogDebug( "RunInfoReader" ) << "average current: " << temp_sum.m_avg_current << std::endl;
367  temp_sum.m_max_current= max;
368  LogDebug( "RunInfoReader" ) << "maximum current: " << temp_sum.m_max_current << std::endl;
369  temp_sum.m_min_current= min;
370  LogDebug( "RunInfoReader" ) << "minimum current: " << temp_sum.m_min_current << std::endl;
371  } else {
372  if (!Bnotchanged) {
373  edm::LogWarning( "RunInfoReader" ) << "Inserting fake values for magnet current." << std::endl;
374  temp_sum.m_avg_current = -1;
375  temp_sum.m_min_current = -1;
376  temp_sum.m_max_current = -1;
377  temp_sum.m_stop_current = -1;
378  temp_sum.m_start_current = -1;
379  }
380  }
381  std::ostringstream oscurr;
382  oscurr << "[RunInfoRead::" << __func__ << "]: Values of currents for run " << r_number << std::endl;
383  oscurr << "Average current (A): " << temp_sum.m_avg_current << std::endl;
384  oscurr << "Minimum current (A): " << temp_sum.m_min_current << std::endl;
385  oscurr << "Maximum current (A): " << temp_sum.m_max_current << std::endl;
386  oscurr << "Current at run stop (A): " << temp_sum.m_stop_current << std::endl;
387  oscurr << "Current at run start (A): " << temp_sum.m_start_current;
388  edm::LogInfo( "RunInfoReader" ) << oscurr.str() << std::endl;
389 
390  session->transaction().commit();
391  }
392  catch (const std::exception& e) {
393  throw cms::Exception( "RunInfoReader" ) << "[RunInfoRead::" << __func__ << "]: "
394  << "Unable to create a RunInfo payload. Original Exception:\n"
395  << e.what() << std::endl;
396  }
397 
398  return temp_sum;
399 }
#define LogDebug(id)
const boost::posix_time::ptime time0
def copy(args, dbName)
RunInfoRead(const std::string &connectionString, const edm::ParameterSet &connectionPset)
Definition: RunInfoRead.cc:48
def replace(string, replacements)
def query(query_str, verbose=False)
Definition: das.py:5
RunInfo readData(const std::string &runinfo_schema, const std::string &dcsenv_schema, const int r_number)
Definition: RunInfoRead.cc:56
void setParameters(const edm::ParameterSet &connectionPset)
Definition: query.py:1
std::vector< int > m_fed_in
Definition: RunInfo.h:26
std::string m_start_time_str
Definition: RunInfo.h:23
T min(T a, T b)
Definition: MathUtil.h:58
std::vector< float > m_current
Definition: RunInfo.h:33
float m_stop_current
Definition: RunInfo.h:28
long long m_stop_time_ll
Definition: RunInfo.h:24
edm::ParameterSet m_connectionPset
Definition: RunInfoRead.h:16
float m_min_current
Definition: RunInfo.h:31
float m_avg_current
Definition: RunInfo.h:29
float m_run_intervall_micros
Definition: RunInfo.h:32
float m_max_current
Definition: RunInfo.h:30
T dot(const Basic3DVector &v) const
Scalar product, or "dot" product, with a vector of same type.
float m_start_current
Definition: RunInfo.h:27
std::string m_stop_time_str
Definition: RunInfo.h:25
int m_run
Definition: RunInfo.h:21
std::string m_connectionString
Definition: RunInfoRead.h:15
std::vector< float > m_times_of_currents
Definition: RunInfo.h:34
std::shared_ptr< coral::ISessionProxy > createCoralSession(const std::string &connectionString, bool writeCapable=false)
long long m_start_time_ll
Definition: RunInfo.h:22