Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DDIRCLEDRef.h
Go to the documentation of this file.
1 // $Id: DDIRCLEDRef.h
2 //
3 /// File: DDIRCLEDRef.h
4 //
5 
6 #ifndef _DDIRCLEDRef_
7 #define _DDIRCLEDRef_
8 
9 #include "JANA/JObject.h"
10 #include "JANA/JFactory.h"
11 
12 class DDIRCLEDRef:public jana::JObject{
13 
14  public:
16 
17  float amp; // Signal max Amplitude, ADC counts
18  float integral; // Signal integral
19  float t_fADC; // time from adc
20  float t_TDC; // time from tdc
21  float t; // walk corrected time
22  bool has_fADC;
23  bool has_TDC;
24 
25  void toStrings(vector<pair<string,string> > &items)const{
26  AddString(items, "integral", "%12.4f", integral);
27  AddString(items, "amp", "%12.4f", amp);
28  AddString(items, "t", "%12.4f", t);
29  AddString(items, "t_TDC","%12.4f",t_TDC);
30  AddString(items, "t_fADC","%12.4f",t_fADC);
31  }
32 };
33 
34 #endif // _DDIRCLEDRef_
35 
bool has_TDC
Definition: DDIRCLEDRef.h:23
File: DDIRCLEDRef.h.
Definition: DDIRCLEDRef.h:12
JOBJECT_PUBLIC(DDIRCLEDRef)
float t_fADC
Definition: DDIRCLEDRef.h:19
void toStrings(vector< pair< string, string > > &items) const
Definition: DDIRCLEDRef.h:25
float integral
Definition: DDIRCLEDRef.h:18
float t_TDC
Definition: DDIRCLEDRef.h:20
bool has_fADC
Definition: DDIRCLEDRef.h:22