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
DCAEN1290TDCBORConfig.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DCAEN1290TDCBORConfig.h
4
// Created: Tue Jan 26 13:04:46 EST 2016
5
// Creator: davidl (on Darwin harriet.jlab.org 13.4.0 i386)
6
//
7
8
#ifndef _DCAEN1290TDCBORConfig_
9
#define _DCAEN1290TDCBORConfig_
10
11
#include <JANA/JObject.h>
12
13
#include <
DAQ/bor_roc.h
>
14
15
// This class inherits both from JObject and caen1190config. The former
16
// so that it can be incorporated easily into the JANA framework.
17
// The latter so we can use the data struct defined in bor_roc.h.
18
// The file bor_roc.h exists in 2 places:
19
//
20
// 1. in the DAQ library of sim-recon
21
// 2. in the vme/src/rcm/monitor directory in the online
22
//
23
24
25
class
DCAEN1290TDCBORConfig
:
public
jana::JObject,
public
caen1190config
{
26
public
:
27
JOBJECT_PUBLIC
(
DCAEN1290TDCBORConfig
);
28
29
DCAEN1290TDCBORConfig
(){}
30
virtual
~DCAEN1290TDCBORConfig
(){}
31
32
// This method is used primarily for pretty printing
33
// the second argument to AddString is printf style format
34
void
toStrings
(vector<pair<string,string> > &items)
const
{
35
AddString(items,
"rocid"
,
"%d"
,
rocid
);
36
AddString(items,
"slot"
,
"%d"
,
slot
);
37
AddString(items,
"firmwareRev"
,
"0x%x"
,
firmwareRev
);
38
AddString(items,
"edge_resolution"
,
"%d"
,
edge_resolution
);
39
AddString(items,
"almostFullLevel"
,
"%d"
,
almostFullLevel
);
40
}
41
42
};
43
44
#endif // _DCAEN1290TDCBORConfig_
45
DCAEN1290TDCBORConfig::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DCAEN1290TDCBORConfig.h:34
DCAEN1290TDCBORConfig::~DCAEN1290TDCBORConfig
virtual ~DCAEN1290TDCBORConfig()
Definition:
DCAEN1290TDCBORConfig.h:30
caen1190config::firmwareRev
uint16_t firmwareRev
Definition:
bor_roc.h:160
bor_roc.h
caen1190config::edge_resolution
uint32_t edge_resolution
Definition:
bor_roc.h:155
caen1190config::slot
uint32_t slot
Definition:
bor_roc.h:153
caen1190config
Definition:
bor_roc.h:150
DCAEN1290TDCBORConfig::DCAEN1290TDCBORConfig
DCAEN1290TDCBORConfig()
Definition:
DCAEN1290TDCBORConfig.h:29
DCAEN1290TDCBORConfig
Definition:
DCAEN1290TDCBORConfig.h:25
DCAEN1290TDCBORConfig::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DCAEN1290TDCBORConfig)
caen1190config::almostFullLevel
uint16_t almostFullLevel
Definition:
bor_roc.h:158
caen1190config::rocid
uint32_t rocid
Definition:
bor_roc.h:152
libraries
DAQ
DCAEN1290TDCBORConfig.h
Generated on Fri Jul 26 2019 14:00:25 for Hall-D Software by
1.8.5