Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Df250AsyncPedestal.h
Go to the documentation of this file.
1 #ifndef _Df250AsyncPedestal_
2 #define _Df250AsyncPedestal_
3 
4 #include <JANA/JObject.h>
5 #include <JANA/JObject.h>
6 
7 using namespace jana;
8 using namespace std;
9 
10 class Df250AsyncPedestal:public jana::JObject{
11  public:
12  JOBJECT_PUBLIC(Df250AsyncPedestal);
13 
14  uint32_t nsync;
15  uint32_t trig_number;
16 
17  int crate;
18 
19  vector<uint32_t> fa250_ped;
20 
21  // This method is used primarily for pretty printing
22  // the second argument to AddString is printf style format
23  void toStrings(vector<pair<string,string> > &items)const{
24  AddString(items, "nsync" , "%d" , nsync);
25  AddString(items, "trig_number" , "%d" , trig_number);
26  AddString(items, "crate" , "%d" , crate);
27 
28  AddString(items, "fa250_ped" , "%d" , fa250_ped.size());
29  }
30 };
31 
32 #endif // _Df250AsyncPedestal_
33 
void toStrings(vector< pair< string, string > > &items) const
vector< uint32_t > fa250_ped