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
DSCTDCDigiHit.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DSCTDCDigiHit.h
4
// Created: Tue Aug 6 13:02:22 EDT 2013
5
// Creator: davidl (on Darwin harriet.jlab.org 11.4.2 i386)
6
//
7
8
#ifndef _DSCTDCDigiHit_
9
#define _DSCTDCDigiHit_
10
11
#include <JANA/JObject.h>
12
#include <JANA/JFactory.h>
13
14
class
DSCTDCDigiHit
:
public
jana::JObject{
15
public
:
16
JOBJECT_PUBLIC
(
DSCTDCDigiHit
);
17
18
// Add data members here. For example:
19
int
sector
;
///< sector number 1-24
20
21
uint32_t
time
;
22
23
// This method is used primarily for pretty printing
24
// the second argument to AddString is printf style format
25
void
toStrings
(vector<pair<string,string> > &items)
const
{
26
AddString(items,
"sector"
,
"%d"
,
sector
);
27
AddString(items,
"time"
,
"%d"
,
time
);
28
}
29
30
};
31
32
#endif // _DSCTDCDigiHit_
33
DSCTDCDigiHit::sector
int sector
sector number 1-24
Definition:
DSCTDCDigiHit.h:19
DSCTDCDigiHit::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DSCTDCDigiHit)
DSCTDCDigiHit
Definition:
DSCTDCDigiHit.h:14
DSCTDCDigiHit::time
uint32_t time
Definition:
DSCTDCDigiHit.h:21
DSCTDCDigiHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DSCTDCDigiHit.h:25
libraries
START_COUNTER
DSCTDCDigiHit.h
Generated on Fri Jul 26 2019 14:01:21 for Hall-D Software by
1.8.5