CMS 3D CMS Logo

TrackCollectionFP420.h
Go to the documentation of this file.
1 #ifndef TrackCollectionFP420_h
2 #define TrackCollectionFP420_h
3 
5 #include <vector>
6 #include <map>
7 #include <utility>
8 
10 public:
11  typedef std::vector<TrackFP420>::const_iterator ContainerIterator;
12  typedef std::pair<ContainerIterator, ContainerIterator> Range;
13  typedef std::pair<unsigned int, unsigned int> IndexRange;
14  typedef std::map<unsigned int, IndexRange> Registry;
15  typedef std::map<unsigned int, IndexRange>::const_iterator RegistryIterator;
16  typedef std::map<unsigned int, std::vector<TrackFP420> > TrackFP420Container;
17 
19  // TrackCollectionFP420() {
20  // container_.clear();
21  //}
22 
23  // virtual ~TrackCollectionFP420(){
24  // delete TrackCollectionFP420
25  // cout << " TrackCollectionFP420h: delete TrackCollectionFP420 " << endl;
26  // }
27 
28  void put(Range input, unsigned int stationID);
29  const Range get(unsigned int stationID) const;
30  const std::vector<unsigned int> stationIDs() const;
31  void putclear(Range input, unsigned int stationID);
32  void clear();
33 
34 private:
35  std::vector<TrackFP420> container_;
37 
39 };
40 
41 #endif //
void putclear(Range input, unsigned int stationID)
std::pair< unsigned int, unsigned int > IndexRange
std::vector< TrackFP420 > container_
std::map< unsigned int, IndexRange > Registry
TrackFP420Container trackMap_
std::pair< ContainerIterator, ContainerIterator > Range
static std::string const input
Definition: EdmProvDump.cc:47
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
std::vector< TrackFP420 >::const_iterator ContainerIterator
void put(Range input, unsigned int stationID)
std::map< unsigned int, std::vector< TrackFP420 > > TrackFP420Container
const std::vector< unsigned int > stationIDs() const