KFMCParticle.cxx 794 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //----------------------------------------------------------------------------
  2. // Implementation of the KFParticle class
  3. // .
  4. // @author I.Kisel, I.Kulakov, M.Zyzak
  5. // @version 1.0
  6. // @since 20.08.13
  7. //
  8. //
  9. // -= Copyright &copy ALICE HLT and CBM L1 Groups =-
  10. //____________________________________________________________________________
  11. #include "KFMCParticle.h"
  12. #ifndef KFParticleStandalone
  13. ClassImp(KFMCParticle)
  14. #endif
  15. KFMCParticle::KFMCParticle() :fDaughterIds(), fMCTrackID(-1), fMotherId(-1), fPDG(0), fInitialParticleId(-1)
  16. {
  17. for(int i=0; i<3; i++)
  18. {
  19. fIsReconstructable[i] = 0;
  20. fIsV0[i] = 0;
  21. }
  22. fIsReconstructable[3] = 0;
  23. fIsReconstructable[4] = 0;
  24. }
  25. KFMCParticle::~KFMCParticle()
  26. {
  27. }
  28. void KFMCParticle::AddDaughter( int i )
  29. {
  30. fDaughterIds.push_back(i);
  31. }