CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
11  public:
12 
13  typedef std::vector<RecoFP420>::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<RecoFP420> > RecoFP420Container;
19 
21  // RecoCollectionFP420() {
22  // container_.clear();
23  //}
24 
25  // virtual ~RecoCollectionFP420(){
26  // delete RecoCollectionFP420
27  // cout << " RecoCollectionFP420h: delete RecoCollectionFP420 " << 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<RecoFP420> container_;
40 
42 };
43 
44 #endif //
45 
46 
std::pair< ContainerIterator, ContainerIterator > Range
std::map< unsigned int, std::vector< RecoFP420 > > RecoFP420Container
std::vector< RecoFP420 > container_
static std::string const input
Definition: EdmProvDump.cc:43
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_