Commit in slicPandora/src on MAIN | |||
SimpleTrackProcessor.cpp | +4 | -1 | 1.10 -> 1.11 |
fix sign of pdgid
diff -u -r1.10 -r1.11 --- SimpleTrackProcessor.cpp 2 Aug 2010 22:00:55 -0000 1.10 +++ SimpleTrackProcessor.cpp 2 Aug 2010 22:03:48 -0000 1.11 @@ -63,7 +63,10 @@
// FIXME Particle Id hard-coded to charged pion. #if PANDORA_RELEASE >= 1
- trackParameters.m_particleId = 211;
+ if (signedCurvature > 0.) + trackParameters.m_particleId = 211; + else + trackParameters.m_particleId = -211;
#endif // FIXME Next three boolean parameters are hard-coded.