Hall-D Software
alpha
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DCODAROCInfo.h
Go to the documentation of this file.
1
// $Id$
2
// $HeadURL$
3
//
4
// File: DCODAROCInfo.h
5
// Created: Wed Oct 15 11:35:43 EDT 2014
6
// Creator: davidl (on Darwin harriet.local 13.3.0 i386)
7
//
8
9
#ifndef _DCODAROCInfo_
10
#define _DCODAROCInfo_
11
12
#include <JANA/JObject.h>
13
14
using namespace
jana;
15
using namespace
std;
16
17
class
DCODAROCInfo
:
public
JObject{
18
public
:
19
JOBJECT_PUBLIC(
DCODAROCInfo
);
20
21
uint32_t
rocid
;
22
uint64_t
timestamp
;
23
vector<uint32_t>
misc
;
24
25
// This method is used primarily for pretty printing
26
// the second argument to AddString is printf style format
27
void
toStrings
(vector<pair<string,string> > &items)
const
{
28
AddString(items,
"rocid"
,
"%d"
, rocid);
29
AddString(items,
"timestamp"
,
"%ld"
, timestamp);
30
AddString(items,
"Nmisc"
,
"%d"
, misc.size());
31
}
32
33
};
34
35
#endif // _DCODAROCInfo_
36
DCODAROCInfo::timestamp
uint64_t timestamp
Definition:
DCODAROCInfo.h:22
DCODAROCInfo::rocid
uint32_t rocid
Definition:
DCODAROCInfo.h:21
DCODAROCInfo
Definition:
DCODAROCInfo.h:17
DCODAROCInfo::misc
vector< uint32_t > misc
Definition:
DCODAROCInfo.h:23
DCODAROCInfo::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DCODAROCInfo.h:27
libraries
DAQ
DCODAROCInfo.h
Generated on Fri Jul 26 2019 14:00:27 for Hall-D Software by
1.8.5