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 public:
11  typedef std::vector<ClusterFP420>::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<ClusterFP420> > ClusterFP420Container;
17 
19  // ClusterCollectionFP420() {
20  // container_.clear();
21  //}
22 
23  // virtual ~ClusterCollectionFP420(){
24  // delete ClusterCollectionFP420
25  // cout << " ClusterCollectionFP420h: delete ClusterCollectionFP420 " << endl;
26  // }
27 
28  void put(Range input, unsigned int detID);
29  const Range get(unsigned int detID) const;
30  const std::vector<unsigned int> detIDs() const;
31  void putclear(Range input, unsigned int detID);
32  void clear();
33 
34 private:
35  std::vector<ClusterFP420> container_;
37 
39 };
40 
41 #endif //
std::pair< unsigned int, unsigned int > IndexRange
std::vector< ClusterFP420 > container_
std::vector< ClusterFP420 >::const_iterator ContainerIterator
void put(Range input, unsigned int detID)
std::map< unsigned int, std::vector< ClusterFP420 > > ClusterFP420Container
static std::string const input
Definition: EdmProvDump.cc:47
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