CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CTPPSPixelDigiCollection.h
Go to the documentation of this file.
1 #ifndef CTPPS_CTPPSDigi_CTPPSPixelDigiCollection_h
2 #define CTPPS_CTPPSDigi_CTPPSPixelDigiCollection_h
3 
5 #include <vector>
6 #include <map>
7 #include <utility>
8 
10 public:
11  typedef std::vector<CTPPSPixelDigi>::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<CTPPSPixelDigi> container_;
26 };
27 
28 #endif
std::vector< CTPPSPixelDigi > container_
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
static std::string const input
Definition: EdmProvDump.cc:47
std::vector< CTPPSPixelDigi >::const_iterator ContainerIterator
std::pair< ContainerIterator, ContainerIterator > Range
std::map< unsigned int, IndexRange > Registry
const std::vector< unsigned int > detIDs() const
std::pair< unsigned int, unsigned int > IndexRange
void put(Range input, unsigned int detID)