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
DFMWPCTruthHit.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DFMWPCTruthHit.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 _DFMWPCTruthHit_
9
#define _DFMWPCTruthHit_
10
11
#include <JANA/jerror.h>
12
13
class
DFMWPCTruthHit
:
public
JObject{
14
public
:
15
JOBJECT_PUBLIC
(
DFMWPCTruthHit
);
16
17
int
layer
;
// 1-8
18
int
wire
;
// 1-144
19
float
dE
;
// GeV
20
float
dx
;
// cm
21
float
t
;
// ns
22
23
void
toStrings
(vector<pair<string, string> >&items)
const
{
24
AddString(items,
"layer"
,
"%d"
,
layer
);
25
AddString(items,
"wire"
,
"%d"
,
wire
);
26
AddString(items,
"dE(keV)"
,
"%3.1f"
,
dE
*1.0E6);
27
AddString(items,
"dx"
,
"%3.2f"
,
dx
);
28
AddString(items,
"t"
,
"%3.3f"
,
t
);
29
}
30
31
};
32
33
#endif // _DFMWPCTruthHit_
34
DFMWPCTruthHit::dx
float dx
Definition:
DFMWPCTruthHit.h:20
DFMWPCTruthHit::t
float t
Definition:
DFMWPCTruthHit.h:21
DFMWPCTruthHit::dE
float dE
Definition:
DFMWPCTruthHit.h:19
DFMWPCTruthHit::wire
int wire
Definition:
DFMWPCTruthHit.h:18
DFMWPCTruthHit::layer
int layer
Definition:
DFMWPCTruthHit.h:17
DFMWPCTruthHit
Definition:
DFMWPCTruthHit.h:13
DFMWPCTruthHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DFMWPCTruthHit.h:23
DFMWPCTruthHit::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DFMWPCTruthHit)
libraries
FMWPC
DFMWPCTruthHit.h
Generated on Fri Jul 26 2019 14:00:49 for Hall-D Software by
1.8.5