CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelDigiCollection.h
Go to the documentation of this file.
1 #ifndef TRACKINGOBJECTS_PIXELDIGICOLLECTION_H
2 #define TRACKINGOBJECTS_PIXELDIGICOLLECTION_H
3 
5 #include <vector>
6 #include <map>
7 #include <utility>
8 
10 
11  public:
12 
13  typedef std::vector<PixelDigi>::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 
20 
21  void put(Range input, unsigned int detID);
22  const Range get(unsigned int detID) const;
23  const std::vector<unsigned int> detIDs() const;
24 
25  private:
26  mutable std::vector<PixelDigi> container_;
27  mutable Registry map_;
28 
29 };
30 
31 #endif // TRACKINGOBJECTS_PIXELDIGICOLLECTION_H
32 
33 
std::map< unsigned int, IndexRange > Registry
static std::string const input
Definition: EdmProvDump.cc:44
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
std::vector< PixelDigi > container_
std::pair< ContainerIterator, ContainerIterator > Range
void put(Range input, unsigned int detID)
std::vector< PixelDigi >::const_iterator ContainerIterator
const std::vector< unsigned int > detIDs() const
std::pair< unsigned int, unsigned int > IndexRange