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
DPSCTruthHit.h
Go to the documentation of this file.
1
// $Id$
2
3
#ifndef _DPSCTruthHit_
4
#define _DPSCTruthHit_
5
6
#include <JANA/JObject.h>
7
#include <JANA/JFactory.h>
8
9
class
DPSCTruthHit
:
public
JObject{
10
public
:
11
JOBJECT_PUBLIC
(
DPSCTruthHit
);
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 // _DPSCTruthHit_
39
track
Definition:
track.h:16
DPSCTruthHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DPSCTruthHit.h:24
DPSCTruthHit
Definition:
DPSCTruthHit.h:9
DPSCTruthHit::dEdx
float dEdx
Definition:
DPSCTruthHit.h:13
DPSCTruthHit::primary
bool primary
Definition:
DPSCTruthHit.h:14
DPSCTruthHit::itrack
int itrack
Definition:
DPSCTruthHit.h:16
DPSCTruthHit::z
float z
Definition:
DPSCTruthHit.h:20
E3
static double E3[100]
Definition:
JEventProcessor_BCAL_TimeCalibration.cc:138
DPSCTruthHit::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DPSCTruthHit)
DPSCTruthHit::y
float y
Definition:
DPSCTruthHit.h:19
DPSCTruthHit::t
float t
Definition:
DPSCTruthHit.h:21
DPSCTruthHit::track
int track
Definition:
DPSCTruthHit.h:15
DPSCTruthHit::column
int column
Definition:
DPSCTruthHit.h:22
DPSCTruthHit::x
float x
Definition:
DPSCTruthHit.h:18
DPSCTruthHit::ptype
int ptype
Definition:
DPSCTruthHit.h:17
libraries
PAIR_SPECTROMETER
DPSCTruthHit.h
Generated on Fri Jul 26 2019 14:00:58 for Hall-D Software by
1.8.5