Skip to content

Commit

Permalink
Merge pull request #12588 from makortel/fixPackedCandidateVertex76x
Browse files Browse the repository at this point in the history
Fix PackedCandidate vertex to post-packed value (76X)
  • Loading branch information
davidlange6 committed Dec 4, 2015
2 parents 505b7fa + 4e80f27 commit 91df80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/PatCandidates/interface/PackedCandidate.h
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ namespace pat {
void packVtx(bool unpackAfterwards=true) ;
void unpackVtx() const ;
void maybeUnpackBoth() const { if (!p4c_) unpack(); if (!vertex_) unpackVtx(); }
void packBoth() { pack(false); packVtx(false); delete p4_.exchange(nullptr); delete p4c_.exchange(nullptr); unpack(); unpackVtx(); } // do it this way, so that we don't loose precision on the angles before computing dxy,dz
void packBoth() { pack(false); packVtx(false); delete p4_.exchange(nullptr); delete p4c_.exchange(nullptr); delete vertex_.exchange(nullptr); unpack(); unpackVtx(); } // do it this way, so that we don't loose precision on the angles before computing dxy,dz
void unpackTrk() const ;

int8_t packedPuppiweight_;
Expand Down

0 comments on commit 91df80e

Please sign in to comment.