CMS 3D CMS Logo

ClusterCollectionFP420.h
Go to the documentation of this file.
1 #ifndef ClusterCollectionFP420_h
2 #define ClusterCollectionFP420_h
3 
5 #include <vector>
6 #include <map>
7 #include <utility>
8 
10 
11  public:
12 
13  typedef std::vector<ClusterFP420>::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<ClusterFP420> > ClusterFP420Container;
19 
21  // ClusterCollectionFP420() {
22  // container_.clear();
23  //}
24 
25 // virtual ~ClusterCollectionFP420(){
26  // delete ClusterCollectionFP420
27  // cout << " ClusterCollectionFP420h: delete ClusterCollectionFP420 " << endl;
28 // }
29 
30 
31  void put(Range input, unsigned int detID);
32  const Range get(unsigned int detID) const;
33  const std::vector<unsigned int> detIDs() const;
34  void putclear(Range input, unsigned int detID);
35  void clear();
36 
37  private:
38  std::vector<ClusterFP420> container_;
39  Registry map_;
40 
41  ClusterFP420Container clusterMap_;
42 };
43 
44 #endif //
45 
46 
std::pair< unsigned int, unsigned int > IndexRange
std::vector< ClusterFP420 > container_
std::vector< ClusterFP420 >::const_iterator ContainerIterator
void put(Range input, unsigned int detID)
static std::string const input
Definition: EdmProvDump.cc:44
std::map< unsigned int, std::vector< ClusterFP420 > > ClusterFP420Container
ClusterFP420Container clusterMap_
std::map< unsigned int, IndexRange > Registry
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
void putclear(Range input, unsigned int detID)
std::pair< ContainerIterator, ContainerIterator > Range
const std::vector< unsigned int > detIDs() const