CMS 3D CMS Logo

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
PixelDigiCollection::IndexRange
std::pair< unsigned int, unsigned int > IndexRange
Definition: PixelDigiCollection.h:13
input
static const std::string input
Definition: EdmProvDump.cc:48
PixelDigiCollection::Range
std::pair< ContainerIterator, ContainerIterator > Range
Definition: PixelDigiCollection.h:12
PixelDigiCollection::RegistryIterator
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
Definition: PixelDigiCollection.h:15
PixelDigi.h
PixelDigiCollection::put
void put(Range input, unsigned int detID)
Definition: PixelDigiCollection.cc:5
PixelDigiCollection::PixelDigiCollection
PixelDigiCollection()
Definition: PixelDigiCollection.h:17
PixelDigiCollection
Definition: PixelDigiCollection.h:9
PixelDigiCollection::detIDs
const std::vector< unsigned int > detIDs() const
Definition: PixelDigiCollection.cc:55
PixelDigiCollection::Registry
std::map< unsigned int, IndexRange > Registry
Definition: PixelDigiCollection.h:14
PixelDigiCollection::map_
Registry map_
Definition: PixelDigiCollection.h:25
PixelDigiCollection::ContainerIterator
std::vector< PixelDigi >::const_iterator ContainerIterator
Definition: PixelDigiCollection.h:11
PixelDigiCollection::get
const Range get(unsigned int detID) const
Definition: PixelDigiCollection.cc:39
PixelDigiCollection::container_
std::vector< PixelDigi > container_
Definition: PixelDigiCollection.h:24