CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RecoCollectionFP420.h
Go to the documentation of this file.
1 #ifndef RecoCollectionFP420_h
2 #define RecoCollectionFP420_h
3 
5 #include <vector>
6 #include <map>
7 #include <utility>
8 
10 public:
11  typedef std::vector<RecoFP420>::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<RecoFP420> > RecoFP420Container;
17 
19  // RecoCollectionFP420() {
20  // container_.clear();
21  //}
22 
23  // virtual ~RecoCollectionFP420(){
24  // delete RecoCollectionFP420
25  // cout << " RecoCollectionFP420h: delete RecoCollectionFP420 " << 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<RecoFP420> container_;
37 
39 };
40 
41 #endif //
std::pair< ContainerIterator, ContainerIterator > Range
std::vector< RecoFP420 > container_
static std::string const input
Definition: EdmProvDump.cc:47
std::vector< RecoFP420 >::const_iterator ContainerIterator
const std::vector< unsigned int > stationIDs() const
void putclear(Range input, unsigned int stationID)
void put(Range input, unsigned int stationID)
std::pair< unsigned int, unsigned int > IndexRange
std::map< unsigned int, IndexRange > Registry
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
RecoFP420Container trackMap_
std::map< unsigned int, std::vector< RecoFP420 > > RecoFP420Container