MpdFemtoParticleCollection.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * \class MpdFemtoParticleCollection
  3. * \brief Holds collection of particles
  4. *
  5. * Holds collection (STL list) of particles
  6. *
  7. * \author Grigory Nigmatkulov (NRNU MEPhI)
  8. * \date May 18, 2019
  9. * \email nigmatkulov@gmail.com
  10. */
  11. #ifndef MpdFemtoParticleCollection_h
  12. #define MpdFemtoParticleCollection_h
  13. // C++ headers
  14. #include <list>
  15. // MpdFemtoMaker headers
  16. #include "MpdFemtoParticle.h"
  17. #if !defined(ST_NO_NAMESPACES)
  18. using std::list;
  19. #endif
  20. #ifdef ST_NO_TEMPLATE_DEF_ARGS
  21. typedef list<MpdFemtoParticle*, allocator<MpdFemtoParticle*> > MpdFemtoParticleCollection;
  22. typedef list<MpdFemtoParticle*, allocator<MpdFemtoParticle*> >::iterator MpdFemtoParticleIterator;
  23. typedef list<MpdFemtoParticle*, allocator<MpdFemtoParticle*> >::const_iterator MpdFemtoParticleConstIterator;
  24. #else
  25. typedef list<MpdFemtoParticle*> MpdFemtoParticleCollection;
  26. typedef list<MpdFemtoParticle*>::iterator MpdFemtoParticleIterator;
  27. typedef list<MpdFemtoParticle*>::const_iterator MpdFemtoParticleConstIterator;
  28. #endif
  29. #endif // #define MpdFemtoParticleCollection_h