CMS 3D CMS Logo

RecoCollectionFP420.h
Go to the documentation of this file.
1 #ifndef RecoCollectionFP420_h
2 #define RecoCollectionFP420_h
3 
5 #include <vector>
6 #include <map>
7 #include <utility>
8 
10 public:
11  typedef std::vector<RecoFP420>::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  typedef std::map<unsigned int, std::vector<RecoFP420> > RecoFP420Container;
17 
19  // RecoCollectionFP420() {
20  // container_.clear();
21  //}
22 
23  // virtual ~RecoCollectionFP420(){
24  // delete RecoCollectionFP420
25  // cout << " RecoCollectionFP420h: delete RecoCollectionFP420 " << endl;
26  // }
27 
28  void put(Range input, unsigned int stationID);
29  const Range get(unsigned int stationID) const;
30  const std::vector<unsigned int> stationIDs() const;
31  void putclear(Range input, unsigned int stationID);
32  void clear();
33 
34 private:
35  std::vector<RecoFP420> container_;
37 
39 };
40 
41 #endif //
RecoCollectionFP420::put
void put(Range input, unsigned int stationID)
Definition: RecoCollectionFP420.cc:13
input
static const std::string input
Definition: EdmProvDump.cc:48
RecoCollectionFP420::clear
void clear()
Definition: RecoCollectionFP420.cc:98
RecoCollectionFP420
Definition: RecoCollectionFP420.h:9
RecoCollectionFP420::RegistryIterator
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
Definition: RecoCollectionFP420.h:15
RecoCollectionFP420::RecoFP420Container
std::map< unsigned int, std::vector< RecoFP420 > > RecoFP420Container
Definition: RecoCollectionFP420.h:16
RecoCollectionFP420::ContainerIterator
std::vector< RecoFP420 >::const_iterator ContainerIterator
Definition: RecoCollectionFP420.h:11
RecoCollectionFP420::map_
Registry map_
Definition: RecoCollectionFP420.h:36
RecoCollectionFP420::Range
std::pair< ContainerIterator, ContainerIterator > Range
Definition: RecoCollectionFP420.h:12
RecoCollectionFP420::container_
std::vector< RecoFP420 > container_
Definition: RecoCollectionFP420.h:35
RecoFP420.h
RecoCollectionFP420::IndexRange
std::pair< unsigned int, unsigned int > IndexRange
Definition: RecoCollectionFP420.h:13
RecoCollectionFP420::trackMap_
RecoFP420Container trackMap_
Definition: RecoCollectionFP420.h:38
RecoCollectionFP420::putclear
void putclear(Range input, unsigned int stationID)
Definition: RecoCollectionFP420.cc:99
RecoCollectionFP420::RecoCollectionFP420
RecoCollectionFP420()
Definition: RecoCollectionFP420.h:18
RecoCollectionFP420::get
const Range get(unsigned int stationID) const
Definition: RecoCollectionFP420.cc:70
RecoCollectionFP420::stationIDs
const std::vector< unsigned int > stationIDs() const
Definition: RecoCollectionFP420.cc:129
RecoCollectionFP420::Registry
std::map< unsigned int, IndexRange > Registry
Definition: RecoCollectionFP420.h:14