Skip to content

Commit 7c3f8ab

Browse files
authored
Merge pull request #62 from DUNE/feature/add-track-charge
Added 'charge' variable to SRTrack class
2 parents eddfcf3 + 499e358 commit 7c3f8ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

duneanaobj/StandardRecord/SRTrack.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ namespace caf
3131
// Track characteristics
3232
float qual = NaN; ///< Reco-specific quality metric (in TMS, equivalent to "hits in track"/"total hits in event"
3333

34+
short int charge = NaN; ///< Reconstructed charge for the track, values are (-1, 0, 1) for negative/neutral/positive tracks
35+
3436
float len_gcm2 = NaN; ///< Track length in g/cm2
3537
float len_cm = NaN; ///< Track length in centimeter (actual physical distance)
3638

0 commit comments

Comments
 (0)