CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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_;
40 
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:43
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