Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DCDCHit.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DCDCHit.h
4 // Created: Thu Jun 9 10:22:37 EDT 2005
5 // Creator: davidl (on Darwin wire129.jlab.org 7.8.0 powerpc)
6 //
7 
8 #ifndef _DCDCHit_
9 #define _DCDCHit_
10 
11 #include <JANA/JObject.h>
12 #include <JANA/JFactory.h>
13 
14 class DCDCHit:public jana::JObject{
15  public:
17 
18  int ring;
19  int straw;
20  float q;
21  float amp;
22  float t;
23  float d;
24  int QF;
25  int itrack;
26  int ptype;
27 
28  void toStrings(vector<pair<string,string> > &items)const{
29  AddString(items, "ring", "%d", ring);
30  AddString(items, "straw", "%d", straw);
31  AddString(items, "q", "%10.4e", q);
32  AddString(items, "amp", "%10.4e", amp);
33  AddString(items, "t", "%6.1f", t);
34  AddString(items, "d", "%10.4e", d);
35  AddString(items, "itrack", "%d", itrack);
36  AddString(items, "ptype", "%d", ptype);
37  AddString(items, "QF", "%d", QF);
38  }
39 };
40 
41 #endif // _DCDCHit_
42 
int itrack
Definition: DCDCHit.h:25
void toStrings(vector< pair< string, string > > &items) const
Definition: DCDCHit.h:28
float amp
Definition: DCDCHit.h:21
float t
Definition: DCDCHit.h:22
int ptype
Definition: DCDCHit.h:26
int ring
Definition: DCDCHit.h:18
float q
Definition: DCDCHit.h:20
float d
Definition: DCDCHit.h:23
JOBJECT_PUBLIC(DCDCHit)
int straw
Definition: DCDCHit.h:19
int QF
Definition: DCDCHit.h:24