CMS 3D CMS Logo

TrackCollectionFP420.h
Go to the documentation of this file.
1 #ifndef TrackCollectionFP420_h
2 #define TrackCollectionFP420_h
3 
5 #include <vector>
6 #include <map>
7 #include <utility>
8 
10 public:
11  typedef std::vector<TrackFP420>::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<TrackFP420> > TrackFP420Container;
17 
19  // TrackCollectionFP420() {
20  // container_.clear();
21  //}
22 
23  // virtual ~TrackCollectionFP420(){
24  // delete TrackCollectionFP420
25  // cout << " TrackCollectionFP420h: delete TrackCollectionFP420 " << 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<TrackFP420> container_;
37 
39 };
40 
41 #endif //
TrackCollectionFP420::put
void put(Range input, unsigned int stationID)
Definition: TrackCollectionFP420.cc:13
input
static const std::string input
Definition: EdmProvDump.cc:48
TrackCollectionFP420::ContainerIterator
std::vector< TrackFP420 >::const_iterator ContainerIterator
Definition: TrackCollectionFP420.h:11
TrackCollectionFP420::clear
void clear()
Definition: TrackCollectionFP420.cc:97
TrackCollectionFP420::Registry
std::map< unsigned int, IndexRange > Registry
Definition: TrackCollectionFP420.h:14
TrackCollectionFP420
Definition: TrackCollectionFP420.h:9
TrackCollectionFP420::TrackCollectionFP420
TrackCollectionFP420()
Definition: TrackCollectionFP420.h:18
TrackFP420.h
TrackCollectionFP420::map_
Registry map_
Definition: TrackCollectionFP420.h:36
TrackCollectionFP420::TrackFP420Container
std::map< unsigned int, std::vector< TrackFP420 > > TrackFP420Container
Definition: TrackCollectionFP420.h:16
TrackCollectionFP420::Range
std::pair< ContainerIterator, ContainerIterator > Range
Definition: TrackCollectionFP420.h:12
TrackCollectionFP420::stationIDs
const std::vector< unsigned int > stationIDs() const
Definition: TrackCollectionFP420.cc:128
TrackCollectionFP420::IndexRange
std::pair< unsigned int, unsigned int > IndexRange
Definition: TrackCollectionFP420.h:13
TrackCollectionFP420::container_
std::vector< TrackFP420 > container_
Definition: TrackCollectionFP420.h:35
TrackCollectionFP420::putclear
void putclear(Range input, unsigned int stationID)
Definition: TrackCollectionFP420.cc:98
TrackCollectionFP420::RegistryIterator
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
Definition: TrackCollectionFP420.h:15
TrackCollectionFP420::get
const Range get(unsigned int stationID) const
Definition: TrackCollectionFP420.cc:69
TrackCollectionFP420::trackMap_
TrackFP420Container trackMap_
Definition: TrackCollectionFP420.h:38