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
DCDCHit.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DCDCHit.h
4
// Created: Thu Jun 9 10:22:37 EDT 2005
5
// Creator: davidl (on Darwin wire129.jlab.org 7.8.0 powerpc)
6
//
7
8
#ifndef _DCDCHit_
9
#define _DCDCHit_
10
11
#include <JANA/JObject.h>
12
#include <JANA/JFactory.h>
13
14
class
DCDCHit
:
public
jana::JObject{
15
public
:
16
JOBJECT_PUBLIC
(
DCDCHit
);
17
18
int
ring
;
19
int
straw
;
20
float
q
;
21
float
amp
;
22
float
t
;
23
float
d
;
24
int
QF
;
25
int
itrack
;
26
int
ptype
;
27
28
void
toStrings
(vector<pair<string,string> > &items)
const
{
29
AddString(items,
"ring"
,
"%d"
,
ring
);
30
AddString(items,
"straw"
,
"%d"
,
straw
);
31
AddString(items,
"q"
,
"%10.4e"
,
q
);
32
AddString(items,
"amp"
,
"%10.4e"
,
amp
);
33
AddString(items,
"t"
,
"%6.1f"
,
t
);
34
AddString(items,
"d"
,
"%10.4e"
,
d
);
35
AddString(items,
"itrack"
,
"%d"
,
itrack
);
36
AddString(items,
"ptype"
,
"%d"
,
ptype
);
37
AddString(items,
"QF"
,
"%d"
,
QF
);
38
}
39
};
40
41
#endif // _DCDCHit_
42
DCDCHit
Definition:
DCDCHit.h:14
DCDCHit::itrack
int itrack
Definition:
DCDCHit.h:25
DCDCHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DCDCHit.h:28
DCDCHit::amp
float amp
Definition:
DCDCHit.h:21
DCDCHit::t
float t
Definition:
DCDCHit.h:22
DCDCHit::ptype
int ptype
Definition:
DCDCHit.h:26
DCDCHit::ring
int ring
Definition:
DCDCHit.h:18
DCDCHit::q
float q
Definition:
DCDCHit.h:20
DCDCHit::d
float d
Definition:
DCDCHit.h:23
DCDCHit::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DCDCHit)
DCDCHit::straw
int straw
Definition:
DCDCHit.h:19
DCDCHit::QF
int QF
Definition:
DCDCHit.h:24
libraries
CDC
DCDCHit.h
Generated on Fri Jul 26 2019 14:00:26 for Hall-D Software by
1.8.5