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
DFMWPCHit.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DFMWPCHit.h
4
// Created: Tue Jun 16 07:07:54 EDT 2015
5
// Creator: davidl (on Darwin harriet.jlab.org 13.4.0 i386)
6
//
7
8
#ifndef _DFMWPCHit_
9
#define _DFMWPCHit_
10
11
#include <JANA/jerror.h>
12
13
class
DFMWPCHit
:
public
JObject{
14
public
:
15
JOBJECT_PUBLIC
(
DFMWPCHit
);
16
17
int
layer
;
// 1-8
18
int
wire
;
// 1-144
19
float
dE
;
// energy in GeV
20
float
t
;
// time in ns
21
22
void
toStrings
(vector<pair<string, string> >&items)
const
{
23
AddString(items,
"layer"
,
"%d"
,
layer
);
24
AddString(items,
"wire"
,
"%d"
,
wire
);
25
AddString(items,
"dE(keV)"
,
"%3.1f"
,
dE
*1.0E6);
26
AddString(items,
"t"
,
"%3.3f"
,
t
);
27
}
28
29
};
30
31
#endif // _DFMWPCHit_
32
DFMWPCHit::dE
float dE
Definition:
DFMWPCHit.h:19
DFMWPCHit::t
float t
Definition:
DFMWPCHit.h:20
DFMWPCHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DFMWPCHit.h:22
DFMWPCHit::layer
int layer
Definition:
DFMWPCHit.h:17
DFMWPCHit::wire
int wire
Definition:
DFMWPCHit.h:18
DFMWPCHit::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DFMWPCHit)
DFMWPCHit
Definition:
DFMWPCHit.h:13
libraries
FMWPC
DFMWPCHit.h
Generated on Fri Jul 26 2019 14:00:49 for Hall-D Software by
1.8.5