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
DPSTruthHit.h
Go to the documentation of this file.
1
// $Id$
2
3
#ifndef _DPSTruthHit_
4
#define _DPSTruthHit_
5
6
#include <JANA/JObject.h>
7
#include <JANA/JFactory.h>
8
9
class
DPSTruthHit
:
public
JObject{
10
public
:
11
JOBJECT_PUBLIC
(
DPSTruthHit
);
12
13
float
dEdx
;
14
bool
primary
;
15
int
track
;
16
int
itrack
;
17
int
ptype
;
18
float
x
;
19
float
y
;
20
float
z
;
21
float
t
;
22
int
column
;
23
24
void
toStrings
(vector<pair<string,string> > &items)
const
{
25
AddString(items,
"track"
,
"%d"
,
track
);
26
AddString(items,
"itrack"
,
"%d"
,
itrack
);
27
AddString(items,
"primary"
,
"%d"
,
primary
);
28
AddString(items,
"ptype"
,
"%d"
,
ptype
);
29
AddString(items,
"dEdx(MeV/cm)"
,
"%1.3f"
,
dEdx
*1.0
E3
);
30
AddString(items,
"t"
,
"%3.2f"
,
t
);
31
AddString(items,
"x"
,
"%3.1f"
,
x
);
32
AddString(items,
"y"
,
"%3.1f"
,
y
);
33
AddString(items,
"z"
,
"%3.1f"
,
z
);
34
AddString(items,
"column"
,
"%d"
,
column
);
35
}
36
};
37
38
#endif // _DPSTruthHit_
39
track
Definition:
track.h:16
DPSTruthHit::t
float t
Definition:
DPSTruthHit.h:21
DPSTruthHit
Definition:
DPSTruthHit.h:9
DPSTruthHit::ptype
int ptype
Definition:
DPSTruthHit.h:17
DPSTruthHit::z
float z
Definition:
DPSTruthHit.h:20
DPSTruthHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DPSTruthHit.h:24
E3
static double E3[100]
Definition:
JEventProcessor_BCAL_TimeCalibration.cc:138
DPSTruthHit::y
float y
Definition:
DPSTruthHit.h:19
DPSTruthHit::x
float x
Definition:
DPSTruthHit.h:18
DPSTruthHit::dEdx
float dEdx
Definition:
DPSTruthHit.h:13
DPSTruthHit::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DPSTruthHit)
DPSTruthHit::column
int column
Definition:
DPSTruthHit.h:22
DPSTruthHit::primary
bool primary
Definition:
DPSTruthHit.h:14
DPSTruthHit::itrack
int itrack
Definition:
DPSTruthHit.h:16
DPSTruthHit::track
int track
Definition:
DPSTruthHit.h:15
libraries
PAIR_SPECTROMETER
DPSTruthHit.h
Generated on Fri Jul 26 2019 14:01:14 for Hall-D Software by
1.8.5