CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
11  typedef std::vector<PixelDigi>::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 
18 
19  void put(Range input, unsigned int detID);
20  const Range get(unsigned int detID) const;
21  const std::vector<unsigned int> detIDs() const;
22 
23 private:
24  std::vector<PixelDigi> container_;
26 };
27 
28 #endif // TRACKINGOBJECTS_PIXELDIGICOLLECTION_H
std::map< unsigned int, IndexRange > Registry
static std::string const input
Definition: EdmProvDump.cc:47
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