Skip to content

Commit 14d8bdf

Browse files
committed
rm genid
1 parent 0344164 commit 14d8bdf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

larcv/core/DataFormat/Particle.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ namespace larcv {
3737
, _current_type (-1)
3838
, _interaction_type (-1)
3939
, _trackid (kINVALID_UINT)
40-
, _genid (kINVALID_UINT)
4140
, _pdg (0)
4241
, _px (0.)
4342
, _py (0.)
@@ -74,7 +73,6 @@ namespace larcv {
7473
inline short nu_interaction_type () const { return _interaction_type; }
7574
// particle's info getter
7675
inline unsigned int track_id () const { return _trackid; }
77-
inline unsigned int gen_id () const { return _genid; }
7876
inline int pdg_code () const { return _pdg; }
7977
inline double px () const { return _px; }
8078
inline double py () const { return _py; }
@@ -139,7 +137,6 @@ namespace larcv {
139137
inline void nu_interaction_type (short itype) {_interaction_type = itype; }
140138
// particle's info setter
141139
inline void track_id (unsigned int id ) { _trackid = id; }
142-
inline void gen_id (unsigned int id ) { _genid = id; }
143140
inline void pdg_code (int code) { _pdg = code; }
144141
inline void momentum (double px, double py, double pz) { _px = px; _py = py; _pz = pz; }
145142
inline void end_momentum (double end_px, double end_py, double end_pz) { _end_px = end_px; _end_py = end_py; _end_pz = end_pz; }
@@ -192,7 +189,6 @@ namespace larcv {
192189
short _interaction_type; ///< if neutrino, shows interaction GENIE code. else kINVALID_USHORT
193190

194191
unsigned int _trackid; ///< Geant4 track id
195-
unsigned int _genid; ///< Original generator ID, if different from Geant4 one (e.g.: GENIE particle ID)
196192
int _pdg; ///< PDG code
197193
double _px,_py,_pz; ///< (x,y,z) component of particle's initial momentum
198194
double _end_px,_end_py,_end_pz; ///< (x,y,z) component of particle's final momentum

0 commit comments

Comments
 (0)