MpdFemtoCutMonitorCollection.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * \class MpdFemtoCutMonitorCollection
  3. * \brief Keeps collection of cut monitors
  4. *
  5. * The class keeps a collection of cut monitors stored as
  6. * STL vector
  7. *
  8. * \author Grigory Nigmatkulov (NRNU MEPhI)
  9. * \date May 18, 2019
  10. * \email nigmatkulov@gmail.com
  11. */
  12. #ifndef MpdFemtoCutMonitorCollection_h
  13. #define MpdFemtoCutMonitorCollection_h
  14. // C++ headers
  15. #include <vector>
  16. #include <iterator>
  17. //#include <memory> // for shared and unique pointers (should we use them?)
  18. #if !defined(ST_NO_NAMESPACES)
  19. using std::vector;
  20. #endif
  21. // MpdFemtoMaker headers
  22. class MpdFemtoBaseCutMonitor;
  23. #ifdef ST_NO_TEMPLATE_DEF_ARGS
  24. typedef vector<MpdFemtoBaseCutMonitor*, allocator<MpdFemtoBaseCutMonitor*> > MpdFemtoCutMonitorCollection;
  25. typedef vector<MpdFemtoBaseCutMonitor*, allocator<MpdFemtoBaseCutMonitor*> >::iterator MpdFemtoCutMonitorIterator;
  26. #else
  27. typedef vector<MpdFemtoBaseCutMonitor*> MpdFemtoCutMonitorCollection;
  28. typedef vector<MpdFemtoBaseCutMonitor*>::iterator MpdFemtoCutMonitorIterator;
  29. #endif
  30. #endif // #define MpdFemtoCutMonitorCollection_h