Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackSeedContainer.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrackSeedContainer.h
1 #ifndef TRACKBASEHISTORIC_TRACKSEEDCONTAINER_H
2 #define TRACKBASEHISTORIC_TRACKSEEDCONTAINER_H
3 
4 #include "TrackSeed.h"
5 
6 #include <phool/PHObject.h>
7 
8 #include <iostream>
9 #include <vector>
10 
11 
13 {
14  public:
15  typedef std::vector<TrackSeed*> Container;
16  typedef std::vector<TrackSeed*>::const_iterator ConstIter;
17  typedef std::vector<TrackSeed*>::iterator Iter;
18 
19  ~TrackSeedContainer() override {}
20 
21  void identify(std::ostream& os = std::cout) const override
22  {
23  os << "TrackSeedContainer base class" << std::endl;
24  }
25  int isValid() const override { return 0; }
26  PHObject* CloneMe() const override { return nullptr; }
27 
28  virtual bool empty() const { return true; }
29  virtual std::size_t size() const { return 0; }
30  virtual void clear() {}
31 
32  virtual const TrackSeed* get(const std::size_t) const { return nullptr; }
33  virtual TrackSeed* get(const std::size_t) { return nullptr; }
34  virtual TrackSeed* insert(const TrackSeed*) { return nullptr; }
35  virtual void erase(const std::size_t) {}
36 
39  virtual std::size_t index(ConstIter) const { return 0; }
40  virtual std::size_t index(Iter) const { return 0; }
41 
42  virtual ConstIter begin() const;
43  virtual ConstIter find(const std::size_t key) const;
44  virtual std::size_t find(const TrackSeed*) const { return 0; }
45  virtual ConstIter end() const;
46 
47  virtual Iter begin();
48  virtual Iter find(const std::size_t key);
49  virtual std::size_t find(const TrackSeed*) { return 0; }
50  virtual Iter end();
51 
52  protected:
54 
55  private:
57 };
58 
59 #endif