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
DMCTrajectoryPoint.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DMCTrajectoryPoint.h
4
// Created: Mon Jun 12 09:29:58 EDT 2006
5
// Creator: davidl (on Darwin swire-b241.jlab.org 8.6.0 powerpc)
6
//
7
8
#ifndef _DMCTrajectoryPoint_
9
#define _DMCTrajectoryPoint_
10
11
#include "JANA/JObject.h"
12
#include "JANA/JFactory.h"
13
14
class
DMCTrajectoryPoint
:
public
jana::JObject{
15
public
:
16
JOBJECT_PUBLIC
(
DMCTrajectoryPoint
);
17
18
float
x
,
y
,
z
,
t
;
19
float
px
,
py
,
pz
;
20
float
E
,
dE
;
21
int
primary_track
;
22
int
track
;
23
int
part
;
24
float
radlen
;
25
float
step
;
26
int
mech
;
27
28
void
toStrings
(vector<pair<string,string> > &items)
const
{
29
AddString(items,
"x"
,
"%1.3f"
,
x
);
30
AddString(items,
"y"
,
"%1.3f"
,
y
);
31
AddString(items,
"z"
,
"%1.3f"
,
z
);
32
AddString(items,
"t"
,
"%1.3f"
,
t
/1.0
E
-9);
33
AddString(items,
"px"
,
"%1.3f"
,
px
);
34
AddString(items,
"py"
,
"%1.3f"
,
py
);
35
AddString(items,
"pz"
,
"%1.3f"
,
pz
);
36
AddString(items,
"E"
,
"%1.3f"
,
E
);
37
AddString(items,
"dE(MeV)"
,
"%1.3f"
, 1000.0*
dE
);
38
AddString(items,
"primary"
,
"%d"
,
primary_track
);
39
AddString(items,
"track"
,
"%d"
,
track
);
40
AddString(items,
"part"
,
"%d"
,
part
);
41
AddString(items,
"radlen"
,
"%1.3f"
,
radlen
);
42
AddString(items,
"step"
,
"%1.3f"
,
step
);
43
AddString(items,
"mech"
,
"%d"
,
mech
);
44
}
45
};
46
47
#endif // _DMCTrajectoryPoint_
48
track
Definition:
track.h:16
DMCTrajectoryPoint::E
float E
Definition:
DMCTrajectoryPoint.h:20
DMCTrajectoryPoint::py
float py
Definition:
DMCTrajectoryPoint.h:19
DMCTrajectoryPoint::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DMCTrajectoryPoint.h:28
DMCTrajectoryPoint::mech
int mech
Definition:
DMCTrajectoryPoint.h:26
DMCTrajectoryPoint::pz
float pz
Definition:
DMCTrajectoryPoint.h:19
DMCTrajectoryPoint::y
float y
Definition:
DMCTrajectoryPoint.h:18
DMCTrajectoryPoint::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DMCTrajectoryPoint)
DMCTrajectoryPoint::dE
float dE
Definition:
DMCTrajectoryPoint.h:20
DMCTrajectoryPoint::t
float t
Definition:
DMCTrajectoryPoint.h:18
DMCTrajectoryPoint::track
int track
Definition:
DMCTrajectoryPoint.h:22
DMCTrajectoryPoint::primary_track
int primary_track
Definition:
DMCTrajectoryPoint.h:21
DMCTrajectoryPoint::x
float x
Definition:
DMCTrajectoryPoint.h:18
DMCTrajectoryPoint::step
float step
Definition:
DMCTrajectoryPoint.h:25
DMCTrajectoryPoint::part
int part
Definition:
DMCTrajectoryPoint.h:23
DMCTrajectoryPoint
Definition:
DMCTrajectoryPoint.h:14
DMCTrajectoryPoint::z
float z
Definition:
DMCTrajectoryPoint.h:18
DMCTrajectoryPoint::px
float px
Definition:
DMCTrajectoryPoint.h:19
DMCTrajectoryPoint::radlen
float radlen
Definition:
DMCTrajectoryPoint.h:24
libraries
TRACKING
DMCTrajectoryPoint.h
Generated on Fri Jul 26 2019 14:00:56 for Hall-D Software by
1.8.5