CMS 3D CMS Logo

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 
11  public:
12 
13  typedef std::vector<CTPPSPixelDigi>::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  std::vector<CTPPSPixelDigi> container_;
27  Registry map_;
28 
29 };
30 
31 #endif
std::vector< CTPPSPixelDigi > container_
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
static std::string const input
Definition: EdmProvDump.cc:48
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)