Skip to content

Commit b8aecb7

Browse files
committed
adding efield and phi to SRCaloPoint
1 parent a2e373f commit b8aecb7

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

sbnanaobj/StandardRecord/SRCaloPoint.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ namespace caf
1515
dedx(std::numeric_limits<float>::signaling_NaN()),
1616
pitch(std::numeric_limits<float>::signaling_NaN()),
1717
t(std::numeric_limits<float>::signaling_NaN()),
18+
efield(std::numeric_limits<float>::signaling_NaN()),
19+
phi(std::numeric_limits<float>::signaling_NaN()),
1820
x(std::numeric_limits<float>::signaling_NaN()),
1921
y(std::numeric_limits<float>::signaling_NaN()),
2022
z(std::numeric_limits<float>::signaling_NaN()),

sbnanaobj/StandardRecord/SRCaloPoint.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ namespace caf
2020
float dedx; //!< dQ/dx [ADC/cm] -- pre calibration and electron lifetime correction
2121
float pitch; //!< Track pitch [cm]
2222
float t; //!< Time of deposition [ticks]
23+
float efield; //! |E| [kV/cm]
24+
float phi; //! angle between the E-field and track dir for the hit, used in the GnocchiCalorimetry module
2325
// NOTE: flatten-caf seems to have trouble with nesting the point
2426
// inside a SRVector3D -- so just expose x/y/z out here
2527
float x; //!< X-Position of deposition [cm]

0 commit comments

Comments
 (0)