Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTPOLHit.h
Go to the documentation of this file.
1 #ifndef _DTPOLHit_
2 #define _DTPOLHit_
3 
4 #include <JANA/JObject.h>
5 #include <JANA/JFactory.h>
6 
7 class DTPOLHit:public jana::JObject{
8 public:
10 
11  int sector; // sector number 1-32
12  double phi;
13  int ring; // ring number 1-24
14  double theta;
15  double pulse_peak;
16  double integral;
17  double dE; // Energy loss in keV
18  double t;
19 
20  void toStrings(vector<pair<string,string> > &items)const{
21  AddString(items, "sector", "%d", sector);
22  AddString(items, "phi", "%3.3f", phi);
23  AddString(items, "ring", "%d", ring);
24  AddString(items, "theta", "%3.3f", theta);
25  AddString(items, "pulse_peak", "%3.3f", pulse_peak);
26  AddString(items, "integral", "%3.3f", integral);
27  AddString(items, "dE", "%3.3f", dE);
28  AddString(items, "t", "%3.3f", t);
29  }
30 };
31 
32 #endif // _DTPOLHit_
int sector
Definition: DTPOLHit.h:11
void toStrings(vector< pair< string, string > > &items) const
Definition: DTPOLHit.h:20
double dE
Definition: DTPOLHit.h:17
int ring
Definition: DTPOLHit.h:13
double pulse_peak
Definition: DTPOLHit.h:15
JOBJECT_PUBLIC(DTPOLHit)
double phi
Definition: DTPOLHit.h:12
double integral
Definition: DTPOLHit.h:16
double t
Definition: DTPOLHit.h:18
double theta
Definition: DTPOLHit.h:14