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
DTPOLHit.h
Go to the documentation of this file.
1
#ifndef _DTPOLHit_
2
#define _DTPOLHit_
3
4
#include <JANA/JObject.h>
5
#include <JANA/JFactory.h>
6
7
class
DTPOLHit
:
public
jana::JObject{
8
public
:
9
JOBJECT_PUBLIC
(
DTPOLHit
);
10
11
int
sector
;
// sector number 1-32
12
double
phi
;
13
int
ring
;
// ring number 1-24
14
double
theta
;
15
double
pulse_peak
;
16
double
integral
;
17
double
dE
;
// Energy loss in keV
18
double
t
;
19
20
void
toStrings
(vector<pair<string,string> > &items)
const
{
21
AddString(items,
"sector"
,
"%d"
,
sector
);
22
AddString(items,
"phi"
,
"%3.3f"
,
phi
);
23
AddString(items,
"ring"
,
"%d"
,
ring
);
24
AddString(items,
"theta"
,
"%3.3f"
,
theta
);
25
AddString(items,
"pulse_peak"
,
"%3.3f"
,
pulse_peak
);
26
AddString(items,
"integral"
,
"%3.3f"
,
integral
);
27
AddString(items,
"dE"
,
"%3.3f"
,
dE
);
28
AddString(items,
"t"
,
"%3.3f"
,
t
);
29
}
30
};
31
32
#endif // _DTPOLHit_
DTPOLHit::sector
int sector
Definition:
DTPOLHit.h:11
DTPOLHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DTPOLHit.h:20
DTPOLHit::dE
double dE
Definition:
DTPOLHit.h:17
DTPOLHit::ring
int ring
Definition:
DTPOLHit.h:13
DTPOLHit::pulse_peak
double pulse_peak
Definition:
DTPOLHit.h:15
DTPOLHit::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DTPOLHit)
DTPOLHit
Definition:
DTPOLHit.h:7
DTPOLHit::phi
double phi
Definition:
DTPOLHit.h:12
DTPOLHit::integral
double integral
Definition:
DTPOLHit.h:16
DTPOLHit::t
double t
Definition:
DTPOLHit.h:18
DTPOLHit::theta
double theta
Definition:
DTPOLHit.h:14
libraries
TPOL
DTPOLHit.h
Generated on Fri Jul 26 2019 14:01:29 for Hall-D Software by
1.8.5