Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DPSCTDCDigiHit.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DPSCTDCDigiHit.h
4 // Created: Wed Oct 15 16:46:32 EDT 2014
5 // Creator: staylor (on Linux gluon05.jlab.org 2.6.32-358.18.1.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _DPSCTDCDigiHit_
9 #define _DPSCTDCDigiHit_
10 
11 #include <JANA/JObject.h>
12 #include <JANA/JFactory.h>
13 
14 class DPSCTDCDigiHit:public jana::JObject{
15  public:
17 
18  // Add data members here. For example:
20 
21  uint32_t time;
22 
23  void toStrings(vector<pair<string,string> > &items)const{
24  AddString(items, "counter_id", "%d", counter_id);
25  AddString(items, "time", "%d", time);
26  }
27 };
28 
29 #endif // _DPSCTDCDigiHit_
30 
JOBJECT_PUBLIC(DPSCTDCDigiHit)
void toStrings(vector< pair< string, string > > &items) const