Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTAGMTDCDigiHit.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DTAGMTDCDigiHit.h
4 // Created: Tue Aug 6 13:02:22 EDT 2013
5 // Creator: davidl (on Darwin harriet.jlab.org 11.4.2 i386)
6 //
7 
8 #ifndef _DTAGMTDCDigiHit_
9 #define _DTAGMTDCDigiHit_
10 
11 #include <JANA/JObject.h>
12 #include <JANA/JFactory.h>
13 
14 class DTAGMTDCDigiHit: public jana::JObject {
15  public:
17 
18  // Add data members here. For example:
19  int row; ///< row number 1-5
20  int column; ///< column number 1-102
21 
22  uint32_t time;
23 
24  // This method is used primarily for pretty printing
25  // the second argument to AddString is printf style format
26  void toStrings(vector<pair<string,string> > &items)const{
27  AddString(items, "row", "%d", row);
28  AddString(items, "column", "%d", column);
29  AddString(items, "time", "%d", time);
30  }
31 
32 };
33 
34 #endif // _DTAGMTDCDigiHit_
int column
column number 1-102
JOBJECT_PUBLIC(DTAGMTDCDigiHit)
void toStrings(vector< pair< string, string > > &items) const
int row
row number 1-5