Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DRFDigiTime.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DRFDigiTime.h
4 // Created: Mon Mar 30 10:51:39 EDT 2015
5 // Creator: pmatt (on Linux pmattdesktop.jlab.org 2.6.32-504.12.2.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _DRFDigiTime_
9 #define _DRFDigiTime_
10 
11 #include <JANA/JObject.h>
12 #include <JANA/JFactory.h>
13 
14 #include "DAQ/DModuleType.h"
15 #include "GlueX.h"
16 
17 using namespace std;
18 
19 class DRFDigiTime : public jana::JObject
20 {
21  public:
22  JOBJECT_PUBLIC(DRFDigiTime);
23 
25  uint32_t time;
26 
27  void toStrings(vector<pair<string,string> > &items)const{
28  AddString(items, "System", "%s", SystemName(dSystem));
29  AddString(items, "time", "%u", time);
30  }
31 };
32 
33 #endif // _DRFDigiTime_
34 
DetectorSystem_t dSystem
Definition: DRFDigiTime.h:24
DetectorSystem_t
Definition: GlueX.h:15
uint32_t time
Definition: DRFDigiTime.h:25
const char * SystemName(DetectorSystem_t sys)
Definition: GlueX.h:38
void toStrings(vector< pair< string, string > > &items) const
Definition: DRFDigiTime.h:27