15 #include <JANA/JObject.h>
16 #include <JANA/JFactory.h>
35 double attenutation_length,
double c_effective,
double track_p0,
double track_p1,
double track_p2,
38 float E()
const {
return m_E; }
39 float E_US()
const {
return m_E_US; }
40 float E_DS()
const {
return m_E_DS; }
41 float t()
const {
return m_t; }
42 float t_US()
const {
return m_t_US; }
43 float t_DS()
const {
return m_t_DS; }
47 float tInnerRadius()
const;
50 float rho()
const {
return m_rho; }
51 float sigRho()
const {
return m_sig_rho; }
53 float theta()
const {
return m_theta; }
56 float phi()
const {
return m_phi; }
57 float sigPhi()
const {
return m_sig_phi; }
60 float z()
const {
return m_z; }
61 float sigZ()
const {
return m_sig_z; }
62 float r()
const {
return m_r; }
64 int module()
const {
return m_module;}
65 int layer()
const {
return m_layer;}
66 int sector()
const {
return m_sector;}
72 void toStrings(vector<pair<string,string> > &items)
const {
73 AddString(items,
"E(GeV)",
"%5.3f", m_E);
74 AddString(items,
"t(ns)",
"%5.1f", m_t);
75 AddString(items,
"z(cm)",
"%5.1f", m_z);
76 AddString(items,
"r(cm)",
"%5.1f", m_r);
77 AddString(items,
"phi",
"%5.3f", m_phi);
78 AddString(items,
"module",
"%i", m_module);
79 AddString(items,
"layer",
"%i", m_layer);
80 AddString(items,
"sector",
"%i", m_sector);
86 void convertCylindricalToSpherical();
float m_sig_r
distance from beam axis
float m_E
Energy of the Point used in higher objects.
float m_sig_rho
spherical distance wrt target center
float m_zLocal
z-coordinate relative to the center of BCAL
float m_zGlobal
z-coordinate relative to the beginning of the BCAL
float m_E_DS
Attenuation corrected Energy of DS Hit that contributed to the Point.
float t_US() const
Return the time of US Hit.
float m_t_US
Time of DS Hit that contributed to the Point.
float m_sig_phi
azimuthal angle
void toStrings(vector< pair< string, string > > &items) const
float E_DS() const
Return the attenuation corrected Energy of DS Hit.
const DBCALGeometry * m_BCALGeom
float m_t_DS
Time of DS Hit that contributed to the Point.
float E_US() const
Return the attenuation corrected Energy of US Hit.
float m_E_US
Attenuation corrected Energy of US Hit that contributed to the Point.
float t_DS() const
Return the time of DS Hit.