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 
11  public:
12 
13  typedef std::vector<TrackFP420>::const_iterator ContainerIterator;
14  typedef std::pair<ContainerIterator, ContainerIterator> Range;
15  typedef std::pair<unsigned int, unsigned int> IndexRange;
16  typedef std::map<unsigned int, IndexRange> Registry;
17  typedef std::map<unsigned int, IndexRange>::const_iterator RegistryIterator;
18  typedef std::map< unsigned int, std::vector<TrackFP420> > TrackFP420Container;
19 
21  // TrackCollectionFP420() {
22  // container_.clear();
23  //}
24 
25  // virtual ~TrackCollectionFP420(){
26  // delete TrackCollectionFP420
27  // cout << " TrackCollectionFP420h: delete TrackCollectionFP420 " << endl;
28  // }
29 
30 
31  void put(Range input, unsigned int stationID);
32  const Range get(unsigned int stationID) const;
33  const std::vector<unsigned int> stationIDs() const;
34  void putclear(Range input, unsigned int stationID);
35  void clear();
36 
37  private:
38  std::vector<TrackFP420> container_;
39  Registry map_;
40 
41  TrackFP420Container trackMap_;
42 };
43 
44 #endif //
45 
46 
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_
const std::vector< unsigned int > stationIDs() const
std::pair< ContainerIterator, ContainerIterator > Range
static std::string const input
Definition: EdmProvDump.cc:48
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
std::vector< TrackFP420 >::const_iterator ContainerIterator
std::map< unsigned int, std::vector< TrackFP420 > > TrackFP420Container
void put(Range input, unsigned int stationID)